joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4677a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4677d6
mov eax, ebx
call fcn.0046825c
cmp dword [ebx + 0x40], 0
je 0x4677cf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x467847
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x467839
cmp dword [ebx + 8], 0
je 0x4677f8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46780a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x467839
cmp dword [ebx + 8], 0
je 0x4677eb
cmp eax, 3
je 0x46781d
dec eax
jne 0x4677eb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4677eb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4677eb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x467865
cmp dword [ebx + 0x14], 0xcc
je 0x467865
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00467870
pop ebx
ret
Function at 0x401935
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.004106d0
mov eax, dword [0x2458274]
mov ecx, dword [0x2457d00]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4019ed
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x2458274], 0x959
jne 0x4019dc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.Yimu_givexohipalipen
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push str.Hipejes_joh_jagibavicedok_lozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401544
add ebx, 8
dec edi
jne 0x401961
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401cd6
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x2458274], 0x400
push edi
jne 0x401d2f
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.00404387
push esi
call fcn.00404251
push esi
call fcn.00404a68
push esi
push esi
call fcn.004048b3
push esi
call fcn.00404b1e
push esi
push esi
call fcn.0040428b
add esp, 0x20
xor edi, edi
cmp edi, 0x16c76
jge 0x401d41
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401d67
inc edi
cmp edi, 0x3003f
jl 0x401d31
mov eax, dword [0x43ab7c]
mov dword [0x2458274], eax
call fcn.004019f0
mov edi, 0x3078f
cmp dword [0x2458274], 0x51f
jne 0x401d93
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401d7b
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x402866
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43294d
call fcn.004327d0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040353c
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00404b2d
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x4028ae
call fcn.004032f0
mov dword [ebx], eax
call fcn.004030af
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x4028b0
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4051b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43999c]
jne 0x4051bf
repz ret
jmp fcn.0040ba6c
Function at 0x41035e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43999c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004073c7
and dword [ebp - 0x14], 0
cmp dword [0x445b2c], 0
mov dword [ebp - 0x18], eax
jne 0x410411
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4104b9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4104b9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x445b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x445b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x445b34], eax
call edi
push eax
call esi
mov dword [0x445b3c], eax
test eax, eax
je 0x410411
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x445b38], eax
mov eax, dword [0x445b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41046a
cmp dword [0x445b3c], ecx
je 0x41046a
push eax
call esi
push dword [0x445b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41046a
test ebx, ebx
je 0x41046a
call edi
test eax, eax
je 0x410461
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410461
test byte [ebp - 8], 1
jne 0x41046a
or dword [ebp + 0x10], 0x200000
jmp 0x41049d
mov eax, dword [0x445b30]
cmp eax, dword [ebp - 0x18]
je 0x41049d
push eax
call esi
test eax, eax
je 0x41049d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41049d
mov eax, dword [0x445b34]
cmp eax, dword [ebp - 0x18]
je 0x41049d
push eax
call esi
test eax, eax
je 0x41049d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x445b2c]
call esi
test eax, eax
je 0x4104b9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4104bb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004051b5
leave
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x408730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00408900
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x40880d
mov edx, dword [ebp - 4]
cmp edx, dword [0x43e008]
jb 0x40877a
mov eax, dword [ebp - 4]
cmp eax, dword [0x43e00c]
ja 0x40877a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x40874a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.0040ee10
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x40879f
jmp 0x40880d
cmp dword [ebp - 0x14], 0x10000
jne 0x4087f3
cmp dword [ebp - 0x18], 0x10000
jb 0x4087f3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4087d6
mov eax, dword [ebp - 8]
jmp 0x40880f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x4087e6
xor eax, eax
jmp 0x40880f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x408808
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.00408900
add esp, 4
mov dword [ebp - 4], eax
jmp 0x40874a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x408820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00408930
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x4088f5
mov edx, dword [ebp - 4]
cmp edx, dword [0x43e008]
jb 0x408865
mov eax, dword [ebp - 4]
cmp eax, dword [0x43e00c]
ja 0x408865
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x408835
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.0040ee10
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x40888a
jmp 0x4088f5
cmp dword [ebp - 0x14], 0x10000
jne 0x4088de
cmp dword [ebp - 0x18], 0x10000
jb 0x4088de
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4088c1
mov eax, dword [ebp - 8]
jmp 0x4088f7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x4088d1
xor eax, eax
jmp 0x4088f7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4088f0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.00408930
add esp, 4
mov dword [ebp - 4], eax
jmp 0x408835
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x408960
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00408d50
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x43f0a0], 0
jne 0x40899d
cmp dword [0x43f09c], 0
je 0x40899d
mov eax, dword [0x43f09c]
mov dword [0x43f0a0], eax
cmp dword [0x43f0a0], 0
je 0x408a1a
mov ecx, dword [0x43f0a0]
cmp dword [ecx + 8], 0
je 0x408a1a
mov edx, dword [0x43f0a0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x408a1a
mov ecx, dword [0x43f0a0]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x408a1a
mov eax, dword [0x43f0a0]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x4089e9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x4089f0
xor eax, eax
jmp 0x408b39
mov ecx, dword [0x43f0a0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ee10
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x408b39
mov edx, dword [0x43f09c]
mov dword [0x43f0a0], edx
jmp 0x408a36
mov eax, dword [0x43f0a0]
mov ecx, dword [eax + 4]
mov dword [0x43f0a0], ecx
cmp dword [0x43f0a0], 0
je 0x408a76
cmp dword [0x43f0a0], 0
je 0x408a74
mov edx, dword [0x43f0a0]
cmp dword [edx + 8], 0
je 0x408a74
mov eax, dword [0x43f0a0]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x408a74
mov edx, dword [0x43f0a0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x408a74
jmp 0x4089ce
jmp 0x408a28
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00408b40
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x408b37
mov eax, dword [ebp - 0x18]
mov dword [0x43f0a0], eax
mov ecx, dword [0x43f0a0]
mov dword [ecx], 0x52727464
mov edx, dword [0x43f0a0]
mov dword [edx + 8], 0
mov eax, dword [0x43f0a0]
mov ecx, dword [0x43f09c]
mov dword [eax + 4], ecx
mov edx, dword [0x43f0a0]
mov dword [0x43f09c], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x43f0a0]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x408b07
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x408b27
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x408afe
mov eax, dword [0x43f0a0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x4089ce
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x409880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43f09c]
mov dword [ebp - 4], eax
jmp 0x409899
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x4098c0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x4098be
call sub.KERNEL32.dll_GetLastError
jmp 0x4098c2
jmp 0x409890
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x409da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x43f0ac], eax
je 0x409dc4
mov eax, 0x10dd
jmp 0x409f6c
cmp dword [0x43f0b0], 0
je 0x409dd7
mov eax, dword [0x43f0b0]
jmp 0x409f6c
cmp dword [ebp + 0xc], 0
jne 0x409de7
mov eax, 0x57
jmp 0x409f6c
cmp dword [ebp + 8], 0
jne 0x409df7
mov eax, 6
jmp 0x409f6c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x409e20
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x43f0b0], ecx
mov edx, dword [ebp + 8]
mov dword [0x43f0b4], edx
mov eax, dword [ebp - 8]
jmp 0x409f6c
push 0x18
call fcn.0040d45f
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x409e7b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x43f0b0], ecx
cmp dword [ebp - 4], 0
je 0x409e6a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.0040d48f
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x43f0b4], ecx
mov eax, dword [ebp - 8]
jmp 0x409f6c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00409d80
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00409d80
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x409ebb
cmp dword [ebp - 0xc], 0x1e
jbe 0x409ed7
mov dword [ebp - 8], 9
cmp dword [0x43f0a4], 0
je 0x409ed2
jmp 0x409e49
jmp 0x409e40
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x409efe
mov dword [ebp - 8], 9
cmp dword [0x43f0a4], 0
je 0x409ef9
jmp 0x409e49
jmp 0x409e40
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x409f29
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x409e40
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x43f0bc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x43f0bc], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x409f80
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x43f0ac], eax
je 0x409f9d
mov eax, 0x10dd
jmp 0x40a080
mov eax, dword [0x43f0bc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a01c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x409ff8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x409ff8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00408de0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040d48f
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x409fa5
mov dword [0x43f0bc], 0
call fcn.004096c0
mov ecx, dword [0x43f0b8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x40a06a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040d48f
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x40a034
mov dword [0x43f0b8], 0
mov dword [0x43f0ac], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40cc9c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40ccbd
jl 0x40ccb4
test edi, edi
jne 0x40ccbd
xor eax, eax
xor edx, edx
jmp 0x40cd7e
cmp dword [ebx + 0x38], 0
je 0x40ccd2
push eax
push edi
push dword [ebp + 8]
call fcn.0040cd84
jmp 0x40cd7e
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40cd19
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40cd19
cmp eax, edi
jb 0x40ccf3
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040e310
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40cd1f
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40cd73
mov ecx, ebx
call fcn.0040c4dd
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40cd5e
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004179bb
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40cd73
jmp 0x40cd31
test edx, edx
je 0x40cd73
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004179bb
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x40ce73
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40ce95
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cf5b
jmp 0x40cf53
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x40cebb
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40cec0
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x40cf20
jg 0x40ced5
test esi, esi
je 0x40cf20
test ecx, ecx
jl 0x40cf1b
jg 0x40cedf
test eax, eax
je 0x40cf1b
cmp edi, ecx
jg 0x40cef1
jl 0x40cee9
cmp esi, eax
jae 0x40cef1
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.0040e310
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x40cf23
mov ecx, dword [ebp + 8]
jmp 0x40cf2d
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x40cf47
jg 0x40cf2d
test esi, esi
je 0x40cf47
cmp dword [ebx + 0x4c], 0
je 0x40cf47
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00418027
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40e0fe
Capabilities:
Parse pe header

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

Function at 0x41eca1
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ec23

Function at 0x4215e6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042145c

Function at 0x42c140
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c16d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c16d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret