joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443630
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
cmp dword [ebp + 0xc], 0
je 0x44364f
mov dword [ebp + 0xc], 0
jmp 0x443680
lea eax, [edi + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x443680
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x4436fc
test ebx, ebx
je 0x443680
cmp ebx, 0x217
jne 0x4436b9
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 0x10]
push ebx
push 0x443610
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
test eax, eax
je 0x4436a2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push edi
call fcn.004435a0
add esp, 8
test eax, eax
jne 0x443640
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
call fcn.00440780
push eax
push str.Error_while_listening_to_named_pipe:__s
call fcn.00405a80
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x2c]
push edi
push 0
push dword [eax + 0xc]
mov esi, dword [ecx]
call fcn.00441b90
add esp, 4
push eax
mov eax, dword [ebp + 8]
push 1
push dword [eax + 0x2c]
mov eax, dword [esi]
call eax
push edi
call fcn.00406110
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4447f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push str.plink:
push 2
call fcn.0046a9af
add esp, 4
push eax
call fcn.00404800
add esp, 8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 2
call fcn.0046a9af
add esp, 4
push eax
call fcn.00444ff0
push 2
call fcn.0046a9af
push eax
push 0xa
call fcn.00479b3c
add esp, 0x18
push 1
call fcn.0047aae2
int3

Function at 0x444a50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004013b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x444a6f
pop ebp
jmp fcn.0043e560
pop ebp
ret
Function at 0x444fc0
Capabilities:
Terminate process

Disassembly:
push esi
push 0x4a4ef0
call fcn.004057b0
mov esi, eax
push esi
push 0x4adb28
push str.plink:__s_n_s_n
call fcn.00444b60
push esi
call fcn.00406110
add esp, 0x14
push 0
call fcn.0047aae2
int3
Function at 0x4454c0
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4bf1cc], 0
jne 0x445647
push esi
push str.advapi32.dll
mov dword [0x4bf1cc], 1
call fcn.004406c0
add esp, 4
mov dword [0x4bf1d4], eax
test eax, eax
je 0x44563e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x4c0580], eax
test eax, eax
je 0x44563e
mov eax, dword [0x4bf1d4]
test eax, eax
je 0x445634
push str.SetSecurityInfo
push eax
call esi
mov dword [0x4c057c], eax
test eax, eax
je 0x44563e
mov eax, dword [0x4bf1d4]
test eax, eax
je 0x445621
push str.OpenProcessToken
push eax
call esi
mov dword [0x4c0590], eax
test eax, eax
je 0x44563e
mov eax, dword [0x4bf1d4]
test eax, eax
je 0x44560e
push str.GetTokenInformation
push eax
call esi
mov dword [0x4c058c], eax
test eax, eax
je 0x44563e
mov eax, dword [0x4bf1d4]
test eax, eax
je 0x4455fb
push 0x4b08c4
push eax
call esi
mov dword [0x4c0588], eax
test eax, eax
je 0x44563e
mov eax, dword [0x4bf1d4]
test eax, eax
je 0x4455e8
push 0x4b08e4
push eax
call esi
mov dword [0x4c0584], eax
test eax, eax
je 0x44563e
mov eax, dword [0x4bf1d4]
test eax, eax
je 0x4455d5
push str.SetEntriesInAclA
push eax
call esi
mov dword [0x4c0578], eax
test eax, eax
je 0x44563e
mov eax, 1
mov dword [0x4bf1d0], eax
pop esi
ret
xor eax, eax
mov dword [0x4c0578], 0
mov dword [0x4bf1d0], eax
pop esi
ret
xor eax, eax
mov dword [0x4c0584], 0
mov dword [0x4bf1d0], eax
pop esi
ret
xor eax, eax
mov dword [0x4c0588], 0
mov dword [0x4bf1d0], eax
pop esi
ret
xor eax, eax
mov dword [0x4c058c], 0
mov dword [0x4bf1d0], eax
pop esi
ret
xor eax, eax
mov dword [0x4c0590], 0
mov dword [0x4bf1d0], eax
pop esi
ret
mov dword [0x4c057c], 0
xor eax, eax
mov dword [0x4bf1d0], eax
pop esi
ret
mov eax, dword [0x4bf1d0]
ret
Function at 0x4468f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea edi, [eax + eax*2]
push 1
push edi
call fcn.00406130
mov esi, dword [ebp + 8]
add esp, 8
mov ebx, eax
mov edx, dword [esi + 4]
push edi
push ebx
push edx
push dword [esi]
lea ecx, [edx + 1]
mov dword [esi + 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x446941
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.00447400
push ebx
call fcn.00406110
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
call fcn.00406110
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x446aa0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov al, byte [esi]
test al, al
je 0x446b0f
mov edx, dword [ebp + 0xc]
cmp al, 0x20
je 0x446ad7
cmp al, 0x5c
je 0x446ad7
cmp al, 0x2a
je 0x446ad7
cmp al, 0x3f
je 0x446ad7
cmp al, 0x25
je 0x446ad7
lea ecx, [eax - 0x20]
cmp cl, 0x5e
ja 0x446ad7
cmp al, 0x2e
jne 0x446afa
test edi, edi
jne 0x446afa
mov byte [edx], 0x25
movzx eax, byte [esi]
shr eax, 4
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
mov byte [edx + 1], al
add edx, 2
movzx eax, byte [esi]
and eax, 0xf
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
inc esi
mov byte [edx], al
inc edx
mov edi, 1
mov al, byte [esi]
test al, al
jne 0x446ab3
pop edi
mov byte [edx], al
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov byte [eax], 0
pop ebp
ret

Function at 0x446cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4bd800]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
call fcn.00446410
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x446d3b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
je 0x446d33
nop dword [eax]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x446d33
push eax
lea eax, [ebp - 0x404]
push eax
call ebx
add esp, 8
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
jne 0x446d00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x446ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x446f3d
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x446f3d
cmp dword [ebp + 8], 1
jne 0x446f3d
mov eax, dword [ebp - 4]
push esi
inc eax
push 1
push eax
call fcn.00406130
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x446f2c
cmp dword [ebp + 8], 1
jne 0x446f2c
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00406110
add esp, 4
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x446f50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4bd800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
push eax
push 0
push esi
call edi
test eax, eax
jne 0x446fe3
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop word [eax + eax]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x446fbf
push dword [ebp - 0x110]
call fcn.00446f50
add esp, 4
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
call edi
test eax, eax
je 0x446f90
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449f7b
mov esp, ebp
pop ebp
ret

Function at 0x447020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447030
sub ecx, edx
mov edx, dword [ebp + 0x10]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x447040
sub edx, esi
push 1
lea eax, [edx + 5]
add eax, ecx
lea eax, [eax + eax*2]
push eax
call fcn.00406130
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push edi
push esi
call fcn.00446a20
add esp, 0x18
lea eax, [ebp - 4]
push eax
push str.SoftwareSimonTathamqwertSshHostKeys
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4470b5
mov edx, dword [ebp + 0x14]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447090
sub ecx, edi
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00406110
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447360
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4473ac
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44739f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x44739f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00440780
push eax
push dword [ebp + 8]
push str.Unable_to_delete__s:__s
call fcn.00444b00
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
xor eax, eax
pop ebp
ret
xor eax, eax
mov edx, 0x80
push 0
cmp ecx, 2
cmove eax, edx
push eax
xor eax, eax
cmp ecx, 2
setne al
xor edx, edx
add eax, 2
cmp ecx, 2
push eax
push 0
mov eax, 3
cmove eax, edx
mov edx, 0x40000000
push eax
mov eax, 0x80000000
cmove eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 0x10]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
setne al
mov dword [ecx], edx
pop ebp
ret
Function at 0x447760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
call fcn.00446410
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x447790
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44ab61
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44aba0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44aba0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44aba0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44aba0
cmp dword [ecx + 0x74], 0xe
jbe 0x44aba0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x480398
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047ff90

