joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64927d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x649299
lea esp, [esp + 4]
jmp 0x67aee4

Function at 0x667054
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
jmp 0x6678c3
cmp eax, 1
jne 0x667c91
je 0x667b90
stosd dword es:[edi], eax
xor ah, byte [eax - 0x372cd39]
invalid
pop edi
pop esi
pop ebp
jmp 0x667ef3
call 0x63fff3
test eax, eax
jne 0x667b6e
call fcn.00640d88
jmp 0x667b9b
call fcn.00640d0c
call fcn.0063e0b0
add bl, ch
xor ecx, esp
dec ebp
frstor dword [edi + edx*2 + 0x72dc5cb3]
adc eax, 0x6be405e4
sti
sahf
insd dword es:[edi], dx
mov dword [ebx - 0x17af80ea], ecx
ret 0xfd91
push eax
call 0x640d58
pop ecx
test eax, eax
jne 0x667b49
xor eax, eax
jmp 0x667b2b
xor edi, edi
cmp eax, edi
jne 0x667f77
call fcn.00659c3a
add cl, ch
test al, 2
add byte [eax], al
cmp ebp, dword [edx + 0x69aa5f38]
invalid
xor eax, eax
inc eax
jmp 0x667b2b
ret 0xc
cmp eax, 2
jne 0x667fc2
call fcn.0063fc6b
jmp 0x668006
cmp eax, 3
jne 0x667eeb
push edi
call fcn.0063ff85
jmp 0x668285
push 0x214
push 1
call fcn.00640253
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x667b9b
push esi
call fcn.0065a29b
add al, ch
cmpsb byte [esi], byte es:[edi]
and al, 0xff
inc dword [eax]
call fcn.0063fbf0
pop ecx
call eax
test eax, eax
je 0x668057
push edi
push esi
call fcn.0063fcdc
jmp 0x6682ce
push esi
call fcn.00640180
pop ecx
jmp 0x667b9b
pop ecx
jmp 0x667eeb
pop ecx
pop ecx
call fcn.0063d33a
add byte [ebx - 0x7600fbb2], al
push es
jmp 0x667eeb

Function at 0x67104d
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
jmp 0x671076
mov eax, 0x5a4d
jmp 0x6711e2
push 0x65131c
push 0x640e5c
jmp 0x671298
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x6711e7
je 0x671188
cmp al, 0xaa
cmp byte [edi - 0x56], bl
dec eax
sub al, 0xb9
sub dword [eax - 0x45], ecx
push ebx
loope 0x671252
jmp 0x671167
cmp word [ecx], ax
je 0x6711ba
xor eax, eax
pop ebp
ret
pop ebx
fist dword [edx - 0x6a]
inc ecx
lea esi, [eax - 0x7df029c5]
jbe 0x67125d
invalid
mov dword [ebp - 4], 0xfffffffe
jmp 0x6713c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
call fcn.00662fc0
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x63e59c
call fcn.0066482d
add esp, 4
test eax, eax
je 0x67127a
mov eax, dword [ebp + 8]
sub eax, 0x63e59c
push eax
push 0x63e59c
jmp 0x671356
je 0x67127a
jne 0x67139e
pushfd
adc eax, 0xba1fec85
xchg ebp, eax
and esi, dword [ebx + 0x4be825d6]
ret 0x3750
add esp, 8
test eax, eax
jmp 0x671317
call 0x6647f9
jmp 0x671336
mov eax, dword [eax + 0x24]
shr eax, 0x1f
not eax
and eax, 1
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6710b2
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x671113
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jmp 0x671133
inc edx
add eax, 0x28
jmp 0x671259
xor eax, eax
jmp 0x6711f1
jb 0x6710f6
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jmp 0x671374
pop edi
pop esi
pop ebx
pop ebp
ret
cmp edx, esi
jb 0x6710d7
jmp 0x671113
jb 0x6711f1
jmp 0x6710f6
Function at 0x678ac7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
and dword [ebp - 0xc], 0
add eax, ecx
mov edx, 0x10b
cmp word [eax + 0x18], dx
je 0x678b05
xor eax, eax
jmp 0x678b22
push esi
mov esi, dword [eax + 0x78]
jmp 0x678bd3
leave
ret 8
add esi, ecx
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x18], eax
je 0x678d3a
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x678d17
jmp 0x678d3a
pop esi
jmp 0x678b22
push edi
mov edi, dword [esi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x1c]
add edi, ecx
add eax, ecx
dec ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
js 0x678c5e
mov eax, dword [ebp - 4]
add eax, ebx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10]
jmp 0x678c93
xor esi, esi
test ebx, ebx
jl 0x678e9b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + esi*4]
add edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call fcn.0066588c
jmp 0x678d75
sar edi, 1
mov edx, dword [eax + edi*4]
add edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call 0x6657f6
jmp 0x678cf6
cmp dword [ebp - 4], ebx
jmp 0x678e22
test eax, eax
jne 0x678cd8
mov eax, dword [ebp - 8]
jmp 0x678d95
and dword [ebp - 4], 0
add eax, ecx
push ebx
mov ebx, dword [esi + 0x18]
jmp 0x678c20
xor eax, eax
jmp 0x678bf2
test eax, eax
jne 0x678e62
jmp 0x678dfd
test eax, eax
jne 0x678e9b
jmp 0x678e42
test eax, eax
je 0x678e7e
jne 0x678f0b
test dword [eax - 0x24ffffff], ecx
dec esi
fisttp dword [esi - 0x24]
mov ebx, 0x8f13f156
fdivr qword [ebx - 0x70ec0eaa]
pop ds
jp 0x678d17
jne 0x678e06
stosd dword es:[edi], eax
lcall 0x7804, 0xb70f238d
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp eax, esi
jb 0x678d43
mov ecx, dword [ebp - 0x18]
add ecx, esi
cmp eax, ecx
jmp 0x679050
add dword [eax - 0x6d], esp
jae 0x678e25
jne 0x678d85
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
jge 0x678e77
jmp 0x678d7e
cmp dword [ebp - 4], ebx
jle 0x678c37
jmp 0x678e42
je 0x678e42
test eax, eax
jle 0x678f75
ror byte [edi], 0x8e
dec ecx
add dword [eax], eax
add byte [edi], cl
invalid
jg 0x678f2a
test byte [esi], ah
mov ah, 0xd3
test eax, 0x2e4bdb76
fstp qword [esi + esi - 0x1f]
jbe 0x678de8
mov edi, dword [ebp - 8]
jmp 0x678c5e
pop edi
jmp 0x678ea1
enter 0x5121, 0xffffffffffffffd6
inc esp
and ebx, esi
jb 0x678e6f
jb 0x678e6f
add edi, esi
adc byte [edx + 0x7704b70f], cl
movzx eax, word [edi + esi*2]
jmp 0x678f33
mov eax, dword [ebp - 0xc]
jmp 0x678e62
pop ebx
jmp 0x678bf2
inc esi
cmp esi, ebx
jle 0x678c68
jmp 0x678e9b
lea ebx, [edi - 1]
jmp 0x678dfd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x678e9b
inc edi
mov dword [ebp - 4], edi
jmp 0x678dfd
jb 0x678d68
jmp 0x678d43
Function at 0x700a6f
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
daa
idiv bl
lahf
jb 0x6fe4fd
pushfd
jae 0x6fe4ee
stosd dword es:[edi], eax
mov al, 0xa4
std
mov esp, 0x671cfbf9
inc esp
inc esp
or eax, 0xbbd9cd1f
xor byte [ebp - 0x6ce38ad2], 0x7e
jle 0x6fe491
jne 0x6fe4ca
xchg ebx, eax
jle 0x6fe52f
fbld tbyte [esi]
mov byte [0xa7883419], al
mov byte es:[0xa7883419], al
jl 0x6fe492
std
arpl word [eax + 0x45240eb3], sp
sub edi, dword [ebx]
push edi
stosd dword es:[edi], eax
cmpsb byte [esi], byte es:[edi]
dec esp
pop ebx
scasd eax, dword es:[edi]
mov ecx, esi
xor eax, 0x35e7e1f
pop ds
pop eax
sar cl, cl
jne 0x6fe4eb
push ecx
loope 0x6fe4d6
mov edi, 0x9db69888
jcxz 0x6fe54d
sub byte [edi - 0x19], 0xdb
xor bl, byte [eax + 0x7560fc1b]
sbb bl, byte [ecx + 0x16e82363]
jb 0x6fe4a2
pushal
jne 0x6fe508
pushfd
and dword [ebx + 0x23], esp
call 0x111c570d
retf
adc bl, cl
inc ebp
stc
cmpsb byte [esi], byte es:[edi]
adc edx, edi
aas
and edi, edi
int 8
leave
mov dh, 8
mov bh, 0x98
cmp al, 0xa7
cmpsd dword [esi], dword es:[edi]
invalid
insb byte es:[edi], dx
sti
inc byte [edi]
jnp 0x6fe4ac
inc edx
xchg ebx, eax
das
dec edx
pop esp
ljmp 0xffd9
pop es
add ah, byte [edi - 0x4e70318c]
pop edi
sar dword [edi + 0xb8ae5d2], 1
call dword [edi]
out dx, al
inc esi
pushal
push ebx
pushal
cmp al, 0x12
pop ss
adc dl, byte [edi]
xor ebx, esp
mov byte [0x5a9de591], al
popfd
pop edx
jae 0x6fe4f8
pushfd
or ch, dl
in al, dx
add byte [ecx - 0x7b], ch
sbb cl, byte [eax - 0x6475219a]
test al, 0x83
invalid
fcmovu st(0), st(4)
loop 0x6fe515
sub byte [eax - 0x19], bl
call 0xd4a5f251
out dx, eax
out dx, al
fstp xword [esi + 0x1d]
movsd dword es:[edi], dword es:[esi]
jl 0x6fe546
hlt
push 0xfa3ff3f6
jmp 0x6fefd1
inc dword [eax + 0x63f649]
jmp 0x6fede8
call 0x6fee15
jmp 0x6fee31
push eax
jmp 0x6fee10
pop eax
sub eax, 0x6fee15
cmp dword [eax + 0x63f649], 0
je 0x6fee08
lea esp, [esp + 8]
popal
jmp 0x6fe561
call fcn.0064cbe6
jmp 0x7009dd
add dword [esp], 0x623464d
push 0
push 0
push 0xe2c61f91
add dword [esp], 0x1d9d138d
jmp 0x6fef83
call 0x7009e2
jmp 0x700a07
add dword [esp], 0x659
jmp 0x700aab
call 0x700a1a
jmp 0x700a8a
call 0x700a6f
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x700ace
jb 0x700a81
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x700a15
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x700b04
call 0x64a99c
call 0x64bfb7
popal
jmp 0x6fe561
fdiv qword [ebx]
mov ecx, 0xb70f8236
pop eax
cmp al, 3
fsub dword [esi - 0x7f]
cmp edx, dword [eax + 0x45]
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x6fee28
jmp 0x700b06
je 0x700ad3
sub eax, 0x10000
jmp 0x700a8e
Function at 0x407406
Capabilities:
Get cpu information
Get memory capacity
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push edi
push 8
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
push 0x3c
mov dword [ebp - 0x3c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x7c], ebx
call fcn.0040835d
mov edi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 8], ebx
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jle 0x407518
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x407518
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
shrd eax, ecx, 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
shr ecx, 0x14
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4074c1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push str.MHz
push dword [ebp - 8]
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
jg 0x4074e6
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x407518
mov eax, dword [ebp - 0x18]
cdq
mov ecx, 0xf4240
idiv ecx
cmp eax, ebx
mov dword [ebp - 4], eax
jle 0x407518
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
mov dword [ebp + 8], eax
shl dword [ebp + 8], 0x10
push ebx
call esi
or eax, dword [ebp + 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x10]
push str._d__d__d__u
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4417bc], 0
jne 0x4078ae
xor ecx, ecx
push esi
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 0x407887
mov dword [ecx*4 + 0x4417b8], eax
inc ecx
cmp ecx, 0x100
jl 0x407882
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4078db
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4417b8]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4078bc
not eax
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403594
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x64d008], 0x8088405
inc edx
mov dword [ebx + 0x64d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41c674
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
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 0x41c6a5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c68d
add dl, dl
jne 0x41c6b0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c701
xor eax, eax
add dl, dl
jne 0x41c6bd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41c79e
add dl, dl
jne 0x41c6cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c6d7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c6e2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c6ed
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41c6f7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41c69c
mov eax, 1
add dl, dl
jne 0x41c70f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41c71a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c706
sub eax, ebx
mov ebx, 1
jne 0x41c74d
mov ecx, 1
add dl, dl
jne 0x41c733
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c73e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c72a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41c69c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41c764
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41c76f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41c75b
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 0x41c69c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41c7bf
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 0x41c69c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d33c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x41d34f
add esp, 0xfffffff0
call fcn.00403d6c
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00403af4
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x41d375
cmp dword [esi + 0x58], 0x40
jb 0x41d55b
jmp 0x41d37b
jl 0x41d55b
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.00406e44
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.0041cef4
cmp word [ebx + 0xc], 0x5a4d
jne 0x41d55b
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x41d55b
cmp ecx, 0x10000
jge 0x41d55b
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d3d6
cmp eax, dword [esi + 0x58]
ja 0x41d55b
jmp 0x41d3dc
jg 0x41d55b
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.00406e44
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.0041cef4
cmp dword [ebx + 0x4c], 0x4550
jne 0x41d55b
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.0041cef4
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x41d493
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d457
cmp eax, dword [esi + 0x58]
ja 0x41d4e4
jmp 0x41d45d
jg 0x41d4e4
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.0041cef4
mov byte [ebx + 4], 1
jmp 0x41d4e4
cmp ax, 0x14c
jne 0x41d4e4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d4b4
cmp eax, dword [esi + 0x58]
ja 0x41d4e4
jmp 0x41d4b6
jg 0x41d4e4
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.00406e44
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.0041cef4
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x41d55b
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x41d515
cmp eax, dword [esi + 0x58]
ja 0x41d55b
jmp 0x41d517
jg 0x41d55b
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x637e0c]
call fcn.00405b38
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0041cef4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41d572
call fcn.00403dc4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41e270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x63972f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e321
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e30a
test esi, esi
jbe 0x41e321
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408868
test eax, eax
jne 0x41e2fc
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e321
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e2d9
jmp 0x41e321
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e321
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639736
ret
Function at 0x41eb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x63a12f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404c94
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41ebbb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ebd4
lea eax, [ebp - 0x10]
mov edx, dword [0x64f188]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404cf4
jmp 0x41ebe7
lea eax, [ebp - 0x10]
mov edx, dword [0x64f188]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404cf4
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ebf3
adc edx, 0
mov edx, dword [edx*4 + 0x64dca8]
call fcn.00404ee4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404ec8
push eax
call fcn.00406ab8
mov esi, eax
cmp esi, 0xffffffff
je 0x41ed01
mov eax, 0x40
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ecf4
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d58
mov eax, edi
call fcn.00403270
mov eax, 0x18
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ecf4
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ecf4
cmp dx, 0x150
ja 0x41ecf4
mov eax, edi
call fcn.00403270
mov eax, 0xe0
call fcn.00403250
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d00
test eax, eax
je 0x41ecf4
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ecf4
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404cd0
mov eax, edi
call fcn.00403270
push esi
call fcn.00406a70
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404ff0
jne 0x41ed19
inc ebx
cmp ebx, 0x19
jne 0x41ebad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63a136
lea eax, [ebp - 0x10]
call fcn.00404c94
ret
Function at 0x100024d9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x40
push 0x1000
push 0x64
push 0
push 0xffffffff
call fcn.10002646
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.100026d4
push eax
push dword [ebp - 4]
call fcn.1000270f
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002539
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 8], eax
push htons
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10002550
mov eax, 0x1005430c
push eax
push 1
mov ebx, 0x194
call fcn.100314b0
add esp, 0x10
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.1000287d
push dword [ebp - 4]
call fcn.10002938
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp - 0xc]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100025c7
push 0x128
push 0x4010021
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
xor eax, eax
call dword [0x101487ee]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100025f6
push 0x128
push 0x4010021
push 6
call fcn.1002fffd
add esp, 0xc
push 0x80000301
push 0
push 1
push 1
mov ebx, 0x1c
mov eax, 0x10035620
call fcn.10030a40
add esp, 0x10
push 0x40
push 0x64
push dword [ebp - 4]
push 0xffffffff
call fcn.1000295c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002640
push ebx
call fcn.1002fff1
add esp, 4
mov esp, ebp
pop ebp
ret 4