joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b180
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x480
mov ecx, dword [esp + 0x484]
mov dword [esp], 0x378
test ecx, ecx
je 0x46b241
mov eax, dword [esp + 0x488]
test eax, eax
je 0x46b241
lea edx, [esp]
push edx
lea edx, [esp + 0x10c]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46b241
cmp dword [esp], 0x378
jne 0x46b241
lea eax, [esp + 4]
push 0x104
lea ecx, [esp + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x46b241
lea edx, [esp + 4]
push edx
call fcn.0046ac10
add esp, 4
test eax, eax
je 0x46b241
cmp dword [esp + 0x234], 1
jne 0x46b233
cmp dword [esp + 0x258], 2
jne 0x46b233
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x46b241
push str.WSPStartup
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46b241
mov eax, 1
add esp, 0x480
ret 8
xor eax, eax
add esp, 0x480
ret 8

Function at 0x46b250
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
test esi, esi
je 0x46b2af
push esi
call fcn.0046ac10
add esp, 4
test eax, eax
je 0x46b2af
lea eax, [esp + 4]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x46b2af
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x46b2af
push 0x634510
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x104
ret 4
xor eax, eax
pop esi
add esp, 0x104
ret 4
Function at 0x46b340
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov ebx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
jne 0x46b374
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.0046b250
test eax, eax
jne 0x46b38d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.0046b2c0
cmp eax, 1
je 0x46b51a
lea eax, [esp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x46b3c6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
jne 0x46b442
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46b4c2
mov eax, dword [esp + 0x14]
push str.PackedCatalogItem
push eax
mov ecx, ebx
call fcn.0046b180
mov ecx, dword [esp + 0x14]
test eax, eax
push ecx
je 0x46b4d9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
inc esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x46b3e2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
xor esi, esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x46b490
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push ebp
push edx
push eax
mov ecx, ebx
call fcn.0046ae30
test eax, eax
je 0x46b4c2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
inc esi
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
je 0x46b45e
cmp dword [esp + 0x18], 1
jb 0x46b4c2
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
dec ecx
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
push ebp
push str.FileName
mov ecx, ebx
call fcn.0046ad10
cmp eax, 1
je 0x46b50b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46b4e9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
jmp 0x46b4c2
push ebp
mov ecx, ebx
call fcn.0046b530
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46b51a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret 4
Function at 0x46b530
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x46b562
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.0046b2c0
test eax, eax
jne 0x46b57f
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x46b5a6
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x46b5f4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.0046afd0
test eax, eax
jne 0x46b5dd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x46b5c3
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, edi
call fcn.0046ada0
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x46b617
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x4744c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x667768]
xor edx, edx
cmp eax, edx
jne 0x4744e6
xor eax, eax
mov byte [eax + 0x667668], al
inc eax
cmp eax, 0x100
jl 0x4744ce
mov dword [0x667768], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x667668
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x474577
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 0x47454a
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 0x474518
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x474580
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 0x4745d3
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 0x4745ba
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 0x47af90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b21fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0047b8b0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x61476c
call fcn.004a1013
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47b023
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a1013
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47b01c
push 0
mov ecx, eax
call fcn.00472100
mov dword [esi + 0xc], eax
jmp 0x47b025
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47b025
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4a3762
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a379a
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.004a1779
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a1751
jmp 0x4a37a6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a4e57
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 0x4a4e99
call fcn.004aab3e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a4e99
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a4e90
xor eax, eax
jmp 0x4a4ea1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a4ea7
pop edi
pop esi
pop ebx
ret 4
Function at 0x4ab06e
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 0x4ab09c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ab0ba
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004aafd4
jmp 0x4ab0ba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ab0ba
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004aafd4
test edi, edi
mov eax, edi
jne 0x4ab0a4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4011e7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
xor eax, eax
mov ecx, 0x18
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
call fcn.0053e560
mov eax, esp
lea ecx, [esp + 0x58]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call eax
sub esp, 4
xor eax, eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0xebabaa
mov edx, dword [sym.imp.GDI32.dll_GetPixelFormat]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
call edx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x44]
sub edx, 0xf
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
je 0x401372
jmp 0x40127d
mov eax, dword [esp + 0x44]
sub eax, 0x2f
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jne 0x4012fb
jmp 0x401294
mov eax, esp
mov dword [eax + 4], 0xf0e79d
mov dword [eax], 0xe60828
mov eax, dword [sym.imp.GDI32.dll_GetClipRgn]
call eax
sub esp, 8
xor ecx, ecx
mov edx, 0x1c
mov esi, dword [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
call fcn.0053e560
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax + 4], ecx
mov dword [eax], 0xf6dfca
mov eax, dword [sym.imp.USER32.dll_TranslateMDISysAccel]
call eax
sub esp, 8
mov dword [esp + 0x1c], eax
jmp 0x401372
mov eax, dword [esp + 0x2c]
mov ecx, 0x30dad3
mov dword [esp + 0x74], ecx
add eax, 1
mov ecx, esp
lea edx, [esp + 0x74]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x76d
mov dword [ecx], 0x30dad3
mov ecx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [esp + 0x18], eax
call ecx
sub esp, 0xc
mov ecx, dword [sym.imp.USER32.dll_EndMenu]
mov dword [esp + 0x14], eax
call ecx
mov ecx, esp
mov dword [ecx + 4], 0x499
mov dword [ecx], 0xf0c
mov ecx, dword [sym.imp.ole32.dll_CoCancelCall]
mov dword [esp + 0x10], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x18]
cmp ecx, 0xa
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], ecx
je 0x401384
jmp 0x4012fb
mov eax, dword [esp + 0x44]
add eax, 1
mov dword [esp + 0x48], eax
jmp 0x40123f
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, 0x109
mov dword [esp + 0x48], eax
jne 0x40123f
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x53e96c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a4b60]
jne 0x53e976
repz ret
jmp fcn.0053ec1d
Function at 0x53f70c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x5a4b40], 0
mov byte [0x5a4b44], 0
mov dword [0x5a4b34], 0x19f5
mov dword [0x5a4b3c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x5a4b34]
add eax, 0x1e60
mov dword [0x5a4b38], eax
mov esi, dword [0x5a4b3c]
add esi, 1
mov dword [0x5a4b3c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x53f751
xor eax, eax
mov ecx, 0x1a82
mov dword [0x5a4b34], 0x1a82
mov dword [0x5a4b3c], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [ebp - 0x30], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x34], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov ebx, dword [ebp - 0x30]
add ebx, 0xffffe791
mov dword [0x5a4b48], 0
mov edi, dword [ebp - 0x34]
add edi, 0xffffe1b1
mov dword [0x5a4b38], edi
mov edi, dword [0x5a4b40]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x38]
movzx ecx, byte [ecx + edx]
add ecx, edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
movzx edx, byte [edi + edx]
add ecx, edx
mov dword [0x5a4b48], ecx
mov eax, ecx
cdq
idiv esi
mov dword [0x5a4b40], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x5a4b44], cl
mov dword [0x5a4b38], ebx
mov ebx, dword [ebp - 0x18]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x5a4b44]
mov edx, dword [0x5a4b40]
mov byte [ebx + edx], cl
mov edx, dword [0x5a4b3c]
add edx, 1
mov dword [0x5a4b3c], edx
cmp edx, 0x100
mov dword [ebp - 0x40], edx
jge 0x53f890
mov eax, dword [0x5a4b34]
mov ecx, dword [0x5a4b38]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x53f7b4
mov dword [0x5a4b38], 0x2635
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x53f8a2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [0x5a4b34], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x5a4b34], 0x12cc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
je 0x53f920
mov eax, 0x19cd
mov ecx, dword [ebp - 0x18]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
jl 0x53f8e1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [0x5a4b38], eax
mov dword [0x5a4b34], 0x6b6
mov eax, dword [ebp - 0x10]
cmp word [eax + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jne 0x53f9ef
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x28], eax
jne 0x53f9ef
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x28], eax
jne 0x53f9ef
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x28], eax
jne 0x53f9ef
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x28], eax
jne 0x53f9ef
xor eax, eax
mov dword [0x5a4b34], 0xffffe770
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
jne 0x53f9ef
xor eax, eax
mov dword [0x5a4b34], 0x251c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
jne 0x53f9ef
mov eax, 1
mov dword [0x5a4b38], 0x369d
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x53fd0f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x5a4b34]
add esi, 0xffffe61c
mov dword [0x5a4b38], esi
mov dword [0x5a4b34], 0x1cc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x53fe1c
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov dword [0x5a4b38], 0x12d8
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x5a4b38]
add ecx, 0x206f
mov dword [0x5a4b34], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.0053fa91
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x5a4b34], 0x22f9
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x5a4b38], 0x2203
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x10], ecx
mov esi, dword [0x5a4b34]
add esi, 0xffffe791
mov dword [0x5a4b34], esi
add ecx, 0x10fc
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x53fe13
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x5413ea]
mov dh, byte [eax + 0x5413bb]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x53fe1c
lea eax, [ebp - 0x24]
mov dword [0x5a4b34], 0x179a
mov dword [ebp - 0x44], eax
call fcn.0053f346
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.0053f1b2
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x53fd48
jmp 0x53fd50
Function at 0x53ff0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x5a4b34], 0x15d2
mov dword [0x5a4b38], 0x1167
mov dword [ebp - 0x10], eax
call fcn.00540322
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x53ff5f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x5a4b38], 0xfffffc1e
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x5a4b34], 0x901
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x54008d
jmp 0x53ffd1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x5a4b38], 0x1167
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x53ffe3
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x53ffab
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x540035
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x52]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x53ffe3
mov al, byte [ebp - 0x52]
test al, 1
jne 0x540068
jmp 0x54003e
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x53ffab
jmp 0x54008d
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x5a4b38], 0x1d20
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret