joyce8/EMBER2024-capa huggingface dataset:
Function at 0x508e30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x562238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005512cd
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.00508d70
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005511fb
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x508ef7
cmp dword [esp + 0x40], 1
jne 0x508ef5
cmp ecx, eax
jge 0x508ef7
mov eax, ecx
cmp eax, 0x12c
jge 0x508f03
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.00508f50
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0055133f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x50d180
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x562726
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x6bbf60]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0054c8ff
mov edx, dword [0x6bbf60]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x50d1da
mov dword [esp + 0x1c], ebx
jmp 0x50d1e1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.0054eb55
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.0054a4be
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x50d232
mov dword [esp + 0x14], ebx
jmp 0x50d239
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x50d254
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x50d24e
cmp eax, 2
jne 0x50d254
mov dword [esp + 0x18], edi
jmp 0x50d258
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x50d266
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0054beed
mov edi, eax
cmp edi, ebx
jne 0x50d276
xor eax, eax
jmp 0x50d279
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x50d2a1
mov ecx, esi
call fcn.0054eb55
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x50d2bd
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50d2dc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x50d2dc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.0054a3d1
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.0054a3d1
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x51c0e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00522560
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x51c1d9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocString
mov ecx, esi
call fcn.0051c1f0
test eax, eax
jne 0x51c1d9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocString
mov ecx, esi
call fcn.0051c1f0
test eax, eax
jne 0x51c1d9
lea edx, [esp + 0x10]
push 0x6bb37c
push edx
call fcn.00539170
mov esi, eax
add esp, 8
test esi, esi
jne 0x51c1aa
lea eax, [esp + 0x10]
push 0x6bb378
push eax
call fcn.00539170
mov esi, eax
add esp, 8
test esi, esi
jne 0x51c1aa
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x51c1ad
mov byte [esi], 0
push 0x6bab40
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x51c1f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x51c252
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x5224a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x563e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x522550
mov eax, dword [0x6bbf60]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0054a7b5
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0054a804
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0054a761
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x522537
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x522537
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0054a3d1
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x525650
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5642b0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5257f7
mov ecx, dword [0x6bbf60]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x52574c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00524370
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0054a4be
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0054a3d1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x6bab40
call fcn.0054a43f
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00524730
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0054a4be
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0054a3d1
lea ecx, [esp + 0xc]
call fcn.0054a8c0
mov ecx, dword [esp + 0xc]
push 0x6bb57c
push ecx
call fcn.00538044
add esp, 8
test eax, eax
je 0x525774
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5256ad
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0054a3d1
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0054a3d1
jmp 0x5257fb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005253f0
test eax, eax
push 0
je 0x5257df
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00523a90
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5257c5
cmp eax, 0x64
jg 0x5257b3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x525750
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x525750
cmp eax, 0x64
jge 0x52574c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x525750
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00523a90
mov esi, eax
jmp 0x525750
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x525805
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x533d50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x564cf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00550932
xor eax, eax
mov dword [esi + 0x10], 0x6846a4
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00533e50
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x533de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x564d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.00534a90
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.005515cc
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00550a67
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x54b205
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x54b227
cmp dword [edi + 0x3c], 0
jne 0x54b227
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00554cc4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0054b254
pop edi
pop esi
pop ebx
ret 8

Function at 0x54c8ff
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x54c937
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.0054a82c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0054a804
jmp 0x54c943
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x54e281
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 0x54e2c3
call fcn.00554cc4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x54e2c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x54e2ba
xor eax, eax
jmp 0x54e2cb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0054e2d1
pop edi
pop esi
pop ebx
ret 4

