joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498b1c
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x62d588], 0
push ebx
push esi
mov esi, 0x62d590
jne 0x498b48
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x62d5a8], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x62d588], 1
push dword [0x62d5a8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x498be5
push 0x14
push 8
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x498c0f
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x62d58c]
test eax, eax
je 0x498b8a
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x62d58c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x498c14
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x62d5a8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x498c0f
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x402b54
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402bec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402bcc
xor eax, eax
push ebp
push 0x402bc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402bcc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403498
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x4034f9
cmp word [0x40a218], 0xd7b2
jne 0x4034c1
cmp dword [0x40a220], 0
jbe 0x4034c1
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403520
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403515
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x403ea0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4040d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403f23
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4040d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403f23
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4040ec
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403fac
xor eax, eax
push ebp
push 0x403fa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403ce8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f8a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40410c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f8a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403fac
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4040c6
cmp byte [ebp - 0xd], 0
jne 0x403ff3
cmp byte [ebp - 0x12], 0
je 0x4040c6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40400c
dec ebx
cmp byte [ebx], 0x2e
je 0x40401b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40400b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4040c6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404058
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4040c6
cmp byte [ebp - 0xd], 0
je 0x4040c6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4040c6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403fac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4040d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403f23
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4040d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403f23
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4040ec
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403fac
xor eax, eax
push ebp
push 0x403fa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403ce8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f8a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40410c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f8a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403fac
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4040c6
cmp byte [ebp - 0xd], 0
jne 0x403ff3
cmp byte [ebp - 0x12], 0
je 0x4040c6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40400c
dec ebx
cmp byte [ebx], 0x2e
je 0x40401b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40400b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4040c6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404058
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4040c6
cmp byte [ebp - 0xd], 0
je 0x4040c6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4040c6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40425c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4042c2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040387c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402748
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4042ac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4042c9
lea eax, [ebp - 0x10]
call fcn.00403634
ret

Function at 0x406870
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4068a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403724
jmp 0x4068b2
mov eax, ebx
mov edx, esi
call fcn.00403688
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4068bc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4068dd
mov al, byte [esp]
jmp 0x4068df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406f64
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406ddc
mov eax, dword [0x4093a4]
cmp byte [eax], 0
je 0x406fe0
mov eax, dword [0x409300]
call fcn.004026c4
call fcn.004025ec
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405d64
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x407028
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x407016
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.00403cac
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407a54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407ab8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040387c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405c38
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407abf
lea eax, [ebp - 0xc]
call fcn.00403634
ret

Function at 0x408588
Capabilities:
Terminate process

Disassembly:
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
test eax, eax
jne 0x40859f
mov eax, 0xfffffffe
ret
push 0
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4085b8
mov eax, 0xfffffffd
jmp 0x4085bd
mov eax, 1
ret

Function at 0x408788
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x408738
call fcn.004044bc
mov eax, 0x40a844
mov edx, 0x44
call fcn.00404630
mov eax, 0x40a888
mov edx, 0x10
call fcn.00404630
mov dword [0x40a870], 0x101
mov dword [0x40a844], 0x44
mov word [0x40a874], 1
mov eax, 0x408810
call fcn.004085c0
push 0x40a888
push 0x40a844
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push 0x408824
push 0
call sub.kernel32.dll_CreateProcessA
call fcn.00403524
add bh, bh
invalid
Function at 0x402990
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405130], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40507c], ecx
mov dword [0x4050b0], 0x30
mov dword [0x4050b4], 2
mov dword [0x4050bc], 0
mov dword [0x4050c0], 0
mov dword [0x4050b8], 0x402f20
jmp 0x4029e3
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4050c4], eax
mov dword [0x4050d0], 0xf
mov dword [0x4050d8], 0x4040ad
mov dword [0x405074], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x4050c8], eax
mov dword [0x4050dc], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4050cc], eax
push 0x4050b0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x405074]
push 0
push 0
push 0x24e
push 0x281
push 0xfffff448
push 0xffffec78
push 0x40000
push 0x4040e6
push 0x4040ad
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x405128], eax
xor eax, eax
jmp 0x402a82
push 5
push dword [0x405128]
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x402ab6
push 0
push 0x24f
push 0x282
push 0xfffff447
push 0xffffec77
push dword [0x405128]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [0x405128]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
push 0x4050e0
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x402aef
push 0x4050e0
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x4050e0
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x402ac2
mov eax, dword [0x4050e8]
jmp 0x402afc
call 0x40213f
ret
Function at 0xc43522
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xc3f650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0xc43540
push eax
call dword [fcn.00c3f020]
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
movzx eax, word [ebx + 0x14]
push dword [ebx + 0x88]
lea eax, [eax + ebx + 0x18]
push ebx
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], eax
call fcn.00c40aa7
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
je 0xc43604
movzx eax, word [ebx + 6]
and dword [ebp - 0x14], 0
test eax, eax
push esi
push edi
jle 0xc435af
mov edi, dword [ebp - 0x10]
push 2
pop ecx
lea esi, [ebp - 0xc]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0xc435af
add dword [ebp - 0x10], 0x28
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0xc43594
cmp dword [ebp - 0x14], eax
je 0xc43602
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x34]
add edx, dword [eax + 0xc]
push 4
pop ecx
mov edi, 0xc40f88
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0xc43602
push 4
pop ecx
mov edi, 0xc40f88
lea esi, [edx + 0x140]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0xc43602
cmp dword [edx + 0x124], eax
je 0xc435f0
push 0xc43324
jmp 0xc435f5
push 0xc4350a
push ebx
push dword [ebp - 0x18]
push edx
call fcn.00c430fb
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00c445aa
leave
ret

