joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422883
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42b7f8
call fcn.0042207c
mov edi, 0x94
mov eax, edi
call fcn.00421ae0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x463a78], ecx
mov eax, dword [esi + 4]
mov dword [0x463a84], eax
mov edx, dword [esi + 8]
mov dword [0x463a88], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x463a7c], esi
cmp ecx, 2
je 0x4228e3
or esi, 0x8000
mov dword [0x463a7c], esi
shl eax, 8
add eax, edx
mov dword [0x463a80], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x42291e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42291e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x422936
cmp eax, 0x20b
je 0x422923
mov dword [ebp - 0x1c], esi
jmp 0x42294a
cmp dword [ecx + 0x84], 0xe
jbe 0x42291e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x422944
cmp dword [ecx + 0x74], 0xe
jbe 0x42291e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0042588f
pop ecx
test eax, eax
jne 0x422976
cmp dword [0x463a58], 1
jne 0x422963
call fcn.00425044
push 0x1c
call fcn.00424ecd
push 0xff
call fcn.00423a4c
pop ecx
pop ecx
call fcn.004257ed
mov dword [ebp - 4], esi
call fcn.00425642
test eax, eax
jge 0x42298f
push 0x1b
call fcn.0042285e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x465050], eax
call fcn.00425520
mov dword [0x463a50], eax
call fcn.0042547e
test eax, eax
jge 0x4229b5
push 8
call fcn.0042285e
pop ecx
call fcn.0042524b
test eax, eax
jge 0x4229c6
push 9
call fcn.0042285e
pop ecx
push 1
call fcn.00423a7c
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4229dc
push eax
call fcn.0042285e
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004251ee
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4229fd
movzx eax, word [ebp - 0x40]
jmp 0x422a00
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040d962
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x422a1e
push edi
call fcn.00423ba7
call fcn.00423bc9
jmp 0x422a50
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004220b7
ret
Function at 0x423f36
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x423f64
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x423f6b
cmp ebx, dword [eax + 4]
jae 0x423f6b
xor eax, eax
jmp 0x42415b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x423f7c
xor eax, eax
inc eax
jmp 0x42415a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x423f92
cmp ecx, edx
jae 0x4240d7
cmp dword [eax + 4], 0
je 0x423f9b
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x423f83
cmp dword [ebp + 8], 0
je 0x423fbd
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4240d7
cmp eax, esi
jae 0x4240d7
mov eax, dword [0x463ac0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x423fe2
cmp dword [esi*4 + 0x463ac8], edi
je 0x4240db
inc esi
cmp esi, eax
jl 0x423fd0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x424157
cmp dword [ebp - 8], 0x1000000
jne 0x424157
test byte [ebp - 0xc], 0xcc
je 0x424060
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x424157
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x424157
cmp word [eax + 0x18], 0x10b
jne 0x424157
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x424157
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x424060
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x424060
test byte [ecx + 0x27], 0x80
jne 0x4240d7
push 1
push 0x463b08
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x423f74
mov ecx, dword [0x463ac0]
test ecx, ecx
mov edx, ecx
jle 0x424094
lea eax, [ecx*4 + 0x463ac4]
cmp dword [eax], edi
je 0x424094
dec edx
sub eax, 4
test edx, edx
jg 0x424088
test edx, edx
jne 0x4240c5
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4240a1
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4240b9
lea eax, [edx*4 + 0x463ac8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4240a7
cmp ecx, 0x10
jge 0x4240c5
inc ecx
mov dword [0x463ac0], ecx
push 0
push 0x463b08
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x423f74
xor eax, eax
jmp 0x42415a
test esi, esi
jle 0x423f74
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x463b08
call ebx
test eax, eax
jne 0x423f74
cmp dword [esi*4 + 0x463ac8], edi
je 0x424131
mov eax, dword [0x463ac0]
lea esi, [eax - 1]
test esi, esi
jl 0x42411f
cmp dword [esi*4 + 0x463ac8], edi
je 0x42411b
dec esi
jns 0x42410f
test esi, esi
jge 0x42412f
cmp eax, 0x10
jge 0x42412a
inc eax
mov dword [0x463ac0], eax
lea esi, [eax - 1]
jmp 0x424131
je 0x424149
xor ecx, ecx
test esi, esi
jl 0x424149
lea eax, [ecx*4 + 0x463ac8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x424137
push 0
push 0x463b08
call ebx
jmp 0x423f74
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x500
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.ole32.dll_OleUninitialize]
leave
ret 0x10
Function at 0x401420
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce80
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x447040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x30
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
lea edi, [esi + 0x40]
add esp, 0xc
lea eax, [edi + 0x10]
mov dword [ebp - 0x10], edi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x401518
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.0041b8f0
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x78], xmm0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402720
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 0x402781
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x402764
cmp edi, 2
jb 0x402764
cmp byte [esi], cl
jne 0x402764
cmp byte [esi + 1], cl
jne 0x402764
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43f858]
jmp 0x402735
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43f858]
test edi, edi
jne 0x402735
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4027b0
cmp cl, 0x23
jne 0x402797
cmp byte [esi], cl
jne 0x402797
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 + 0x43f858]
test cl, cl
jne 0x402788
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x402940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x402953
mov dword [ebx], 0
mov edx, 0x43f3f8
call fcn.004027c0
mov esi, eax
test esi, esi
je 0x402a72
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 + 8], eax
cmp eax, 0xffffffff
je 0x402a68
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 0x402a68
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x402a68
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x402a68
mov ecx, edi
call fcn.00407d20
mov dword [ebp + 8], eax
test eax, eax
je 0x402a68
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x402a51
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x4474b8]
add esp, 4
test ecx, ecx
je 0x402a3e
movsx edx, word [ecx + 0x520c]
lea eax, [ecx + 0x5210]
mov esi, dword [ecx + 0x3f70]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x402a34
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x520c], ax
cwde
add eax, 0xa42
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5208]
push dword [ebp + 8]
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
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x402a60
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
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
pop ebp
ret
Function at 0x40af00
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 0x40af3d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40af23
cmp byte [esi], bl
jne 0x40af23
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 + 0x43f858]
test bl, bl
jne 0x40af14
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040aea0
Function at 0x411420
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x447040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xf4]
mov ebx, dword [edi + 0xfc]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43f858]
sub esi, 1
jne 0x411460
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x4044], ebx
jne 0x411497
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041ad60
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bca4
mov esp, ebp
pop ebp
ret 4
Function at 0x413c30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
or edx, 0xffffffff
mov al, 0x23
push ebx
push esi
push edi
mov edi, dword [0x4474b8]
mov esi, 0x43f055
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x413c5e
cmp byte [esi], al
jne 0x413c5e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x43f858]
test al, al
jne 0x413c50
not edx
mov ecx, edx
call fcn.0040aea0
cmp byte [edi + 0xc8], 0
je 0x413c9a
test eax, eax
je 0x413c9a
cmp byte [eax + 0xbb], 0
je 0x413c9a
mov bl, 1
jmp 0x413c9c
xor bl, bl
movss xmm4, dword [0x444204]
lea eax, [ebp - 0x24]
movss xmm1, dword [edi + 0x39f8]
lea ecx, [edi + 0x4a60]
movss xmm3, dword [0x4441a4]
movaps xmm0, xmm4
subss xmm0, xmm1
mov dword [ebp - 0x24], 4
xorps xmm2, xmm2
push eax
mulss xmm0, xmm3
addss xmm0, xmm1
movss xmm1, dword [edi + 0x39fc]
movss dword [ebp - 0x10], xmm0
xorps xmm0, xmm0
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edi + 0x3a00]
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [edi + 0x3a04]
subss xmm4, xmm0
movss dword [ebp - 8], xmm2
mulss xmm4, xmm3
addss xmm4, xmm0
movups xmm0, xmmword [edi + 0x39f8]
movups xmmword [ebp - 0x20], xmm0
movss dword [ebp - 4], xmm4
call fcn.0041b7e0
cmp dword [edi + 0x4a5c], 4
je 0x413d4e
movups xmm0, xmmword [ebp - 0x10]
movups xmmword [edi + 0x39f8], xmm0
test bl, bl
je 0x413d95
mov edx, dword [0x4474b8]
or dword [edx + 0x49f0], 1
mov eax, dword [edi + 0x5174]
mov ecx, dword [edi + 0x5178]
mov dword [edx + 0x4a00], eax
mov dword [edx + 0x4a04], ecx
mov dword [edx + 0x4a08], 0
mov dword [edx + 0x4a0c], 0
mov dword [edx + 0x49f4], 1
push 0x200016f
xor edx, edx
mov ecx, str.Tooltip_Error
call fcn.0040dcc0
mov esi, dword [0x4474b8]
mov bl, al
add esp, 4
mov eax, dword [esi + 0x4a60]
cmp eax, 1
jl 0x413dde
mov ecx, dword [esi + 0x4a68]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x39b8], xmm0
dec dword [esi + 0x4a60]
test bl, bl
je 0x413e40
mov eax, dword [edi + 0x4004]
cmp word [eax + 0xc8], 1
jne 0x413e45
mov ecx, str.MESSAGE_FROM_DEAR_IMGUI
call fcn.004325a0
mov ecx, dword [edi + 0x4004]
call fcn.00410c20
mov ecx, dword [edi + 0x4004]
call fcn.00410ba0
mov eax, dword [0x4474b8]
mov eax, dword [eax + 0x4004]
movss xmm0, dword [eax + 0x18]
movss xmm1, dword [eax + 0x1c]
mov al, bl
movss dword [edi + 0x5174], xmm0
movss dword [edi + 0x5178], xmm1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004108f0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5148], 0
lea esi, [edi + 0x514c]
je 0x419792
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41974c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041bc20
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00402e10
mov edx, dword [esi]
mov ecx, 0x4474b4
push dword [edi + 0x5148]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5154]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00402e10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419ba0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4474b8]
test bl, bl
je 0x419be6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x419bc7
cmp byte [esi], bl
jne 0x419bc7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x43f858]
test bl, bl
jne 0x419bb8
mov edi, dword [0x4474b8]
mov ecx, dword [edi + 0x50e4]
not eax
mov edx, dword [edi + 0x50ec]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x419c0d
cmp dword [edx + 4], eax
je 0x419c10
add edx, 0x24
cmp edx, ecx
jne 0x419c01
xor eax, eax
ret
mov eax, edx
ret
Function at 0x42c9f0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x447040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4474b8]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x42cba1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x42cba1
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x4474b8]
add esp, 4
mov edi, eax
test esi, esi
je 0x42ca93
movsx edx, word [esi + 0x520c]
lea eax, [esi + 0x5210]
mov ecx, dword [esi + 0x3f70]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x42ca89
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x520c], ax
cwde
add eax, 0xa42
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5204]
test edi, edi
je 0x42caa6
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x42caa8
xor edi, edi
or dword [ebx + 0xc], 6
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x70], str.imgui_impl_win32
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x42cae3
mov esi, dword [esi + 0x78]
jmp 0x42cae5
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42cb08
mov dword [esi], eax
mov eax, dword [0x4474b8]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4ad4]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov ecx, dword [eax]
mov eax, dword [edi]
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x28], eax
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x42cb6f
inc esi
cmp esi, 5
jl 0x42cb46
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bca4
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bca4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bca4
mov esp, ebp
pop ebp
ret
Function at 0x43a2c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x447040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x43a352
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x43a34b
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a317
sub eax, edx
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x43a32a
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0043bba0
add esp, 8
test eax, eax
je 0x43a369
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x43a310
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0043bca4
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043bca4
mov esp, ebp
pop ebp
ret
Function at 0x43c7de
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43c81d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43c81d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43c81d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43c81d
cmp dword [ecx + 0x74], 0xe
jbe 0x43c81d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10002580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100025d8
cmp byte [esi + ebx - 1], 0xa
je 0x100025ac
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10004118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x136303dc
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x48e22114
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x538850b9
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2c600b72
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
jmp 0x401219