joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c210
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
add edx, 0xfffffffd
mov eax, dword [edi + 0x10]
mov ebx, dword [eax]
cmp edx, 4
ja case.0x1002c226.4
jmp dword [edx*4 + 0x1002c44c]
lea ecx, [edi + 0x15c]
call fcn.1002bb30
movzx ecx, word [edi + 0x40]
movzx esi, ax
lea eax, [ecx + 1]
and eax, 0xffff
cmp eax, esi
jne 0x1002c254
mov dword [edi + 0x18], 0
jmp 0x1002c26b
cmp ecx, esi
jne 0x1002c2e5
push esi
push str.Received_last_DATA_packet_block__d_again._n
push ebx
call fcn.10022fe0
add esp, 0xc
mov edx, 4
mov word [edi + 0x40], si
lea ecx, [edi + 0x160]
call fcn.1002bae0
mov dx, word [edi + 0x40]
lea ecx, [edi + 0x160]
call fcn.1002bb00
push dword [edi + 0x148]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x1002c3bb
mov eax, dword [edi + 0x154]
xor ecx, ecx
add eax, 4
cmp dword [edi + 0x14c], eax
lea eax, [edi + 0x38]
push eax
setl cl
lea ecx, [ecx*2 + 1]
mov dword [edi], ecx
call fcn.1003d5da
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push eax
push esi
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
push ebx
call fcn.10022fe0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
ret
xor eax, eax
lea ecx, [edi + 0x160]
mov word [edi + 0x40], ax
mov dword [edi + 0x18], eax
lea edx, [eax + 4]
call fcn.1002bae0
mov dx, word [edi + 0x40]
lea ecx, [edi + 0x160]
call fcn.1002bb00
push dword [edi + 0x148]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x1002c3bb
lea eax, [edi + 0x38]
mov dword [edi], 1
push eax
call fcn.1003d5da
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
movzx eax, word [edi + 0x40]
inc dword [edi + 0x18]
inc eax
push dword [edi + 0x18]
and eax, 0xffff
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebx
call fcn.10022fe0
mov eax, dword [edi + 0x18]
add esp, 0x10
cmp eax, dword [edi + 0x20]
jle 0x1002c397
mov dword [edi + 8], 0xffffff9d
xor eax, eax
mov dword [edi], 3
pop edi
pop esi
pop ebx
ret
push dword [edi + 0x148]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x1002c428
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [edi + 0x10]
mov edx, eax
call fcn.10029470
push eax
push 0x10057458
push ebx
call fcn.10023060
mov eax, 0x37
add esp, 0xc
pop edi
pop esi
pop ebx
ret
mov edx, 5
lea ecx, [edi + 0x160]
call fcn.1002bae0
mov dx, word [edi + 0x40]
lea ecx, [edi + 0x160]
call fcn.1002bb00
push dword [edi + 0x148]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [edi], 3
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.tftp_rx:_internal_error
push 0x10057458
push ebx
call fcn.10023060
add esp, 0xc
mov eax, 0x47
pop edi
pop esi
pop ebx
ret
Function at 0x1002caf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x10062400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x8c], 0x80
push edi
mov dword [ebp - 0x90], eax
mov esi, dword [eax + 0x5e8]
mov edi, dword [eax]
lea ebx, [esi + 0x15c]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [ebx]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x1002cb82
push dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.10047bf0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov dword [esi + 0x148], eax
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x1002cbb5
push str.Received_too_short_packet
push edi
call fcn.10023060
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003bca3
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.1002bb20
movzx eax, ax
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x1002cbce
jmp dword [eax*4 + 0x1002cce8]
cmp edx, 4
jle case.0x1002cbce.4
mov ecx, ebx
call fcn.1002bb30
movzx ecx, word [esi + 0x40]
inc ecx
cmp cx, ax
jne case.0x1002cbce.4
mov ecx, dword [ebp - 0x90]
lea eax, [edx - 4]
push eax
mov eax, dword [ebx]
mov edx, 1
add eax, 4
push eax
call fcn.10023620
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1002cc35
mov edx, 5
mov ecx, esi
call fcn.1002c860
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003bca3
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14c]
mov ecx, edi
sub eax, 4
cdq
add dword [edi + 0x70], eax
adc dword [edi + 0x74], edx
push dword [edi + 0x74]
push dword [edi + 0x70]
call fcn.10020e30
add esp, 8
jmp case.0x1002cbce.4
mov ecx, ebx
call fcn.1002bb30
movzx eax, ax
mov dword [esi + 8], eax
mov eax, dword [ebx]
add eax, 4
push eax
push 0x10056c68
push edi
call fcn.10022fe0
jmp 0x1002ccaf
lea eax, [edx - 2]
mov ecx, esi
mov edx, dword [ebx]
push eax
add edx, 2
call fcn.1002bbc0
add esp, 4
test eax, eax
je case.0x1002cbce.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003bca3
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x10057458
push edi
call fcn.10023060
add esp, 0xc
mov ecx, dword [ebp - 0x90]
call fcn.10021000
test eax, eax
je 0x1002cba2
mov edx, 5
mov ecx, esi
call fcn.1002c860
mov ecx, dword [ebp - 4]
mov eax, 0x2a
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bca3
mov esp, ebp
pop ebp
ret
Function at 0x10035e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.10023b40
push eax
push edx
push esi
call fcn.100455e4
add esp, 0xc
pop esi
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x21a3324c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x50cc2308
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bf030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x4c1b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c1b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c1b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c1b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4c1b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4c1b74], eax
mov eax, dword [0x4c1b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x4c1b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x4c1b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x4c1b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x4c1b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c1b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x4bf030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2c9f55c]
push ebx
mov ebx, dword [0x2c9f280]
push esi
mov esi, dword [0x4bff60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.Kapoza_yodiralozor
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2c9f55c]
mov dword [0x4c1d0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2c9f55c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x403944
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x433634
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x43363a
ret
Function at 0x487c90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x605788]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x487e69
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047fe28
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00481050
mov eax, dword [esi]
call fcn.0046e4f0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x487d02
mov eax, dword [esi]
call fcn.0046e4f0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0046e4fc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x487d26
mov eax, dword [esi]
call fcn.0046e4fc
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046e4e4
cmp eax, dword [ebp - 0x18]
jle 0x487d3c
mov eax, dword [esi]
call fcn.0046e4e4
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046e4d8
cmp eax, dword [ebp - 0xc]
jle 0x487d52
mov eax, dword [esi]
call fcn.0046e4d8
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00486618
push eax
call fcn.004088e8
call fcn.00407d60
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x487e19
mov eax, ebx
call fcn.004052e0
cmp eax, 0x64
jge 0x487e19
cmp dword [0x5fd83c], 0
je 0x487e19
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00408948
cmp dword [ebp - 8], 0
je 0x487e19
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00408948
cmp dword [ebp - 8], 0
je 0x487ddc
mov bl, 2
jmp 0x487df7
lea edx, [ebp - 0x20]
mov eax, dword [0x609108]
call fcn.0048af28
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x487df5
xor ebx, ebx
jmp 0x487df7
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x5fd944]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.00486618
push eax
call dword [0x5fd83c]
mov eax, dword [0x605338]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00483d14
push 4
mov eax, dword [ebp - 4]
call fcn.00486618
push eax
call fcn.00408938
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487e70
call fcn.00407d60
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4f3e18
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f3f14
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x30], 1
mov byte [ebx + 0xa], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov byte [ebx + 0xb], 0
xor eax, eax
mov dword [ebx + 0x10], eax
mov byte [ebx + 9], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x64]
call fcn.00405010
lea eax, [ebx + 0x68]
call fcn.00405010
mov eax, dword [ebx + 0x34]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x38]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x3c]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x40]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x44]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x48]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x4c]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x50]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x54]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x58]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x5c]
mov si, 0xffff
call fcn.004043ac
mov eax, dword [ebx + 0x60]
mov si, 0xffff
call fcn.004043ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f3f1e
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f6230
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x4f6245
or edx, 0x200
test eax, 0x20000000
je 0x4f6278
test eax, 0x40000000
je 0x4f6264
test eax, 0x80000000
je 0x4f625f
or edx, 0x40
jmp 0x4f629f
or edx, 0x20
jmp 0x4f629f
test eax, 0x80000000
je 0x4f6273
or edx, 0x80
jmp 0x4f629f
or edx, 0x10
jmp 0x4f629f
test eax, 0x40000000
je 0x4f6290
test eax, 0x80000000
je 0x4f628b
or edx, 4
jmp 0x4f629f
or edx, 2
jmp 0x4f629f
test eax, 0x80000000
je 0x4f629c
or edx, 8
jmp 0x4f629f
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x5022fc
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x502389
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.004bd0e0
mov ebx, eax
lea eax, [ebx + 4]
call fcn.00405010
lea eax, [ebx + 8]
call fcn.00405010
lea eax, [ebx + 0xc]
call fcn.00405010
lea eax, [ebx + 0x10]
call fcn.00405010
lea eax, [ebx + 0x1c]
call fcn.00405010
lea eax, [ebx + 0x20]
call fcn.00405010
lea eax, [ebx + 0x24]
call fcn.00405010
lea eax, [ebx + 0x28]
call fcn.00405010
lea eax, [ebx + 0x2c]
call fcn.00405010
lea eax, [ebx + 0x30]
call fcn.00405010
lea eax, [ebx + 0x34]
call fcn.00405010
lea eax, [ebx + 0x18]
call fcn.00405010
lea eax, [ebx + 0x14]
call fcn.00405010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x502393
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x51c9a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x51cb17
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x51caf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x5f6d6c]
call fcn.005f7cbc
mov esi, eax
lea edx, [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004dc728
mov eax, dword [ebp - 4]
push eax
push esi
lea edx, [ebp - 8]
mov eax, dword [ebx + 8]
call fcn.004dc728
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 4]
call fcn.004dc728
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x10]
pop ecx
call fcn.0051c778
lea eax, [esi + 0x54]
mov edx, dword [ebx + 0x34]
call fcn.00405064
lea eax, [esi + 0x4c]
mov edx, dword [ebx + 0x30]
call fcn.00405064
mov eax, dword [ebx + 0x30]
call fcn.005f3308
mov word [esi + 0x58], ax
mov al, byte [ebx + 0x58]
mov byte [esi + 0x60], al
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x78], eax
lea eax, [esi + 0x7c]
mov edx, dword [ebx + 4]
call fcn.00405064
lea eax, [esi + 0x80]
mov edx, dword [ebx + 8]
call fcn.00405064
lea eax, [esi + 0x84]
mov edx, dword [ebx + 0xc]
call fcn.00405064
lea eax, [esi + 0x88]
mov edx, dword [ebx + 0x1c]
call fcn.00405064
lea eax, [esi + 0x94]
mov edx, dword [ebx + 0x2c]
call fcn.00405064
lea eax, [esi + 0x8c]
mov edx, dword [ebx + 0x24]
call fcn.00405064
lea eax, [esi + 0x98]
mov edx, dword [ebx + 0x28]
call fcn.00405064
lea eax, [esi + 0x90]
mov edx, dword [ebx + 0x20]
call fcn.00405064
lea eax, [esi + 0x9c]
mov edx, dword [ebx + 0x18]
call fcn.00405064
mov eax, esi
call fcn.005f7de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51cafc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cb1e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405718
ret
Function at 0x5492a8
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov dword [esp], edx
mov ebx, eax
mov byte [ebx + 0x1069], 1
lea edx, [esp + 4]
mov ecx, 8
mov eax, dword [ebx + 0x38]
mov esi, dword [eax]
call dword [esi + 0xc]
mov al, byte [esp + 0xb]
mov byte [esp + 0xc], al
mov al, byte [esp + 0xa]
mov byte [esp + 0xd], al
mov al, byte [esp + 9]
mov byte [esp + 0xe], al
mov al, byte [esp + 8]
mov byte [esp + 0xf], al
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.0040310c
mov esi, 8
jmp 0x549389
lea edx, [esp + 4]
mov ecx, 4
mov eax, dword [ebx + 0x38]
mov edi, dword [eax]
call dword [edi + 0xc]
mov al, byte [esp + 7]
mov byte [esp + 0xc], al
mov al, byte [esp + 6]
mov byte [esp + 0xd], al
mov al, byte [esp + 5]
mov byte [esp + 0xe], al
mov al, byte [esp + 4]
mov byte [esp + 0xf], al
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.0040310c
mov eax, 4
call fcn.0040bf90
mov edx, dword [esp + 0x14]
mov dword [eax], edx
mov edx, eax
mov eax, dword [ebx + 0x20]
call fcn.0049f414
add esi, 4
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 8]
cdq
push edx
push eax
mov eax, dword [esp + 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x549385
cmp eax, dword [esp]
pop edx
pop eax
ja 0x549389
jmp 0x5493af
pop edx
pop eax
jle 0x5493af
mov eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 8]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5493a7
cmp eax, dword [esp]
pop edx
pop eax
ja 0x549307
jmp 0x5493af
pop edx
pop eax
jg 0x549307
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x54a76c
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x54a784
add esp, 0xfffffff0
call fcn.0040451c
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x24]
xor eax, eax
push ebp
push 0x54a8f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 4]
mov edx, edi
call fcn.00405064
lea eax, [ebx + 0x38]
mov edx, dword [ebp + 0x20]
call fcn.00405064
lea eax, [ebx + 0x40]
mov edx, dword [ebp + 0x1c]
call fcn.00405064
lea eax, [ebx + 0x3c]
mov edx, dword [ebp + 0x18]
call fcn.00405064
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 8]
mov edx, dword [ebp + 8]
call fcn.00405064
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x70], eax
mov byte [ebx + 0x44], 0
lea eax, [ebx + 0xc]
call fcn.00405010
lea eax, [ebx + 0x10]
call fcn.00405010
lea eax, [ebx + 0x14]
call fcn.00405010
lea eax, [ebx + 0x18]
call fcn.00405010
lea eax, [ebx + 0x2c]
call fcn.00405010
lea eax, [ebx + 0x1c]
call fcn.00405010
lea eax, [ebx + 0x20]
call fcn.00405010
lea eax, [ebx + 0x28]
call fcn.00405010
mov byte [ebx + 0x31], 0
mov byte [ebx + 0x30], 0
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
xor eax, eax
mov dword [ebx + 0x68], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], 0x3ff00000
xor eax, eax
mov dword [ebx + 0x8c], eax
mov eax, dword [0x604f38]
mov eax, dword [eax]
call fcn.0040592c
xor edx, edx
call fcn.0042ca50
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040593c
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, esi
call fcn.00405adc
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.005f8a44
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x34]
call fcn.0040573c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a8f8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405718
ret