Function at 0x5551f4
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 0x555222
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x555240
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0055515a
jmp 0x555240
mov eax, dword [esi + 0x14]
test eax, eax
je 0x555240
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0055515a
test edi, edi
mov eax, edi
jne 0x55522a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x557b22
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x557b4a
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x557b5b
push 2
call edi
test ax, ax
jge 0x557b5b
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0054beed
cmp dword [esi + 0x30], ebx
jne 0x557c35
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0054beed
cmp eax, dword [esp + 0x34]
jne 0x557c35
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x557bd1
push 1
push pe_nt_image_headers32
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x557c16
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x557c35
cmp eax, 0x205
je 0x557c35
cmp eax, 0x201
je 0x557c35
cmp eax, 0x204
je 0x557c35
cmp eax, ebx
jne 0x557bfc
cmp dword [esp + 0x1c], 0x1b
je 0x557c35
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x72c520]
jbe 0x557c2b
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x557b8e
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40b208
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
call dword [0x44b0f8]
mov esi, eax
test esi, esi
jne 0x40b25c
call dword [0x44b0f4]
mov edi, eax
test edi, edi
jle 0x40b233
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x40b23a
mov edi, 0x80004005
push edi
push 0x140
push str.section.cpp
call fcn.00403821
push str.Failed_to_get_module_handle_to_process.
push edi
call fcn.00440237
pop ecx
pop ecx
jmp 0x40b3a9
mov eax, 0x5a4d
cmp ax, word [esi]
je 0x40b285
mov esi, 0x8007000d
push esi
push 0x14a
push str.section.cpp
mov edi, esi
call fcn.00403821
push str.Failed_to_find_valid_DOS_image_header_in_buffer.
push esi
jmp 0x40b250
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + esi], 0x4550
je 0x40b2af
mov esi, 0x8007000d
push esi
push 0x155
push str.section.cpp
mov edi, esi
call fcn.00403821
push str.Failed_to_find_valid_NT_image_header_in_buffer.
jmp 0x40b282
movzx eax, word [ecx + esi + 0x14]
push ebx
add eax, ecx
lea ebx, [esi + 0x18]
push 8
add ebx, eax
push str..wixburn
push ebx
call fcn.0042fb89
add esp, 0xc
test eax, eax
je 0x40b2f4
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 6]
xor eax, eax
inc eax
cmp eax, ecx
jae 0x40b31b
add ebx, 0x28
inc eax
cmp dword [ebx], 0x7869772e
jne 0x40b2db
cmp dword [ebx + 4], 0x6e727562
jne 0x40b2db
cmp dword [ebx + 0x10], 0x34
jae 0x40b339
mov esi, 0x8007000d
push esi
push 0x17a
push str.section.cpp
mov edi, esi
call fcn.00403821
push dword [ebx + 0x10]
push str.Failed_to_read_section_info__data_to_short:__u
jmp 0x40b363
mov esi, 0x8007000d
push esi
push 0x16e
push str.section.cpp
mov edi, esi
call fcn.00403821
push str.Failed_to_find_Burn_section.
jmp 0x40b3a0
mov ebx, dword [ebx + 0xc]
add ebx, esi
cmp dword [ebx + 4], 2
je 0x40b36e
mov esi, 0x8007000d
push esi
push 0x184
push str.section.cpp
mov edi, esi
call fcn.00403821
push dword [ebx + 4]
push str.Failed_to_read_section_info__unsupported_version:__08x
push esi
call fcn.00440237
add esp, 0xc
jmp 0x40b3a8
mov edx, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebx + ecx*4 + 8]
jne 0x40b384
inc ecx
cmp ecx, 4
jne 0x40b373
jmp 0x40b3a8
mov esi, 0x8007000d
push esi
push 0x18a
push str.section.cpp
mov edi, esi
call fcn.00403821
push str.Bundle_guid_didnt_match_the_guid_in_the_PE_Header_in_memory.
push esi
call fcn.00440237
pop ecx
pop ecx
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x42e2a6
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x467e38
call fcn.0042ea90
push 1
call fcn.0042e574
pop ecx
test al, al
jne 0x42e15d
push 7
call fcn.0042e88a
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0042e53f
mov byte [ebp - 0x24], al
mov eax, dword [0x46ade4]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x42e156
test eax, eax
jne 0x42e1c7
mov dword [0x46ade4], ecx
push 0x44b434
push 0x44b418
call fcn.00434748
pop ecx
pop ecx
test eax, eax
je 0x42e1aa
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42e2a0
push 0x44b414
push 0x44b3e4
call fcn.004346ec
pop ecx
pop ecx
mov dword [0x46ade4], 2
jmp 0x42e1cc
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0042e6e1
pop ecx
call fcn.0042e87e
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x42e1fc
push esi
call fcn.0042e657
pop ecx
test al, al
je 0x42e1fc
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0042ea87
call esi
call fcn.0042e884
mov esi, eax
cmp dword [esi], edi
je 0x42e21a
push esi
call fcn.0042e657
pop ecx
test al, al
je 0x42e21a
push dword [esi]
call fcn.00434a0a
pop ecx
call fcn.0042e9a6
movzx eax, ax
push eax
call fcn.004346a6
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00434919
test al, al
jne 0x42e245
push esi
call fcn.00434a42
test bl, bl
jne 0x42e24e
call fcn.004349e5
push edi
push 1
call fcn.0042e6fe
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x42e2a0
call fcn.0042ead6
ret
call fcn.0042e7c5
jmp 0x42e13e
Function at 0x40ac00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ac5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045f2f3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ac82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d0a0
mov eax, dword [eax]
push 0x486200
push eax
call fcn.0044f354
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f57e
test bl, bl
je 0x40ac82
push 0x486200
lea ecx, [esp + 0xc]
call fcn.0045f90e
push 0x489d7c
lea ecx, [esp + 0xc]
call fcn.0045f90e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40acbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f57e
jmp 0x40ad89
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40ad42
lea edx, [esp + 0x7c]
push 0x489d78
push edx
call fcn.0044f354
add esp, 8
test eax, eax
je 0x40ad42
lea eax, [esp + 0x7c]
push 0x489d74
push eax
call fcn.0044f354
add esp, 8
test eax, eax
je 0x40ad42
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40acd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045f57e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b580
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b5e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc