joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4649d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a9e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00464dc0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5c532c
call fcn.004776e6
mov ecx, dword [0x57db18]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00462100
mov esi, 0x57db70
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x464a77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x464a6e
cmp al, 0xff
je 0x464a6e
dec al
mov byte [ecx], al
jmp 0x464a77
push ecx
call fcn.00498d5c
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00494810
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x464abd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x464ab4
cmp al, 0xff
je 0x464ab4
dec al
mov byte [ecx], al
jmp 0x464abd
push ecx
call fcn.00498d5c
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0047776d
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x468790
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4687f6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4687f6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4687d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x468b80
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x468bb8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x469890
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4698d9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x469d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00469900
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00469980
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00469980
lea ecx, [esi + 0xc]
call fcn.00498f7d
lea ecx, [esi + 0x10]
call fcn.00498f7d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046af10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046af10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046af10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00498ff2
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00498ff2
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46b410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x2c
call fcn.004769b7
mov esi, eax
add esp, 4
test esi, esi
jne 0x46b427
pop esi
pop ebp
ret
push edi
push 0x2c
push 0
push esi
call fcn.00477b40
add esp, 0xc
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edi, eax
mov dword [esi], edi
test edi, edi
jne 0x46b45a
push esi
call fcn.004768ce
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x46b467
mov ebx, 0x14
lea eax, [ebx*4]
push eax
call fcn.004769b7
add esp, 4
mov dword [esi + 0x28], eax
test eax, eax
jne 0x46b495
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004768ce
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor edi, edi
test ebx, ebx
je 0x46b4d0
push 0
push 0
push esi
push 0x46b2b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x28]
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x28]
cmp dword [edx + edi*4], 0
je 0x46b4cb
inc dword [esi + 0x20]
inc edi
cmp edi, ebx
jb 0x46b4a5
cmp dword [esi + 0x20], 0
jne 0x46b502
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esi + 0x28]
push ecx
call fcn.004768ce
push esi
call fcn.004768ce
add esp, 8
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop ebx
pop edi
mov dword [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebp
ret
Function at 0x48eca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4abbc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00483cc6
mov eax, dword [0x581b10]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00483bf8
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0048f770
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x48ed47
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48ed3e
cmp al, 0xff
je 0x48ed3e
dec al
mov byte [ecx], al
jmp 0x48ed47
push ecx
call fcn.00498d5c
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x48ed78
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48ed6f
cmp al, 0xff
je 0x48ed6f
dec al
mov byte [ecx], al
jmp 0x48ed78
push ecx
call fcn.00498d5c
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x49b40c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49b444
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00499499
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00499471
jmp 0x49b450
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49cb06
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49cb48
call fcn.004a2aa9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49cb48
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49cb3f
xor eax, eax
jmp 0x49cb50
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049cb56
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a2fd9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a3007
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a3025
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a2f3f
jmp 0x4a3025
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a3025
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a2f3f
test edi, edi
mov eax, edi
jne 0x4a300f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402dd0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x4c], eax
je 0x402e1c
call fcn.00431d60
lea eax, [0x4a5467]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00432640
call fcn.00431dd0
mov dword [esp], 2
call fcn.0042bff0
mov eax, dword [esp + 0x2c]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
nop
inc dword [ecx + 0x148]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
mov ebx, ecx
mov dword [edx + 0xc0], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x98], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x30], ecx
test byte [ecx], al
lea esi, [ecx + 0x19c]
lea edi, [esp + 0x10]
call fcn.00458774
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0xc], edx
call fcn.004552e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x88], 0
mov ecx, dword [eax + 0x18]
test byte [ecx], al
add ecx, 0x1d8
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00402080
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00402f30
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x88], 1
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x402f16
mov dword [esp], ecx
call fcn.0042d7f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00439bb0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x19c]
lea esi, [esp + 0x10]
call fcn.00458774
add esp, 0x34
ret
lea eax, [0x4a66e0]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.004305d0
nop
int3
Function at 0x40a740
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a911
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40a76b
mov eax, 0x7000000
jmp 0x40a773
test eax, eax
je 0x40a8ec
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.00458020
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x51d1a0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40a904
cmp ecx, 0x21
jae 0x40a8f8
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004534d0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.004535a0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4bdddc]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4bde4c]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40a8c7
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4bde8c]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00458100
mov eax, ecx
mov ecx, 0x21
call fcn.004581a0
nop
call fcn.00456c30
jmp fcn.0040a740
Function at 0x411eb0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4120c6
sub esp, 0x18
mov eax, dword [0x551d94]
test eax, eax
jne 0x4120af
nop
nop
lea eax, [0x551d7c]
mov dword [esp], eax
call fcn.00408560
mov eax, dword [0x551d80]
test eax, eax
je 0x411efa
cmp dword [eax + 8], 0xcc
jne 0x411f70
mov edx, dword [0x551d74]
test edx, edx
jne 0x411f52
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5538f8]
mov dword [esp + 8], eax
call fcn.0040a920
mov eax, dword [esp + 0xc]
mov dword [0x551d74], eax
mov ecx, dword [0x551d30]
mov dword [eax], ecx
mov eax, dword [0x551d74]
mov dword [0x551d30], eax
movzx eax, byte [0x552140]
test al, al
jne 0x411f52
xor eax, eax
jmp 0x41205b
mov edx, dword [0x551d74]
mov ebx, dword [edx + 4]
mov dword [0x551d74], ebx
mov ebx, dword [0x551d80]
mov dword [edx + 4], ebx
mov dword [0x551d80], edx
mov edx, dword [0x551d80]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412043
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401fc0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x551ef0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x411fce
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x411fdb
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00458070
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x551ef0]
test edx, edx
jne 0x412007
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x412028
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00458070
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00458070
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00458070
mov byte [0x551d08], 1
nop
nop
lea eax, [0x551d7c]
mov dword [esp], eax
call fcn.00408760
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00458100
lea esi, [0x552140]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x411f52
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x4120a5
lea edx, [0x51913c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41204d
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.004580f0
mov ecx, 5
call fcn.004580f0
lea eax, [0x4a3e6c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004305d0
nop
call fcn.00456c30
jmp fcn.00411eb0
Function at 0x422030
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4221a0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0041fe50
mov eax, dword [esp + 4]
test eax, eax
je 0x422189
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x78]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.0041e060
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00408560
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x4220c7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42212d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x4220dc
cmp byte [ebp + 6], dl
je 0x4220e7
cmp esi, ebx
ja 0x42212d
jne 0x4220c5
cmp byte [ebp + 6], dl
jbe 0x4220c5
jmp 0x42212d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00408760
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x422124
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x422124
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.00421f30
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00408760
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x422180
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x422180
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x4a4eff]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004305d0
nop
call fcn.00456c30
jmp fcn.00422030
Function at 0x4222e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4224d3
sub esp, 0x28
nop
lea eax, [0x536390]
mov dword [esp], eax
call fcn.00408560
lea eax, [0x536324]
mov dword [esp], eax
call fcn.00412c80
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
nop
nop
lea ecx, [0x536390]
mov dword [esp], ecx
call fcn.00408760
mov eax, dword [esp + 0x24]
mov byte [eax + 6], 1
lea edi, [eax + 8]
mov ecx, dword [0x551ef0]
test ecx, ecx
jne 0x42234c
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
jmp 0x422359
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.00458070
mov eax, ecx
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x551ef0]
test ecx, ecx
jne 0x42237e
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
jmp 0x42239c
lea ecx, [eax + 0x10]
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x38]
call fcn.00458070
lea edi, [ebx + 0x14]
mov eax, dword [esp + 0x3c]
call fcn.00458070
mov eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00422030
movzx eax, byte [esp + 8]
test al, al
je 0x422485
mov eax, dword [0x551d94]
test eax, eax
je 0x42247c
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0040e160
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0xc]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x18], ecx
mov ebx, dword [ecx + 0x54]
test byte [ebx], al
test byte [eax], al
mov dword [esp], edx
lea eax, [ebx + 0xb84]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], eax
call fcn.00418f20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [0x5190e0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00418df0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x42247c
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x42247c
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x40], 1
add esp, 0x28
ret
nop
nop
lea eax, [0x536390]
mov dword [esp], eax
call fcn.00408560
nop
mov eax, dword [0x53633c]
sub eax, dword [0x536324]
mov dword [0x53633c], eax
mov eax, dword [0x536330]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov dword [0x536330], ecx
nop
nop
lea eax, [0x536390]
mov dword [esp], eax
call fcn.00408760
mov byte [esp + 0x40], 0
add esp, 0x28
ret
call fcn.00456c30
jmp fcn.004222e0
Function at 0x422610
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42272e
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x4226a6
cmp cl, 2
je 0x42264d
cmp cl, 3
jne 0x422717
mov byte [eax + 8], 1
jmp 0x422713
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00427bd0
nop
nop
lea eax, [0x536390]
mov dword [esp], eax
call fcn.00408560
nop
mov eax, dword [0x536360]
sub eax, dword [0x536348]
mov dword [0x536360], eax
mov eax, dword [0x536354]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x536354], ecx
nop
lea eax, [0x536390]
mov dword [esp], eax
call fcn.00408760
jmp 0x422713
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00411eb0
nop
nop
lea eax, [0x536390]
mov dword [esp], eax
call fcn.00408560
nop
mov eax, dword [0x53633c]
sub eax, dword [0x536324]
mov dword [0x53633c], eax
mov eax, dword [0x536330]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x536330], ecx
nop
nop
lea eax, [0x536390]
mov dword [esp], eax
call fcn.00408760
add esp, 0x14
ret
lea eax, [0x4a18e3]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004305d0
nop
call fcn.00456c30
jmp fcn.00422610