Function at 0xc54c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
xor ebp, ebp
test esi, esi
je 0xc54c7f
mov eax, dword [esi + 0x3c]
push ebx
push edi
mov edi, dword [eax + esi + 0x78]
add edi, esi
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0xc54c78
mov edi, edi
mov ecx, dword [edi + 0x20]
lea edx, [ecx + ebx*4]
mov eax, dword [edx + esi]
mov ecx, dword [esp + 0x18]
add eax, esi
push ecx
push eax
call dword [0x1000707c]
test eax, eax
jne 0xc54c70
mov edx, dword [edi + 0x24]
lea eax, [edx + ebx*2]
movzx ecx, word [eax + esi]
mov edx, dword [edi + 0x1c]
lea eax, [edx + ecx*4]
mov ebp, dword [eax + esi]
add ebp, esi
add ebx, 1
cmp ebx, dword [edi + 0x18]
jb 0xc54c40
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
ret
pop esi
mov eax, ebp
pop ebp
ret
Function at 0xc59390
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 1
push 0x10007f98
push 0x10007fa8
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1224], eax
push 0x10007fbc
push 0x10007fcc
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1220], eax
push 0x10007fe0
push 0x10007ff4
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e121c], eax
push 0x10008008
push 0x10008014
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1218], eax
push 0x10008028
push 0x10008038
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1258], eax
push 0x10008054
push 0x10008064
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1254], eax
push 0
call dword [0x1000709c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x62
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x6b
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
jmp 0xc594b1
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x20], edx
jge 0xc59516
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
push 8
lea ecx, [ebp - 0x2c]
push ecx
call dword [0x100e1224]
push 8
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
call dword [0x100e1220]
push 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x10]
push edx
call dword [0x100e121c]
cmp eax, 8
jne 0xc59514
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00c583f0
mov dword [ebp - 8], eax
jmp 0xc59516
jmp 0xc594a8
mov esp, ebp
pop ebp
ret
Function at 0xc754b0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x100b081c
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.00c7afa0
mov dword [esi], eax
mov ecx, 0x20
mov dword [esi + 4], ebx
add esp, 8
mov byte [eax], bl
mov eax, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xac], ecx
push 0x100b2e47
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x10000
mov dword [esp + 0x24], 0x100b2ff8
mov dword [esp + 0x28], 0x20000
mov dword [esp + 0x2c], 0x100b2fe8
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0x34], 0x100b2fdc
mov dword [esp + 0x38], 0x40000
mov dword [esp + 0x3c], 0x100b2fd0
mov dword [esp + 0x40], 0x80000
mov dword [esp + 0x44], 0x100b2fc4
mov dword [esp + 0x48], 0x80000000
mov dword [esp + 0x4c], 0x100b2fb4
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x54], 0x100b2fa4
mov dword [esp + 0x58], 0x20000000
mov dword [esp + 0x5c], 0x100b2f94
mov dword [esp + 0x60], 0x10000000
mov dword [esp + 0x64], 0x100b2f88
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x100b2f78
mov dword [esp + 0x70], 0x80
mov dword [esp + 0x74], 0x100b2f60
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], 0x100b2f50
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], 0x100b2f40
mov dword [esp + 0x88], 0x100
mov dword [esp + 0x8c], 0x100b2f28
mov dword [esp + 0x90], 0x10
mov dword [esp + 0x94], 0x100b2f18
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0x100b2f04
mov dword [esp + 0xa4], 0x100b2ef4
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x100b2ee0
mov dword [esp + 0xb4], 0x100b2ed0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00c60640
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.00c60640
cmp ebp, ebx
je 0xc7566f
push ebp
call fcn.00c7b000
add esp, 4
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test dword [esp + 0x120], eax
je 0xc756a4
not eax
and dword [esp + 0x120], eax
cmp dword [edi + 8], ebx
je 0xc75698
push 0x100b2ecc
mov ecx, esi
call fcn.00c60470
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.00c60470
add ebp, 1
cmp ebp, 0x13
jb 0xc75671
cmp dword [edi + 8], ebx
jne 0xc756f3
push 0x100b2ec4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00c60640
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.00c60640
cmp ebp, ebx
je 0xc7572f
push ebp
call fcn.00c7b000
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x120]
cmp eax, ebx
je 0xc7572f
push eax
lea ecx, [esp + 0x20]
push 0x100b2ebc
push ecx
call dword [0x100b0254]
add esp, 0xc
cmp dword [edi + 8], ebx
je 0xc75723
push 0x100b2ecc
mov ecx, esi
call fcn.00c60470
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00c60470
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4