joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x46d040]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
push edx
push 8
mov ebx, ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x424
mov esi, eax
lea eax, [esp + 0x18]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x428
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x402465
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
mov eax, ebx
lea ecx, [esp + 0x30]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x402446
test dx, dx
je 0x402442
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x402446
add ecx, 4
add eax, 4
test dx, dx
jne 0x402420
xor eax, eax
jmp 0x40244b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40245d
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x402414
jmp 0x402465
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret
Function at 0x402e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
jmp 0x402e98
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 5
jge 0x402eb0
call fcn.0041c2c0
mov ecx, dword [ebp - 4]
mov byte [eax + ecx + 0xdb8], 0
jmp 0x402e8f
mov dword [ebp - 8], 0xffffffff
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x402ecd
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0xffffffff
je 0x402ee3
call fcn.0041c2c0
mov ecx, dword [ebp - 8]
mov byte [eax + ecx + 0xdb8], 1
mov esp, ebp
pop ebp
ret

Function at 0x403970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x4039e6
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [ebp - 0x10], 0
je 0x4039dd
mov byte [ebp - 9], 1
jmp 0x4039e1
mov byte [ebp - 9], 0
mov al, byte [ebp - 9]
jmp 0x4039e8
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret
Function at 0x406730
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e50d
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00406220
add esp, 8
mov dword [ebp - 4], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0xffffffff
jne 0x4067b3
push str.Failed_to_create_process_snapshot
lea ecx, [ebp - 0x26c]
call fcn.00402050
push 0x469ab8
lea edx, [ebp - 0x26c]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x406805
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push str.Failed_to_retrieve_process_entry
lea ecx, [ebp - 0x278]
call fcn.00402050
push 0x469ab8
lea eax, [ebp - 0x278]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea ecx, [ebp - 0x28]
call fcn.0040e9f0
push eax
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x406862
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [ebp - 0x24c]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00410270
nop
mov eax, dword [ebp - 0x25c]
jmp 0x4068ba
lea ecx, [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x406805
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push str.Process_not_found
lea ecx, [ebp - 0x284]
call fcn.00402050
push 0x469ab8
lea ecx, [ebp - 0x284]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00410270
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret 4
Function at 0x4068e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e54d
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00406220
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x450], 0x428
mov edx, dword [ebp - 0x458]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
jne 0x40697c
push str.Failed_to_create_module_snapshot
lea ecx, [ebp - 0x468]
call fcn.00402050
push 0x469ab8
lea ecx, [ebp - 0x468]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x4069c4
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push str.Failed_to_retrieve_module_entry
lea ecx, [ebp - 0x474]
call fcn.00402050
push 0x469ab8
lea edx, [ebp - 0x474]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea ecx, [ebp - 0x28]
call fcn.0040e9f0
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x406a13
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x45c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00410270
nop
mov eax, dword [ebp - 0x45c]
jmp 0x406a6b
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x4069c4
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push str.Module_not_found
lea ecx, [ebp - 0x480]
call fcn.00402050
push 0x469ab8
lea eax, [ebp - 0x480]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00410270
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret 4
Function at 0x40b400
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
call fcn.00410540
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esp, ebp
pop ebp
ret

Function at 0x40bbc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x40ba90
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [0x508b2c]
mov dword [ebp - 8], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 4], eax
mov ecx, 0xc
lea esi, [ebp - 0x30]
mov edi, 0x508b30
rep movsd dword es:[edi], dword [esi]
push 0x508b30
call dword [sym.imp.USER32.dll_RegisterClassExW]
nop
cmp dword [0x508a74], 0
je 0x40bcac
push 0x508c30
mov ecx, dword [0x508a74]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x508d78
mov edx, dword [0x508a74]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x508d78]
mov dword [0x508c30], eax
mov ecx, dword [0x508d7c]
mov dword [0x508c34], ecx
mov edx, dword [0x508c38]
mov dword [0x508a70], edx
mov eax, dword [0x508c3c]
mov dword [0x508b70], eax
push 0
push 0
push 0
push 0
mov ecx, dword [0x508b70]
push ecx
mov edx, dword [0x508a70]
push edx
mov eax, dword [0x508b6c]
push eax
mov ecx, dword [0x508af0]
push ecx
push 0x90000000
mov edx, dword [0x508b2c]
push edx
mov eax, dword [0x508b2c]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x508b60], eax
push 0x496ef8
mov ecx, dword [0x508b60]
push ecx
call dword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
push 0x800a0
push 0xffffffffffffffec
mov edx, dword [0x508b60]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xa
mov eax, dword [0x508b60]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x508b60]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
nop
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40bfc0
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e82b
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x274], 0x44
push 0x40
push 0
lea eax, [ebp - 0x270]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x40c030
jmp 0x40c104
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.0040eb00
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 4], 0
push str._binary.exe
mov ecx, dword [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.00412c70
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a8]
call fcn.00410270
nop
lea eax, [ebp - 0x230]
push eax
call fcn.0040b400
add esp, 4
lea ecx, [ebp - 0x284]
push ecx
lea edx, [ebp - 0x274]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x230]
call fcn.0040e9f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40c0f1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00410270
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret
Function at 0x40f920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x40f947
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x40f94e
mov al, 1
jmp 0x40fa54
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], 0xffffffff
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0xffffffff
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jne 0x40f991
mov dword [ebp - 0x40], 1
jmp 0x40f998
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0x31], cl
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0x40f9ad
xor al, al
jmp 0x40fa54
mov dword [ebp - 0x64], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x60]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40f9f0
cmp dword [ebp - 0x38], 1
je 0x40f9f7
cmp dword [ebp - 0x38], 3
je 0x40fa47
jmp 0x40fa52
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x3c], ecx
je 0x40fa27
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x3c], eax
je 0x40fa27
xor al, al
jmp 0x40fa54
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x40fa3b
mov dword [ebp - 0x44], 1
jmp 0x40fa42
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
jmp 0x40fa54
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x40fa54
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret
Function at 0x4159a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ee2d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004171b0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x417240
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x415a4f
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
jmp 0x415a62
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
push 6
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00416de0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret 8
Function at 0x415a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ee2d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00417300
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x417240
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x415b3f
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
jmp 0x415b52
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
push 6
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00416de0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret 8

Function at 0x416350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45eeed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00417390
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x417420
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
je 0x4163fb
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
jmp 0x41640e
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
push 6
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00416de0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045caa8
mov esp, ebp
pop ebp
ret 4
Function at 0x417d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
nop dword [eax + eax]
mov edx, eax
mov ecx, eax
sar edx, 5
or ecx, 0x1f
cmp ecx, 0x68
lea edi, [ebx + edx*4]
mov ecx, 9
mov esi, 0x20
cmovge esi, ecx
xor edx, edx
bts edx, esi
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, edx
add eax, 0x20
xor edx, ecx
dec edx
or dword [edi], edx
cmp eax, 0x68
jle 0x417d20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4199c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x419a21
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x419a04
cmp edi, 2
jb 0x419a04
cmp byte [esi], cl
jne 0x419a04
cmp byte [esi + 1], cl
jne 0x419a04
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4623c0]
jmp 0x4199d5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4623c0]
test edi, edi
jne 0x4199d5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x419a50
cmp cl, 0x23
jne 0x419a37
cmp byte [esi], cl
jne 0x419a37
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4623c0]
test cl, cl
jne 0x419a28
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x419b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x419b74
mov dword [ebx], 0
mov edx, 0x462054
call fcn.00419a60
mov esi, eax
test esi, esi
je 0x419c62
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x419c58
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x419c58
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x419c58
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x419c58
mov eax, dword [0x508b7c]
test eax, eax
je 0x419bec
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x419c58
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x419c3d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x508b7c]
add esp, 4
test eax, eax
je 0x419c2a
dec dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x419c4f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bcb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46d040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0xe4]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xe8]
subss xmm0, xmm1
mov ecx, dword [edx + 0xc8]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xd0]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4623c0]
sub edi, 1
jne 0x41bd30
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.0045caa8
mov esp, ebp
pop ebp
ret 4
Function at 0x4215d0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x42160d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x4215f3
cmp byte [esi], bl
jne 0x4215f3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4623c0]
test bl, bl
jne 0x4215e4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00421570