joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015110
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003ff43
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword fs:[0x2c]
mov edx, dword [0x1009ca94]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x1009b3f0]
cmp eax, dword [edx + 4]
jg 0x1001528d
mov dword [ebp - 0x10], 0x1009b3d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x1009b3d0
cmp edx, dword [0x1009b3d0]
je 0x10015188
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x10015188
pause
push edx
mov ecx, esi
call fcn.10012690
jmp 0x1001518f
lock inc dword [0x1009b3d4]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
jne 0x100151a7
mov eax, dword [edi + 0x24]
jmp 0x1001525f
mov eax, ebx
mov dword [edi + 0x20], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000b0a0
mov eax, dword [eax + 4]
test eax, eax
je 0x10015211
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp eax, dword [edi + 4]
je 0x10015217
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x1001525f
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
mov esi, ebx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x10015220
sub esi, ecx
inc esi
push esi
call fcn.100274e5
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.10019830
mov esi, dword [ebp + 8]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10014d20
mov eax, dword [esi]
mov esi, 0x1009b3d0
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x1009b3d4]
cmp dword [0x1009b3d4], 0
pop ebx
jne 0x1001527b
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x1009b3f0
call fcn.1001894f
add esp, 4
cmp dword [0x1009b3f0], 0xffffffff
jne 0x1001514f
mov dword [ebp - 4], 0
mov ecx, 0x1009b3d8
mov dword [0x1009b3d0], 0
mov dword [0x1009b3d4], 0
call fcn.10012590
mov byte [ebp - 4], 0
push 0x100404d0
call fcn.10018278
mov dword [ebp - 4], 0xffffffff
push 0x1009b3f0
call fcn.100188fe
add esp, 8
jmp 0x1001514f
Function at 0x100154a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003fb4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x1001564d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.10017f57
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x1001558e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x10015550
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x1001563d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x1001563d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x100155a0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x100155a3
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x1001563d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.10017f57
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x10015621
cmp edi, esi
je 0x10015638
mov eax, dword [ebp + 0xc]
jmp 0x100155f7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x1001563d
mov edx, dword [ebp - 0x10]
jmp 0x100155b0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x10032904
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003277a
Function at 0x1003cde0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003ce0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003ce0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x472471
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7907c785
xchg edx, eax
sar dword [eax - 0x7c], cl
cmp al, 0x90
xor byte [edx + 0x41], cl
sbb cl, byte [ebx]
adc ch, byte [edi + ebx*2]
mov bl, 0x89
dec ecx
mov ebx, 0x6454ba57
inc esi
pop esi
dec edi
sbb al, 0xc0
sbb byte [edx + 0x17ef7e1a], 0x56
ficom dword [esi]
pop esp
add bh, bh
mov dl, 0x49
test ebp, edx
mov eax, dword [0xaa933812]
std
push esp
sbb al, 0xba
mov al, byte [0xcf56e667]
push edx
pop ecx
push ecx
adc al, 0x9d
aam 0xc1
lcall 0x4c16, 0x3b6fc307
jne 0x472476
xor dword gs:[ecx + 0x3b], edi
adc byte [ebp + 0x49], bl
fld xword [esi + 0x2f]
xor dword [ebx + 0x17], 0x64541eb9
int 8
in al, dx
pop esp
rol dword [ebx + 0x5df00b10], 0xc0
imul esi, dword [edi + ebp], 0xffffffd3
mov al, 0xd8
dec edi
cwde
das
cmc
mov edi, 0x25087bf8
fiadd dword [ebx - 0x7e]
and byte [esi + 0x70], bh
or byte [ecx], ch
popal
insb byte es:[edi], dx
sub al, 5
cld
sbb byte [eax - 0x706ff2f3], dl
inc edi
sti
inc ebx
and esp, dword [ebp + 0x3b]
fdivr dword [eax + 0x12]
mov fs, word [edi]
push 0xffffffffffffffaf
into
int 0x9a
xchg edi, eax
cmp dword [eax - 0x77], edi
in eax, 0xa6
sub al, 0xc6
jae 0x472576
ret 0x3b7b
imul edi, dword [eax + ecx*4], 0x7dbc6f19
xor byte [ebp + 0x4092d371], dh
push esp
insd dword es:[edi], dx
sbb dl, byte [edx - 0x43]
adc eax, 0xf704ca19
or dword [ecx - 2], eax
cmp ebx, esp
insb byte es:[edi], dx
or al, 0xb8
fidivr word [edx - 0x48f328cb]
adc dh, byte [0xe8e82d10]
and byte [esi], 0x69
push ebx
dec esi
lds esp, [ebx - 0x32e719f3]
push 0x981d69ac
pop esp
xor al, 0x5e
adc al, 0x17
pop ecx
push esp
invalid
sub byte [ecx - 0x4f], dh
daa
test byte [edi], 0x73
adc al, 0xd5
scasd eax, dword es:[edi]
sahf
fdiv dword [eax]
inc ecx
dec eax
bound edi, qword [edx + 0x640baa24]
mov ecx, 0x4dbaf6de
aam 0x2d
sbb esp, dword [edi - 0x15]
daa
cmpsb byte [esi], byte es:[edi]
jns 0x47259f
or esp, dword [ecx + edi*4 - 0x22]
idiv byte [edx + 0x1b2dd44d]
jmp 0x4725be
jb 0x4725be
invalid
push 0xffffffffffffffbd
movsd dword es:[edi], dword [esi]
and eax, 0xf26c8cd8
jno 0x472532
mov bh, 0x4d
fidivr word [eax - 0xbca5012]
call [eax]
jb 0x47258a
jl 0x4725b5
les ebx, [eax]
cmp al, 0x25
mov al, byte [0x77009f1a]
dec eax
lahf
add byte [edi + 0x48], dh
ja 0x472562
inc ebp
outsb dx, byte [esi]
jns 0x472607
insd dword es:[edi], dx
or eax, 0xd89c2ee4
mov edx, 0xfd8f01a3
sub eax, 0x4e290fd4
fldenv [ebx - 0x47bfe545]
add byte [ecx - 0x1c], dl
mov eax, 0x768f3701
and cl, dl
aad 0xc2
insb byte es:[edi], dx
invalid
stc
push es
wait
dec esp
add bh, byte [ecx - 8]
int 0xbb
mov ebp, 0x840e01f5
lodsb al, byte [esi]
dec ebp
mov ebp, dword [esi + ebx + 0x57]
mov edx, 0xf6d72c88
jmp 0x6b281da6
Function at 0x626fbd
Capabilities:
Encode data using xor

Disassembly:
invalid
xchg ebp, eax
push ecx
std
loope 0x626f78
insb byte es:[edi], dx
push eax
into
cld
jmp 0x627028
mov edx, ss
sub al, 0x10
rcr ebp, 0x71
bound ecx, qword [ebx - 0x54edac02]
inc ebx
jg 0x627032
jae 0x626fc3
call 0xb5672ad0
fcmovnb st(0), st(0)
xchg dword [eax], esi
fdiv qword [ecx + 0x5911be3f]
iretd
xchg ebx, eax
adc dword [ebp + 0x79], esi
out 0x46, al
and al, ah
pop ebx
sub al, 0x6d
insd dword es:[edi], dx
push ebx
in al, 0x1b
jp 0x626fd2
stc
sbb eax, dword [esi]
imul esp, edx, 0xffffffed
invalid

Function at 0x628c6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x630390
cmp edx, dword [eax]
je 0x628c8f
add eax, 8
inc ecx
cmp eax, 0x630420
jl 0x628c80
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x630390]
jne 0x628dbd
mov eax, dword [0x639d24]
cmp eax, 1
je 0x628d97
test eax, eax
jne 0x628cc0
cmp dword [0x6302b8], 1
je 0x628d97
cmp edx, 0xfc
je 0x628dbd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628cf7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629650
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629ae0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628d3a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629ae0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d98c
push edi
call fcn.0062b9b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629650
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629660
lea eax, [ebp - 0xa0]
push 0x62d96c
push eax
call fcn.00629660
push dword [esi + 0x630394]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629660
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b924
add esp, 0x2c
pop edi
jmp 0x628dbd
lea eax, [ebp + 8]
lea esi, [esi + 0x630394]
push 0
push eax
push dword [esi]
call fcn.00629ae0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401089
jmp 0x401030
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm1, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm0, mm1
punpckhwd mm5, mm6
paddd mm4, mm4
paddd mm3, mm5
paddd mm3, mm4
movq qword [edi - 0x10], mm0
add esi, 8
sub eax, 4
movq qword [edi - 8], mm3
jge 0x401030
add eax, 4
jle 0x4010be
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add edx, edx
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x40108f
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x418010
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, 0x190
push edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov eax, dword [0x635b9c]
push eax
call dword [sym.imp.ole32.dll_RevokeDragDrop]
mov ecx, dword [0x632038]
mov ebp, dword [0x63203c]
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x24]
lea edx, [ecx + ecx]
push eax
or edx, ebp
push edi
mov dword [esp + 0x30], edx
fild qword [esp + 0x30]
fadd qword [0x632050]
fstp qword [0x632050]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0x18]
mov edi, eax
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41811f
mov ebp, 4
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call sub.comdlg32.dll_FindTextA
test edi, edi
je 0x4180ba
mov edx, dword [0x635b9c]
push 0x63588c
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
dec esp
and al, 0x1c
Function at 0x62aaf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632458
cmp edx, dword [eax]
je 0x62ab13
add eax, 8
inc ecx
cmp eax, 0x6324e8
jl 0x62ab04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632458]
jne 0x62ac41
mov eax, dword [0x636de0]
cmp eax, 1
je 0x62ac1b
test eax, eax
jne 0x62ab44
cmp dword [0x632380], 1
je 0x62ac1b
cmp edx, 0xfc
je 0x62ac41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62ab7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062b4d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b960
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62abbe
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b960
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f904
push edi
call fcn.0062d830
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062b4d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062b4e0
lea eax, [ebp - 0xa0]
lea eax, [ebp + 8]
lea esi, [esi + 0x63245c]
push 0
push eax
push dword [esi]
call fcn.0062b960
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
Function at 0x405960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x39a8d95
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x39c6124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x39c732c
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.004251b0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x39c6cb4
push eax
call fcn.004251b0
mov esi, dword [0x39c733c]
xor ebx, ebx
mov edi, dword [0x39c7340]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x39c9ac8], bl
mov eax, ebx
mov ecx, 0x39c732c
cmovae ecx, dword [0x39c732c]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x39c9bd8], al
inc ebx
cmp ebx, 0x100
jl 0x4059e0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x39c9ac8]
movzx eax, byte [esi + 0x39c9bd8]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x405a34
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x39c9ac8]
mov byte [esi + 0x39c9ac8], al
inc esi
mov byte [edi + 0x39c9ac8], dl
cmp esi, 0x100
jl 0x405a10
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00405640
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405a89
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405adf
push edx
push ecx
call fcn.0042af96
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x405acb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405ac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405adf
push edx
push ecx
call fcn.0042af96
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042fca5
int3
Function at 0x408c70
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x39c6124]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call dword [0x39b110c]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x408e59
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x408e59
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0042c5b0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call dword [0x39b1094]
test eax, eax
je 0x408e59
push 4
push 0x1000
push 4
push 0
call dword [0x39b10f0]
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call dword [0x39b1080]
test eax, eax
je 0x408e59
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x39bdbb0
push dword [esp + 0x30]
call dword [0x39b1090]
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x408d7c
push 0x39bdbb4
push 0x39bdbcc
call dword [0x39b10c8]
push eax
call dword [0x39b1084]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call dword [0x39b1110]
mov dword [esp + 0x14], eax
test eax, eax
je 0x408e59
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call dword [0x39b1108]
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x408e13
mov dword [esp + 0xc], eax
call fcn.00408ab0
push eax
call dword [0x39b10b8]
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [0x39b1108]
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x408dc2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call dword [0x39b1108]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call dword [0x39b109c]
push dword [esp + 0x24]
call dword [0x39b10cc]
push 0x8000
push 0
push esi
call dword [0x39b10fc]
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0042a920
mov esp, ebp
pop ebp
ret
Function at 0x40da00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x39a99bb
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x39c6124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00432a73
push eax
call fcn.0042f06c
add esp, 8
call fcn.0042f04b
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.0042f04b
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.0042f04b
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00404fe0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x40dab0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40dac6
push 0x40
push 0
push 0x39cbc98
sub esi, ecx
call fcn.0042c5b0
add esp, 0xc
mov dword [0x39cbc8c], 0
mov edx, esi
mov dword [0x39cbc88], 0
lea ecx, [ebp - 0x410]
mov dword [0x39cbc78], 0x67452301
mov dword [0x39cbc7c], 0xefcdab89
mov dword [0x39cbc80], 0x98badcfe
mov dword [0x39cbc84], 0x10325476
call fcn.004067a0
call fcn.00406860
mov ecx, 0x39c9cd8
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db60
sub ecx, edx
push ecx
push 0x39c9cd8
lea ecx, [ebp - 0x42c]
call fcn.004251b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x40dbbb
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dbb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc81
push edx
push ecx
call fcn.0042af96
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x40dc7c
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.004251b0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x40dc5e
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc81
push edx
push ecx
call fcn.0042af96
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a920
mov esp, ebp
pop ebp
ret
call fcn.004256c0
call fcn.0042fca5
int3