joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a680
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x40a650
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0xc], eax
push 0x30
push str..::_VMGuard_::.
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 8], eax
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret

Function at 0x40a7d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x10], 5
jae 0x40a7e0
xor eax, eax
jmp 0x40a85e
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40a7fc
xor eax, eax
jmp 0x40a85e
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov byte [ecx], 0xe9
mov dword [ebp - 4], 5
jmp 0x40a81d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jae 0x40a830
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], 0x90
jmp 0x40a814
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
sub edx, 5
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 1], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b3e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x43d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x40], ecx
mov ecx, 0xb
mov esi, str._pipediscord_ipc_0
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x44], 0x15
mov eax, 2
imul ecx, eax, 0x15
mov edx, 0x30
mov word [ebp + ecx - 0x34], dx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0xffffffff
je 0x40b457
mov ecx, dword [ebp - 0x38]
mov byte [ecx], 1
mov al, 1
jmp 0x40b4c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jne 0x40b49a
mov edx, 2
imul eax, edx, 0x15
movzx ecx, word [ebp + eax - 0x34]
cmp ecx, 0x39
jge 0x40b498
mov edx, 2
imul eax, edx, 0x15
mov cx, word [ebp + eax - 0x34]
add cx, 1
mov edx, 2
imul eax, edx, 0x15
mov word [ebp + eax - 0x34], cx
jmp 0x40b425
jmp 0x40b4bf
cmp dword [ebp - 0x3c], 0xe7
jne 0x40b4bf
push 0x2710
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x40b4ba
xor al, al
jmp 0x40b4c8
jmp 0x40b425
xor al, al
jmp 0x40b4c8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret

Function at 0x40b520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x40b533
mov al, 1
jmp 0x40b5a2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40b543
xor al, al
jmp 0x40b5a2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x40b550
xor al, al
jmp 0x40b5a2
cmp dword [ebp + 8], 0
jne 0x40b55a
xor al, al
jmp 0x40b5a2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x40b598
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x40b598
mov dword [ebp - 0x10], 1
jmp 0x40b59f
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x40b5b0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x40b5c6
xor al, al
jmp 0x40b659
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40b5d9
xor al, al
jmp 0x40b659
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x40b5e6
xor al, al
jmp 0x40b659
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x40b64f
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jb 0x40b64d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x40b645
mov al, 1
jmp 0x40b659
mov ecx, dword [ebp - 8]
call fcn.0040b4e0
jmp 0x40b657
mov ecx, dword [ebp - 8]
call fcn.0040b4e0
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x40b710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
mov eax, dword [0x43d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
lea edx, [ebp - 0x44]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0xa9c]
push ecx
push 0x20019
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xa94], eax
cmp dword [ebp - 0xa94], 0
je 0x40b7a3
push str.Error_opening_Steam_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.0040bda0
add esp, 8
jmp 0x40b8ad
mov dword [ebp - 0xa98], 0x208
lea edx, [ebp - 0xa98]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
mov ecx, dword [ebp - 0xa9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa94], eax
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa94], 0
jne 0x40b7f6
cmp dword [ebp - 0xa98], 1
jae 0x40b814
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.0040bda0
add esp, 8
jmp 0x40b8ad
mov eax, dword [ebp - 0xa98]
shr eax, 1
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa90], 0
jmp 0x40b83d
mov ecx, dword [ebp - 0xa90]
add ecx, 1
mov dword [ebp - 0xa90], ecx
mov edx, dword [ebp - 0xa90]
cmp edx, dword [ebp - 0xaa0]
jae 0x40b873
mov eax, dword [ebp - 0xa90]
movzx ecx, word [ebp + eax*2 - 0x28c]
cmp ecx, 0x2f
jne 0x40b871
mov edx, 0x5c
mov eax, dword [ebp - 0xa90]
mov word [ebp + eax*2 - 0x28c], dx
jmp 0x40b82e
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28c]
push edx
push str.__s__steam:__rungameid__s
push 0x800
lea eax, [ebp - 0xa8c]
push eax
call fcn.0040bd20
add esp, 0x14
lea ecx, [ebp - 0xa8c]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.0040ba40
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret
Function at 0x40b9a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x40ba01
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x40ba01
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b9fb
mov eax, dword [ebp - 8]
jmp 0x40ba3b
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x40ba38
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
je 0x40ba38
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x40deb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f56d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x43d0e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x60], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0040e950
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0040f270
mov dword [ebp - 0x54], 0x40ddf0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
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 - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x40dfbb
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x58]
mov dword [ecx], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
jmp 0x40dfcc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040f270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x411a20
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
push 0x400
push 0
mov eax, dword [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x411a4e
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xff
jg 0x411ae8
push 8
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
call fcn.00411c60
shl eax, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
mov dword [ebp - 0xc], 0
jmp 0x411a87
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x411ac6
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
and eax, 0x80000000
je 0x411aa6
mov dword [ebp - 0x10], 0x4c11db7
jmp 0x411aad
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
shl eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x411a7e
push 0x20
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
push edx
mov ecx, dword [ebp - 8]
call fcn.00411c60
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x411a45
mov esp, ebp
pop ebp
ret

Function at 0x411af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x43d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], 0xffffffff
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0
push 0x4323c4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jne 0x411b4d
or eax, 0xffffffff
jmp 0x411bb6
mov ecx, dword [ebp - 0x408]
push ecx
push 0x400
push 1
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x410]
push edx
mov ecx, dword [ebp - 0x414]
call fcn.00411c00
cmp dword [ebp - 0x40c], 0x400
je 0x411b4d
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [ebp - 0x410]
xor eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret 4
Function at 0x412000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x24
ja 0x412040
cmp dword [ebp - 4], 0x24
je 0x41217d
mov ecx, dword [ebp - 4]
sub ecx, 3
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x11
ja case.0x412039.1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x4121dc]
jmp dword [eax*4 + 0x4121c8]
cmp dword [ebp - 4], 0x112
je 0x4120a9
cmp dword [ebp - 4], 0x218
je 0x41206e
cmp dword [ebp - 4], 0x232
je 0x412155
jmp case.0x412039.1
mov eax, 1
jmp 0x4121bf
cmp dword [ebp + 0x10], 0
jne 0x412080
mov eax, 0x424d5144
jmp 0x4121bf
cmp dword [ebp + 0x10], 9
jne 0x41209a
push 0
push str.Warning_
push str.Battery_power_is_low
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x4121bf
mov ecx, dword [ebp + 0x10]
and ecx, 0xfffffff0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xf020
je 0x4120cf
cmp dword [ebp - 8], 0xf030
je 0x4120cf
cmp dword [ebp - 8], 0xf120
je 0x4120cf
jmp 0x412119
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_int___thiscall_cWeb::IsWebHandle_void_]
test eax, eax
je 0x412119
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_struct_HWND______thiscall_cWeb::GetWebHandle_void_]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_int___thiscall_cWeb::CloseWebPage_struct_HWND____]
cmp eax, 1
jne 0x41210f
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.0x412039.1
call fcn.00411e90
jmp case.0x412039.1
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_struct_HWND______thiscall_cWeb::GetWebHandle_void_]
test eax, eax
je 0x412151
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_void___thiscall_cWeb::UpdatePos_void_]
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_struct_HWND______thiscall_cWeb::GetWebHandle_void_]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x412039.1
mov edx, dword [sym.imp.Engine.dll_long_int_sam_bFullScreenActive]
cmp dword [edx], 1
je 0x412172
movzx eax, byte [0x46401c]
test eax, eax
je 0x412172
mov byte [0x46401c], 0
jmp case.0x412039.1
mov byte [0x46401c], 1
jmp case.0x412039.1
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x20], 0x898
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x24], 0x5dc
cmp dword [0x464020], 0
je 0x4121a3
mov dword [ebp - 0x10], 0
jmp 0x4121bc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4193c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1220
call fcn.0042d670
mov eax, dword [0x43d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1214], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, dword [ebp - 0x1214]
call fcn.00419610
mov eax, dword [ebp - 0x1214]
mov ecx, dword [eax]
mov dword [ebp - 0x1218], ecx
lea edx, [ebp - 0x121c]
push edx
push 0x1000
lea eax, [ebp - 0x120c]
push eax
mov ecx, dword [ebp - 0x1218]
push ecx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x41949e
mov dword [ebp - 0x1210], 0
jmp 0x41943b
mov edx, dword [ebp - 0x1210]
add edx, 1
mov dword [ebp - 0x1210], edx
mov eax, dword [ebp - 0x121c]
shr eax, 2
cmp dword [ebp - 0x1210], eax
jae 0x41949e
mov ecx, dword [ebp - 0x1214]
mov edx, dword [ecx]
mov dword [ebp - 0x1220], edx
push 0x208
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x1210]
mov edx, dword [ebp + ecx*4 - 0x120c]
push edx
mov eax, dword [ebp - 0x1220]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x41949c
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x1214]
add ecx, 0x210
call fcn.00418ef0
jmp 0x41942c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret

Function at 0x4194b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0042d670
mov eax, dword [0x43d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1008], ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x1008]
mov byte [edx + ecx + 8], 0
mov eax, dword [ebp - 0x1008]
mov ecx, dword [eax]
mov dword [ebp - 0x1010], ecx
lea edx, [ebp - 0x1020]
push edx
push 0x1000
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp - 0x1010]
push ecx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x4195e0
mov dword [ebp - 0x100c], 0
jmp 0x419530
mov edx, dword [ebp - 0x100c]
add edx, 1
mov dword [ebp - 0x100c], edx
cmp dword [ebp - 0x100c], 1
jae 0x4195e0
push 0x474690
push 0x43d16c
call sub.VCRUNTIME140.dll___std_type_info_name
add esp, 8
mov dword [ebp - 0x1014], eax
push str.char__260_
mov eax, dword [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4195a4
mov ecx, dword [ebp - 0x1008]
mov edx, dword [ecx]
mov dword [ebp - 0x1018], edx
push 0x104
mov eax, dword [ebp - 0x1008]
add eax, 8
push eax
mov ecx, dword [ebp - 0x100c]
mov edx, dword [ebp + ecx*4 - 0x1004]
push edx
mov eax, dword [ebp - 0x1018]
push eax
call sub.KERNEL32.dll_K32GetModuleBaseNameA
jmp 0x4195db
mov ecx, dword [ebp - 0x1008]
mov edx, dword [ecx]
mov dword [ebp - 0x101c], edx
push 0x104
mov eax, dword [ebp - 0x1008]
add eax, 8
push eax
mov ecx, dword [ebp - 0x100c]
mov edx, dword [ebp + ecx*4 - 0x1004]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call sub.KERNEL32.dll_K32GetModuleBaseNameW
jmp 0x419521
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret
Function at 0x41b4c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x43d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], 0x4336b0
mov eax, dword [ebp - 0x420]
add eax, 2
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x420]
mov dx, word [ecx]
mov word [ebp - 0x426], dx
add dword [ebp - 0x420], 2
cmp word [ebp - 0x426], 0
jne 0x41b4ec
mov eax, dword [ebp - 0x420]
sub eax, dword [ebp - 0x42c]
sar eax, 1
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp - 0x434]
mov dword [ebp - 0x438], edx
mov eax, dword [ebp - 0x438]
push eax
push 0x4336b0
mov ecx, dword [ebp + 8]
call fcn.0041c550
mov ecx, 2
imul edx, ecx, 0
lea eax, [ebp + edx - 0x41c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41b573
xor al, al
jmp 0x41b619
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x4336b4
lea edx, [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x41b599
xor al, al
jmp 0x41b619
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
add ecx, 2
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp - 0x424]
mov ax, word [edx]
mov word [ebp - 0x428], ax
add dword [ebp - 0x424], 2
cmp word [ebp - 0x428], 0
jne 0x41b5b4
mov ecx, dword [ebp - 0x424]
sub ecx, dword [ebp - 0x43c]
sar ecx, 1
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x448]
push ecx
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041c550
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret

Function at 0x42ea9e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42eadd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42eadd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42eadd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42eadd
cmp dword [ecx + 0x74], 0xe
jbe 0x42eadd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x67416e2d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x575d087b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x414dde
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], edi
add ebx, edx
add edx, eax
sub edx, eax
add esi, 4
cmp esi, ecx
jne fcn.00414dde
sub eax, 0x78b13ab
and ebx, eax
ret