joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4021b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x473cf9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CBootstrapperDlg.0
mov edi, dword [sym.imp.USER32.dll_CopyRect]
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x30], 6
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x2cc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x2d0], edx
push 0
lea edx, [esp + 0x14]
mov dword [esi + 0x2d4], eax
push edx
mov dword [esi + 0x2d8], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x2dc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2e0], ecx
mov dword [esi + 0x2e4], edx
mov dword [esi + 0x2e8], eax
mov eax, dword [esi + 0x2c8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402273
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x26c]
call fcn.0044033a
lea ecx, [esi + 0x218]
mov byte [esp + 0x28], 5
call fcn.0044033a
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x28], 4
call fcn.0044033a
lea ecx, [esi + 0x170]
mov byte [esp + 0x28], 3
call fcn.0044033a
lea ecx, [esi + 0x11c]
mov byte [esp + 0x28], 2
call fcn.004402c2
lea ecx, [esi + 0xc8]
mov byte [esp + 0x28], 1
call fcn.004402c2
lea ecx, [esi + 0x74]
mov byte [esp + 0x28], 0
call fcn.0044036e
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.004404bb
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x40aea0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x474a29
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4931b8]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0x10c]
mov esi, dword [ebp + 0x110]
mov edi, dword [ebp + 0x114]
mov ebx, dword [ebp + 0x118]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
call fcn.00440f8f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40af19
push 0x80004005
call fcn.004014f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
mov eax, 1
push edi
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b00f
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.004561a0
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp]
push ecx
push edx
mov dword [ebp - 0x28], 0xff
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push ebx
push ecx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
jne 0x40b005
mov edx, dword [ebp - 0x18]
push edx
call fcn.0045786a
mov edx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea ecx, [ebp - 0x24]
push ecx
push 0
push ebx
push edx
call edi
test eax, eax
jne 0x40affc
cmp dword [ebp - 0x24], 1
jne 0x40affc
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0040a050
push esi
call fcn.00456f52
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.00455dfd
add ebp, 0x104
mov esp, ebp
pop ebp
ret

Function at 0x40c230
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4931b8]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, dword [esp + 0x118]
push 0x105
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.004561a0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0040be70
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00455dfd
add esp, 0x110
ret
Function at 0x40c490
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x474c3d
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x4931b8]
xor eax, esp
mov dword [esp + 0x324], eax
push esi
push edi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0x334]
mov dword fs:[0], eax
mov esi, dword [esp + 0x344]
mov edi, dword [esp + 0x348]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x340], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
call fcn.0040c400
push 0x105
lea ecx, [esp + 0x128]
push 0
push ecx
mov dword [esp + 0x34c], 1
call fcn.004561a0
add esp, 0x10
push 0x105
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x105
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004561a0
add esp, 0xc
push 0x105
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x105
lea edx, [esp + 0x22c]
push 0
push edx
call fcn.004561a0
add esp, 0xc
lea eax, [esp + 0x228]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
mov ecx, esi
call fcn.0040be70
mov ecx, dword [esp + 0xc]
push ecx
push str.APPPATH
mov ecx, esi
mov dword [esp + 0x18], 1
call fcn.00409280
lea edx, [esp + 0x120]
push edx
push str.SYSTEMPATH
mov ecx, esi
call fcn.00409280
lea eax, [esp + 0x18]
push eax
push str.WINDOWSPATH
mov ecx, esi
call fcn.00409280
lea ecx, [esp + 0x228]
push ecx
push 0x47aa30
mov ecx, esi
call fcn.00409280
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x33c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c5fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.00455dfd
add esp, 0x334
ret
Function at 0x40e8b0
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x475040
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00440f8f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40e8f0
push 0x80004005
call fcn.004014f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x1c], 0
jg 0x40e98e
mov eax, dword [eax]
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0040e560
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 4]
push 0x5c
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x34], 1
call fcn.0040e6d0
add esp, 0x18
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.00409ca0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40e9cd
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
push 0x5c
push ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040e6d0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.00409ca0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e9d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 8]
mov eax, dword [eax]
push esi
mov esi, dword [esp + 0xc]
push 0
push esi
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jge 0x40ea14
push 0x488980
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
call fcn.00456f06
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ea38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x40f5a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4931b8]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, dword [esp + 0x118]
push 0x105
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.004561a0
lea ecx, [esp + 0x10]
push ecx
call fcn.0040c230
mov eax, dword [eax]
add esp, 0x10
lea edx, [esp + 8]
push edx
push 0
push 0x47af64
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f617
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0040be70
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00455dfd
add esp, 0x110
ret
Function at 0x40fa90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4752dc
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x218]
add eax, 9
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + 0x18]
lea ecx, [esi + ecx*4]
push edx
mov dword [esp + 0x14], 6
call fcn.00409ca0
mov eax, dword [esi + 0x218]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + 0x1c]
lea ecx, [esi + ecx*4 + 0x100]
push edx
call fcn.00409ca0
mov eax, dword [esi + 0x218]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + 0x20]
lea ecx, [esi + ecx*4 + 0x104]
push edx
call fcn.00409ca0
mov eax, dword [esi + 0x218]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + 0x24]
lea ecx, [esi + ecx*4 + 0x108]
push edx
call fcn.00409ca0
mov eax, dword [esi + 0x218]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + 0x28]
lea ecx, [esi + ecx*4 + 0x10c]
push edx
call fcn.00409ca0
mov eax, dword [esi + 0x218]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + 0x2c]
lea ecx, [esi + ecx*4 + 0x110]
push edx
call fcn.00409ca0
mov eax, dword [esi + 0x218]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + 0x30]
lea ecx, [esi + ecx*4 + 0x114]
push edx
call fcn.00409ca0
mov eax, dword [esp + 0x18]
inc dword [esi + 0x218]
add eax, 0xfffffff0
mov byte [esp + 0x10], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x10], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x10], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x10], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x10], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x10], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x1c
Function at 0x410b40
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4754b6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4931b8]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [esp + 0x24]
xor ebx, ebx
call fcn.0040be70
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x170], ebx
call esi
cmp eax, ebx
jne 0x410cb0
push 0xfe
lea edx, [esp + 0x55]
push ebx
push edx
mov byte [esp + 0x5c], bl
call fcn.004561a0
add esp, 0xc
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push ebx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x5c], 0xff
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [esp + 0x14], 1
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ja 0x410ca9
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
lea ecx, [esp + 0x14]
call fcn.0040be70
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x410c89
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push 0x47b4dc
push eax
mov dword [esp + 0x40], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x410c82
cmp dword [esp + 0x24], 1
je 0x410c82
mov bl, 1
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410ca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x15c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410cdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00455dfd
add esp, 0x150
ret
Function at 0x414520
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40
mov eax, dword [0x4931b8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x50]
push 0x34
lea eax, [esp + 0x18]
push 0
push eax
mov esi, ecx
call fcn.004561a0
mov ebx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x30], ebx
lea ebx, [ebx + ebx*2]
add esp, 0xc
mov ecx, 1
mov edx, 0x18
mov dword [esp + 0x1c], 0x36
mov dword [esp + 0x20], 0x28
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], dx
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], ebx
test bl, 3
je 0x414596
or ebx, 3
inc ebx
mov dword [esp + 0x10], ebx
mov ecx, ebx
imul ecx, eax
add ecx, 0x36
push ebx
push str.Bytes_per_line_:__d_n
mov dword [esp + 0x1c], ecx
call fcn.00458ff7
push 0x47ba68
push edi
call fcn.00457dc9
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
je 0x4145ff
push edi
push 2
push 1
push 0x47ba6c
call fcn.00457799
push edi
push 0x34
lea edx, [esp + 0x2c]
push 1
push edx
call fcn.00457799
push ebx
push 1
call fcn.00458fb7
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x414615
mov eax, dword [esi]
push eax
call fcn.00456f52
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00455dfd
add esp, 0x40
ret 4
push ebp
mov ebp, dword [esi + 8]
sub ebp, 1
js 0x414699
mov edi, edi
xor eax, eax
cmp dword [esi + 4], eax
jle 0x414683
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
imul edx, ebp
mov ebx, dword [esi]
add edx, eax
imul edx, ecx
imul ecx, eax
movzx edx, byte [edx + ebx + 2]
mov byte [ecx + edi], dl
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
imul edx, ebp
mov ebx, dword [esi]
add edx, eax
imul edx, ecx
imul ecx, eax
movzx edx, byte [edx + ebx + 1]
mov byte [ecx + edi + 1], dl
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
imul edx, ebp
mov ebx, dword [esi]
add edx, eax
imul edx, ecx
imul ecx, eax
movzx edx, byte [edx + ebx]
inc eax
mov byte [ecx + edi + 2], dl
cmp eax, dword [esi + 4]
jl 0x414627
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push eax
push ebx
push 1
push edi
call fcn.00457799
add esp, 0x10
sub ebp, 1
jns 0x414620
push edi
call fcn.00456f52
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00457b6d
mov ecx, dword [esp + 0x54]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00455dfd
add esp, 0x40
ret 4

Function at 0x4156c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x475ee3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], eax
call fcn.00419750
lea ecx, [esp + 0xb]
push ecx
lea edx, [esp + 0xf]
push edx
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 1
call fcn.0040bde0
mov dword [esi], 0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4158f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x475f9c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], eax
mov word [esi + 8], cx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], eax
call fcn.00419750
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 1
call fcn.0040bde0
mov cl, byte [esp + 0x1c]
mov dword [esi], 2
mov byte [esi + 0x20], cl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x415970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x475fcd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4931b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], eax
mov word [esi + 8], cx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], eax
call fcn.00419750
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 1
call fcn.0040bde0
fld qword [esp + 0x1c]
fstp qword [esi + 0x28]
mov dword [esi], 3
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8

Function at 0x41b580
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x44
push 0x44
lea eax, [esp + 4]
push 0
push eax
call fcn.004561a0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
add esp, 0xc
push ecx
lea edx, [esp + 4]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
mov dword [esp + 0x28], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
add esp, 0x44
ret 8
Function at 0x41da80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x41daaf
push esi
call fcn.00422130
add esp, 4
cmp byte [esi + 0x40], 0
je 0x41daa8
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x41db29
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x41db19
mov eax, dword [esi + 8]
test eax, eax
je 0x41dad4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x1a0]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x41db15
cmp eax, 2
je 0x41db19
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41dac5
cmp eax, 3
je 0x41dafc
cmp eax, 1
jne 0x41dac5
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x41dac5
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x41dac5
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0041d750
pop esi
ret
cmp eax, 0xcc
je 0x41db4b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0041d750
pop esi
ret