Function at 0x4803a3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048011a

Function at 0x48a3a8
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048a27c

Function at 0x48cc94
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048c65c

Function at 0x49b970
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49b99d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49b99d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100137df
Capabilities:
Generate random numbers via winapi

Disassembly:
call fcn.100b0a27
sub byte [eax], al
add byte [eax - 0x64846fe], al
sub esp, dword [ebx + 0x14]
xchg esp, eax
or esi, dword [ebp + 0xd508a03]
sbb eax, 0x6e64b0a0
dec ebx
jae 0x1001385c
dec edi
lds esi, [edx - 0x7b1f398d]
out dx, al
out dx, eax
ljmp 0xfdb3
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x10120740], 1
je 0x10013871
mov esi, 0x8000ffff
jmp 0x10013899
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x10120730]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x100138be
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.100cee0a
mov esi, eax
test esi, esi
jge 0x100138be
mov eax, dword [0x1011faf4]
cmp eax, 0x1011faf4
je 0x100138be
test byte [eax + 0x3c], 2
je 0x100138be
push esi
push 0x100034d8
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.100cee0a
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x100cee0a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x100cee19
pop dword [ebp - 0x1c]
mov eax, 0x100cee19
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x57e11
push 0
mov eax, 0xbceff043
add eax, 0x53102081
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x4741a164
add ecx, 0xb8bea579
mov edi, eax
mov ebx, 0x78485f9
add ebx, 0x88ef207
add ebx, dword [ebp - 0x1c]
mov edx, 0x85d3d800
sub edx, 0xd43bc993
xor dword [ebp - 4], 0x681c08bf
mov esi, dword [ebx]
mov dword [ebp - 8], 0xb1f5b8c9
sub esi, edx
add dword [ebp - 0x18], 0x7f952852
mov dword [edi], esi
sub dword [ebp - 0x14], edi
add edi, 4
add ebx, 0x4283003d
add ebx, 0xbd7cffc7
loop 0x100cee73
add eax, 0x196b7922
sub eax, 0x196a6adb
xor ebx, ebx
add ebx, eax
add eax, 0x64e744ac
add eax, 0x9b18bb59
mov ecx, 0x4d8c4cd4
add ecx, 0xc273b32c
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x42f220
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ed928]
xor edx, edx
cmp eax, edx
jne 0x42f246
xor eax, eax
mov byte [eax + 0x4ed828], al
inc eax
cmp eax, 0x100
jl 0x42f22e
mov dword [0x4ed928], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ed828
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42f2d7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42f2aa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42f278
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42f350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42f3a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42f38a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x433951
cmp eax, 8
jg 0x433951
cmp dword [esp + 0x8c], 2
jl 0x433951
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x433951
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x433951
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4337b7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x43393a
mov ebp, dword [0x4b04b0]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4337e9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x433921
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x433809
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x4b049c]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x433848
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4b04a4]
lea ecx, [esp + 0x28]
push ecx
call dword [0x4b04ec]
test eax, eax
jne 0x433908
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00432d40
cmp eax, 1
jne 0x433932
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004335f0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4337fd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x43393a
jmp 0x4337d4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00432940
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x4363d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x436568
cmp ebp, ebx
jle 0x436568
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43642e
dec eax
or eax, 0xfffffff8
inc eax
je 0x436435
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x436444
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43644b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0049f9f0
add esp, 4
cmp eax, ebx
je 0x43646c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0049f9f0
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43655e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x436545
mov al, byte [edx]
cmp al, 0xc0
jbe 0x436531
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x436526
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x436534
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x436534
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4364d0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4364c1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x43dfa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ad298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0043eb20
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x4b0470]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x4b04ec]
test eax, eax
je 0x43e049
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0043dc30
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x4b04b0]
push edi
lea ecx, [esp + 0x4c]
call fcn.004a6678
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00454000
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x4b0074]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x4b0514]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x4b04a4]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.004a66ea
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14