joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ffd1c
Capabilities:
Encode data using xor

Disassembly:
lea eax, [edx + edx*4 + 0x45b03435]
mov dword [esp + eax - 0x45b03435], edx
mov word [ebp + edx*4], cx
pop edx
pop edx
pop eax
pop edx
pop edx
pop ecx
jns fcn.10279658

Function at 0x1024a792
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp]
mov edx, 0x2498c733
add dx, dx
lea ebp, [ebp + edx*2 - 0x49311cc8]
xor eax, ebx
mov ecx, edx
rol edx, cl
lea eax, [edx + eax - 0x3358e99e]
neg eax
dec edx
rol eax, 1
inc edx
push ecx
lea eax, [eax + edx - 0x72a4d096]
xor cl, ch
adc ecx, ecx
sal edx, cl
xor ebx, eax
add edi, eax
xchg dword [esp + ecx - 0x49311dd0], ecx
add dl, byte [esi + ecx*2 - 0x49311ccc]
mov al, byte [ecx + esi - 0x24988e64]
lea esi, [esi + ecx*2 - 0x49311cca]
sub ecx, ecx
and dl, al
call fcn.101f4e8d
jmp 0x1026d7b8
mov eax, dword [esi]
mov edx, dword [eax]
pop eax
mov dword [esi + eax*2 - 0x6936da44], edx
ror cl, 0x82
rol eax, cl
mov eax, dword [edi]
adc edi, 4
movsx edx, cx
push ecx
not edx
xor eax, ebx
neg dword [esp + edx*2 - 0x5222]
dec eax
bswap eax
ror dword [esp + edx*2 - 0x5222], 0xb3
ror eax, 3
neg dword [esp + edx*8 - 0x14888]
lea eax, [eax + ecx - 0x403bb068]
jg 0x102b2783
sar dl, 0xa2
neg eax
bswap edx
pop ecx
call fcn.10270b21
mov byte [edx + eax - 0x75a014a2], cl
movsx edx, word [esp + eax - 0x75a014a2]
mov edx, dword [ebp + edx*2 - 0x1562]
lea ebp, [ebp + eax - 0x75a0149e]
call fcn.101c6bcd
lea edx, [edx + ecx*8 - 0x56342a2f]
lea eax, [ecx*4 + 0x1a3029a0]
rol cl, 0x61
jo 0x1020b743
neg edx
xor edx, 0xe016199
mov dword [esp + ecx - 0x301fd], 0x4190c429
nop
inc ecx
dec ax
jp 0x102078f7
ror edx, 2
xor edx, 0x3bbffdb4
call fcn.10297826
xor ah, byte [eax - 0x34e1513b]
push ecx
and ebp, dword [ebx]
push ecx
mov word [esi], ss
sub eax, 0xa3e9513b
js 0x1024a7ba
scasb al, byte es:[edi]
in al, 0x1e
pushal
les ebp, [esi - 0x51314978]
test dword [0xaec3e5af], esi
adc al, 0xc0
shr dword [esi + 0x39441248], 0x51
add dword [ebx + 0x29], ecx
fsubr qword [esi - 0x399f89c4]
scasb al, byte es:[edi]
in eax, dx
cmpsb byte [esi], byte es:[edi]
mov edx, 0x4753aec6
outsb dx, byte [esi]
scasb al, byte es:[edi]
invalid
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, 0x6e8d4286
mov dword [eax + esi - 0x6e8d4286], edx
lea edx, [eax*2 - 0x3fdaf7cd]
xor dx, dx
movsx ecx, dl
mov edx, dword [edi + eax - 0x6e8d4286]
lea edi, [eax + edi - 0x6e8d4282]
dec cl
xor edx, ebx
sub cl, 0x8a
dec edx
dec ecx
call fcn.102a2148
jmp 0x101eec11
mov dword [esp + edx - 0x8c9a], edi
ret

Function at 0x1027fe30
Capabilities:
Authenticate hmac

Disassembly:
mov eax, dword [ebp]
add ebp, 4
xor eax, ebx
rol ecx, cl
ror eax, 1
inc edx
mov dword [esp + ecx - 0xaada1b1], 0xf732c822
bswap eax
ror byte [esp + ecx*2 - 0x155b435f], 0x62
lea eax, [eax + ecx*4 + 0x5868206e]
and ecx, dword [esp + ecx - 0xaada1b1]
not eax
lea eax, [eax + ecx*2 + 0x7e55b159]
bswap eax
rol eax, 3
neg cl
xadd cx, dx
inc ecx
xor ebx, eax
add edi, eax
xchg dword [esp + ecx - 0x82052c5], ecx
rol byte [esp + 2], 0xc1
mov eax, dword [esi]
inc word [esp + 1]
mov byte [esp + 3], ch
adc esi, 4
rol byte [esp + 1], 0x23
call fcn.102a3f97
Function at 0x102943be
Capabilities:
Encode data using base64

Disassembly:
rol eax, 3
call fcn.10289625
xor eax, ebx
inc eax
lea edx, [ecx + ecx - 0x23f3a260]
sub ecx, dword [esp]
neg byte [esp]
ror eax, 2
not eax
shl word [esp], 0x41
sal dx, 0x43
rol eax, 1
xor ebx, eax
neg cl
add esi, eax
movzx eax, word [esp]
sub edx, 0xd291d3a3
not dword [esp + edx - 0x978f95d]
mov ecx, edi
shl dl, 0x61
lea edi, [edi + edx - 0x978f9bc]
mov word [edi + edx*8 - 0x4bc7cdd0], cx
jne 0x102978f8

Function at 0x102a04a8
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
lea eax, [edx + edx*2 - 0x55edcce8]
sbb esi, 1
movzx edx, byte [esi]
inc eax
xor dl, bl
jmp 0x1026f0e3
bswap ecx
xor edx, ebx
inc cl
xor edx, 0xf49a93bb
call fcn.10231ced
xchg byte [esp + edx - 0x400d962e], dl
rol eax, 3
bswap eax
mov dword [esp + edx - 0x400d9619], edx
xor ebx, eax
add edi, eax
ror byte [esp + edx - 0x400d9618], 1
mov cx, word [ebp + edx - 0x400d9619]
and dword [esp + edx - 0x400d9619], edx
push edx
shl edx, 0xf3
adc ebp, 2
neg dx
jno 0x101d2aa7
mov eax, 0x503db6a1
mov eax, dword [esi + eax - 0x503db6a1]
mov edx, 0x7f11b6b0
movsx ecx, dx
inc edx
mov ecx, dword [esi + edx - 0x7f11b6ad]
ror dx, 0x26
lea esi, [esi + edx - 0x7f11c6d6]
ror edx, 0x96
adc eax, ecx
movsx ecx, dx
lea ecx, [ecx + ecx*2 + 0x1414cf2e]
mov dword [esi + edx - 0x471b69fc], eax
lea eax, [ecx - 0x20400775]
lea edi, [edi + edx - 0x471b6a00]
sal ecx, cl
ror edx, 0xfe
ror edx, cl
mov edx, dword [ecx + edi - 0x50583488]
and eax, ecx
jge 0x10244116
inc eax
call fcn.102a5f39

Function at 0x102a054e
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
mov bp, word [eax + ebp - 0x22da0000]
mov dword [esp + eax - 0x22d9fffc], 0x4fb2b51a
neg edx
pop edx
pop eax
pop eax
pop ecx
jns fcn.10279658
Function at 0x406a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp ah, 0xa
add byte [edx], al
mov esp, ebp
fst st(1)
or byte [eax], al
mov eax, dword [ebp + 8]
mov es, eax
jne 0x406a27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
div dword [eax]
jo 0x40699a
sub dword [ecx], edx
insb byte es:[edi], dx
dec edi
nop
pushal
nop
jmp 0x406a15
xor edx, edx
nop
jmp 0x406a23
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov ebp, esp
nop
jmp 0x406a3a
mov edx, dword [edx + 0x14]
nop
jmp 0x406a4c

Function at 0x777c5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shr ecx, 2
xor dword [edx], eax
add edx, 4
dec ecx
jne 0x777c73
pop ebp
ret 0xc

Function at 0x777d22
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x777d53
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x777d31
add dl, dl
jne 0x777d66
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x777dd6
xor eax, eax
add dl, dl
jne 0x777d7b
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x777eab
add dl, dl
jne 0x777d8e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x777d9d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x777dac
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x777dbb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x777dc9
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x777d46
mov eax, 1
add dl, dl
jne 0x777de8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x777df7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x777ddb
sub eax, ebx
mov ebx, 1
jne 0x777e3e
mov ecx, 1
add dl, dl
jne 0x777e1c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x777e2b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x777e0f
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x777d46
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x777e59
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x777e68
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x777e4c
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x777d46
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x777ed3
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x777d46
pop ebp
sub edi, dword [ebp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1663700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0166378f
jae 0x166370e
xor ecx, ecx
call fcn.0166378f
jae 0x166373d
xor eax, eax
call fcn.0166378f
jae 0x166374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0166378f
adc al, al
jae 0x166372f
jne 0x1663779
stosb byte es:[edi], al
jmp 0x1663711
call fcn.0166379b
sub ecx, ebx
jne 0x1663756
call fcn.01663799
jmp 0x1663775
lodsb al, byte [esi]
shr eax, 1
je 0x1663783
adc ecx, ecx
jmp 0x1663772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01663799
cmp eax, 0x7d00
jae 0x1663772
cmp ah, 5
jae 0x1663773
cmp eax, 0x7f
ja 0x1663774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1663711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x4069ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a0e
xor eax, eax
test eax, eax
je 0x406a21
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a21
xor ecx, ecx
jmp 0x406a24
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b47
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43194c], 0
push esi
jne 0x406b7e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b58
mov dword [ecx*4 + 0x431948], eax
inc ecx
cmp ecx, 0x100
jl 0x406b53
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406baf
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431948]
xor eax, esi
inc ecx
dec edx
jne 0x406b91
pop edi
not eax
pop esi
ret 0xc

Function at 0x402198
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x406d0c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
cmp edi, 1
jne 0x406d92
mov eax, dword [0x41389c]
inc dword [0x41389c]
test eax, eax
jne 0x406d92
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x41386c], eax
mov edx, dword [ebp + 0x10]
mov dword [0x409087], edx
mov ecx, dword [esi + 0x44]
push ecx
call fcn.00403cdc
pop ecx
cmp dword [0x4125b8], 0
je 0x406d7d
call fcn.00406bc4
mov ebx, eax
test eax, eax
je 0x406d7d
mov edx, dword [ebx]
cmp dword [ebx + edx*4 + 4], 0xffffffff
je 0x406d7d
mov ecx, dword [ebx]
inc dword [ebx]
mov dword [ebx + ecx*4 + 4], esi
jmp 0x406d92
xor eax, eax
lea edx, [ebp - 8]
push 0
push edx
mov dword [0x4125b8], eax
call fcn.00406bcc
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
push edi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [esi + 0x18]
push edx
call fcn.00406ea0
mov ebx, eax
test edi, edi
jne 0x406e01
test edi, edi
jne 0x406dd2
dec dword [0x41389c]
jne 0x406dd2
cmp dword [0x41386c], 0
je 0x406dd2
mov eax, dword [0x41386c]
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsA
xor edx, edx
mov dword [0x41386c], edx
cmp dword [0x41389c], 0
jne 0x406e01
cmp dword [0x4125b8], 0
jne 0x406e01
cmp dword [0x4125a8], 0
je 0x406df3
call dword [0x4125a8]
push 1
lea ecx, [ebp - 8]
push ecx
call fcn.00406bcc
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1005bf60
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x1005bf60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1005bf6f
pop dword [ebp - 0xc]
mov eax, 0x526d2544
sub eax, 0x426765d5
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x60f27d9d
add dword [ebp - 0x1c], 0xed5fc7ae
mov dword [ebp - 0x18], 0xbcb0ca9d
sub dword [ebp - 0x18], 0x8a7d7e58
mov dword [ebp - 0x14], 0xc0b24038
add dword [ebp - 0x14], 0x8b9a03f6
mov dword [ebp - 0x10], 0x1f3a5875
add dword [ebp - 0x10], 0xe0c5a78b
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xcbcbdd4f
add eax, 0x443f9391
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x62ee5363
sub dword [ebp - 0x1c], 0xee7bea0d
mov dword [ebp - 0x18], 0x8737d4cd
sub dword [ebp - 0x18], 0x45cb7358
mov dword [ebp - 0x14], 0x19117310
sub dword [ebp - 0x14], 0xb5a206a4
mov dword [ebp - 0x10], 0x45bf0fb7
add dword [ebp - 0x10], 0xba40f049
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x577fbbc9
sub eax, 0x47744b2d
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x62095
push 0
call eax
mov ecx, 0xdc22f77b
sub ecx, 0xdc229e4d
xor ebx, ebx
add ebx, eax
mov edx, 0x100f3400
add edx, dword [ebp - 0xc]
mov edi, 0x738e9e4d
add edi, 0x84170004
add dword [ebp - 4], 0x7ceb57bc
mov esi, dword [edx]
mov dword [ebp - 4], 0xf3cb4db6
xor esi, edi
sub dword [ebp - 8], eax
mov dword [ebx], esi
add dword [ebp - 8], eax
add ebx, 4
add edx, 0xf644dd57
add edx, 0x9bb22ad
loop 0x1005c08d
add eax, 0x1578b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4011a1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4011b1
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x401206
push dword [ebp + 8]
call fcn.004013b2
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x401206
xor eax, eax
jmp 0x40120b
mov eax, 1
test eax, eax
je 0x40121d
mov eax, 0
jmp 0x4013ac
push 0x3c
push dword [ebp + 8]
call fcn.004013f4
push eax
call fcn.004013ce
push eax
push dword [ebp + 8]
call fcn.004013f4
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004013ce
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x401278
push 0x7c
push dword [ebp - 4]
call fcn.004013f4
push eax
call fcn.004013ce
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x401278
xor eax, eax
jmp 0x40127d
mov eax, 1
test eax, eax
je 0x40128f
mov eax, 0
jmp 0x4013ac
push 0x78
push dword [ebp - 4]
call fcn.004013f4
push eax
call fcn.004013ce
push eax
push dword [ebp + 8]
call fcn.004013f4
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.004013f4
push eax
call fcn.004013ce
push eax
push dword [ebp + 8]
call fcn.004013f4
push eax
call fcn.004013ce
push eax
push dword [ebp + 8]
call fcn.004013f4
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.004013f4
push eax
call fcn.004013ce
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.0040141b
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40139f
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004013f4
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00401442
test eax, eax
je 0x401382
push 0x1c
push dword [ebp - 8]
call fcn.004013f4
push eax
call fcn.004013ce
push eax
push dword [ebp + 8]
call fcn.004013f4
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.00401476
push eax
push dword [ebp - 0x24]
call fcn.004013f4
push eax
call fcn.004013ce
push eax
push dword [ebp + 8]
call fcn.004013f4
jmp 0x4013ac
push dword [ebp - 0x14]
call fcn.0040149e
push eax
push dword [ebp - 0x18]
call fcn.004013f4
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40130b
add esp, 0xc
mov eax, 0
jmp 0x4013ac
mov esp, ebp
pop ebp
ret 8
Function at 0x40a640
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40a66e
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40a665
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40a65d
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40a68f
mov esp, ebp
pop ebp
ret

Function at 0x40a693
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40a6ff
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40a72c
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40a71b
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40a70c
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40a752
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40a6f3
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40a77e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a86eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049cea0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049abe2
mov eax, dword [eax]
push 0x4e1cbc
push eax
call fcn.0048cd94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049d12b
test bl, bl
je 0x41a202
push 0x4e1cbc
lea ecx, [esp + 0xc]
call fcn.0049d4bb
push 0x4e1cc8
lea ecx, [esp + 0xc]
call fcn.0049d4bb
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41a23e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049d12b
jmp 0x41a309
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41a2c2
lea edx, [esp + 0x7c]
push 0x4e1cc4
push edx
call fcn.0048cd94
add esp, 8
test eax, eax
je 0x41a2c2
lea eax, [esp + 0x7c]
push 0x4e1cc0
push eax
call fcn.0048cd94
add esp, 8
test eax, eax
je 0x41a2c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a252
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049d12b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41ab10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41ab72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc