joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e4ef4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xdc
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x64], eax
mov eax, dword [0xcb7220]
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0xc8], 0
cmp dword [esp + 0xc8], 0
je 0x5e505d
cmp dword [esp + 0xc8], 1
jne 0x5e5156
jmp 0x5e515c
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call sym.___super_fnc__2259
mov dword [esp + 0xc8], 1
jmp 0x5e5157
nop
jmp 0x5e5040
mov eax, dword [esp + 0xcc]
sub eax, dword [0xcb7220]
je 0x5e5170
call sym.___stack_chk_fail
add esp, 0xdc
ret
Function at 0x6125c3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xec
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x18], eax
mov eax, dword [0xcb7220]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esp + 0xd4], sym.___4___super_fnc__212___super_fnc__212_FLATTEN_SPLIT_1
mov dword [esp + 0xd8], sym.___4___super_fnc__212___super_fnc__212_FLATTEN_SPLIT_0
mov dword [esp + 0xcc], 1
lea eax, [esp + 0x6c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x24]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x18]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xcc]
cmp eax, 1
ja 0x6127f8
mov eax, dword [esp + 0xcc]
mov eax, dword [esp + eax*4 + 0xd4]
lea edx, [esp + 0x74]
mov dword [esp], edx
call eax
jmp 0x6127d3
nop
mov eax, dword [esp + 0xdc]
sub eax, dword [0xcb7220]
je 0x61280d
call sym.___stack_chk_fail
add esp, 0xec
ret
Function at 0x625c05
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xec
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x18], eax
mov eax, dword [0xcb7220]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esp + 0xd4], sym.___4___super_fnc__210___super_fnc__210_FLATTEN_SPLIT_0
mov dword [esp + 0xd8], sym.___4___super_fnc__210___super_fnc__210_FLATTEN_SPLIT_1
mov dword [esp + 0xcc], 0
lea eax, [esp + 0x6c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x24]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x18]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xcc]
cmp eax, 1
ja 0x625e3a
mov eax, dword [esp + 0xcc]
mov eax, dword [esp + eax*4 + 0xd4]
lea edx, [esp + 0x74]
mov dword [esp], edx
call eax
jmp 0x625e15
nop
mov eax, dword [esp + 0xdc]
sub eax, dword [0xcb7220]
je 0x625e4f
call sym.___stack_chk_fail
add esp, 0xec
ret
Function at 0x6340dd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xec
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x14], eax
mov eax, dword [0xcb7220]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esp + 0xd4], sym.___4___super_fnc__2254___super_fnc__2254_FLATTEN_SPLIT_1
mov dword [esp + 0xd8], sym.___4___super_fnc__2254___super_fnc__2254_FLATTEN_SPLIT_0
mov dword [esp + 0xcc], 0
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x24]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x18]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xcc]
cmp eax, 1
ja 0x634325
mov eax, dword [esp + 0xcc]
mov eax, dword [esp + eax*4 + 0xd4]
lea edx, [esp + 0x70]
mov dword [esp], edx
call eax
jmp 0x634300
nop
mov eax, dword [esp + 0xdc]
sub eax, dword [0xcb7220]
je 0x63433a
call sym.___stack_chk_fail
add esp, 0xec
ret
Function at 0x654892
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xcc
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [0xcb7220]
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0xb4], sym.___4___super_fnc__230___super_fnc__230_FLATTEN_SPLIT_0
mov dword [esp + 0xb8], sym.___4___super_fnc__230___super_fnc__230_FLATTEN_SPLIT_1
mov dword [esp + 0xac], 0
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x18]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xac]
cmp eax, 1
ja 0x654a76
mov eax, dword [esp + 0xac]
mov eax, dword [esp + eax*4 + 0xb4]
lea edx, [esp + 0x60]
mov dword [esp], edx
call eax
jmp 0x654a51
nop
mov eax, dword [esp + 0xbc]
sub eax, dword [0xcb7220]
je 0x654a8b
call sym.___stack_chk_fail
add esp, 0xcc
ret
Function at 0x695cf0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x695d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xcb7258]
test esi, esi
jle 0x695e70
mov eax, dword [0xcb725c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x695d84
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x695e07
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x695d70
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x695e97
mov eax, dword [0xcb725c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0xcb725c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x695e77
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x695e00
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x695e10
add dword [0xcb7258], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xcb725c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x695e00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x695d8e
mov eax, dword [0xcb725c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x696350
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xcb7274
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xcb726c]
sub esp, 4
test ebx, ebx
je 0x6963a5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x69639e
test esi, esi
je 0x69639e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x696380
mov dword [esp], 0xcb7274
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6966d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x6966f5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x696700
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x6966f5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x696748
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x69673e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x69674a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x696730
xor eax, eax
pop ebx
pop esi
ret
Function at 0x403f6b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403f89
mov eax, 0xc15f64
push eax
push 1
mov ebx, 0x41fc30
call fcn.0041f5ea
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403fb3
mov eax, 0
jmp 0x404027
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x404014
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x403ffd
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x403fec
xor ecx, eax
xor edx, ebx
dec edi
jne 0x403fdd
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4

Function at 0x40bb21
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x40bb43
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, ioctlsocket
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x40bc57
mov esp, ebp
pop ebp
ret
Function at 0x40df73
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x40e1c0
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x40e0bd
cmp byte [edx + edi], 0xd
jne 0x40e0bd
cmp byte [edx + edi + 1], 0xa
je 0x40e0f6
mov al, byte [edx + edi]
cmp al, 0xa
je 0x40e0f6
cmp al, 0x3d
jne 0x40e0d2
inc ecx
cmp ecx, 2
ja 0x40e1ce
cmp al, 0x7f
ja 0x40e1ce
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x40e1ce
cmp al, 0x40
jae 0x40e0f5
test ecx, ecx
jne 0x40e1ce
inc esi
inc edx
cmp edx, ebx
jb 0x40e0a7
test esi, esi
je 0x40e1c0
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x40e1df
cmp dword [ecx], eax
jb 0x40e1df
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x40e1af
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x40e1ab
cmp al, 0xa
je 0x40e1ab
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x40e1ab
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x40e196
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x40e1a3
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x40e1ab
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x40e147
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10