joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ef0
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x403478
call fcn.00495000
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043a0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x402d78
cmp eax, esi
jne 0x402d6b
xor esi, esi
inc esi
mov edi, esi
jmp 0x402d7b
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x402d4f
xor esi, esi
inc esi
cmp dword [0x4043a4], esi
jne 0x402d8d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402dc7
cmp dword [0x4043a4], ebx
jne 0x402dc1
mov dword [0x4043a4], esi
push 0x4011a8
push 0x40119c
call fcn.00402ea2
pop ecx
pop ecx
test eax, eax
je 0x402dc7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402e9c
mov dword [0x404034], esi
cmp dword [0x4043a4], esi
jne 0x402dea
push 0x401198
push 0x401190
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043a4], 2
test edi, edi
jne 0x402df7
xor eax, eax
mov ecx, 0x4043a0
xchg dword [ecx], eax
cmp dword [0x4043a8], 0
je 0x402e23
push 0x4043a8
call fcn.00403070
pop ecx
test eax, eax
je 0x402e23
push ebx
push 2
push ebx
mov esi, dword [0x4043a8]
mov ecx, esi
call dword [0x40515c]
call esi
push dword [0x404040]
push dword [0x40403c]
push dword [0x404038]
call fcn.00401a43
add esp, 0xc
mov dword [0x404030], eax
cmp dword [0x404048], 0
jne 0x402e81
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404034], 0
jne 0x402e95
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404030]
mov dword [ebp - 4], 0xfffffffe
call fcn.00403274
ret
call fcn.00403163
jmp 0x402d33

Function at 0x402f74
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x403498
call fcn.004033fc
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x402fd4
cmp eax, 0xffffffff
je 0x402fd4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x402fcd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x402fcd
cmp edx, 0x10000000
jae 0x402fcd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x402fca
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00403441
ret 4

Function at 0x403020
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 0x40305e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403056
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403060
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403046
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x403130
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x403146
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x403161
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x4032a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445b00
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f040]
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 + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
lea eax, [edi + 0x10]
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x10], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
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 0x40339a
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.0041dbf0
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 + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
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 + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 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 0x405e00
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 0x405e61
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x405e44
cmp edi, 2
jb 0x405e44
cmp byte [esi], cl
jne 0x405e44
cmp byte [esi + 1], cl
jne 0x405e44
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x448698]
jmp 0x405e15
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x448698]
test edi, edi
jne 0x405e15
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x405e90
cmp cl, 0x23
jne 0x405e77
cmp byte [esi], cl
jne 0x405e77
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 + 0x448698]
test cl, cl
jne 0x405e68
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x405f40
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 0x405f53
mov dword [ebx], 0
mov edx, 0x448288
call fcn.00405ea0
mov esi, eax
test esi, esi
je 0x406073
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 0x406069
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 0x406069
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x406069
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 0x406069
mov ecx, edi
call fcn.00409830
mov dword [ebp + 8], eax
test eax, eax
je 0x406069
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 0x406052
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x44f508]
add esp, 4
test ecx, ecx
je 0x40603f
movsx edx, word [ecx + 0x5ec8]
lea eax, [ecx + 0x5ecc]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x406035
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5ec8], ax
cwde
lea eax, [eax*8 + 0x5ecc]
add eax, ecx
xor edx, edx
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5ec4]
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 0x406061
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 0x409040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44f040]
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 + 0xec]
mov ebx, dword [edi + 0xf4]
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 + 0x448698]
sub esi, 1
jne 0x409080
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x4090b7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041d120
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044495b
mov esp, ebp
pop ebp
ret 4

Function at 0x4090d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44f040]
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 + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
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 + 0xf4]
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 + 0x448698]
sub edi, 1
jne 0x409150
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.0044495b
mov esp, ebp
pop ebp
ret 4
Function at 0x40b470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x44f508]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x4a38]
mov edx, dword [eax]
inc dword [esi + 0xa8]
mov ecx, dword [edi + 0x26c]
mov dword [ebp - 4], edx
cmp dword [ecx + 0x7c], 1
jle 0x40b4af
push ecx
add ecx, 0x78
call fcn.00429be0
mov edx, dword [ebp - 4]
mov edi, dword [edi + 0x26c]
mov esi, dword [edx + ebx*4 + 0x70]
mov eax, dword [edi]
test eax, eax
je 0x40b522
cmp eax, 1
jne 0x40b4d3
mov eax, dword [edi + 8]
cmp dword [eax + 0x1c], 0
jne 0x40b4d3
cmp dword [eax + 0x20], 0
je 0x40b522
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x40b509
lea edx, [eax + 1]
mov dword [ebp - 8], edx
test ecx, ecx
je 0x40b4f4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 8]
sar eax, 1
add eax, ecx
jmp 0x40b4f9
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.0041dbf0
mov edx, dword [ebp - 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
inc dword [edx + 0x3c]
mov eax, dword [edi + 0x18]
add dword [edx + 0x44], eax
mov eax, dword [edi + 0xc]
add dword [edx + 0x40], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x190]
mov eax, dword [eax + 0x188]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x40b562
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xae], 0
je 0x40b55b
cmp byte [ecx + 0xb5], 0
jne 0x40b55b
mov edx, ebx
call fcn.0040b470
add esi, 4
cmp esi, edi
jne 0x40b540
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c760
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [0x44f508]
mov ebx, edx
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [esi + 0x3f8c]
mov ecx, edi
mov eax, dword [esi + 0x4954]
or eax, 0x100
mov dword [esi + 0x498c], 1
mov dword [esi + 0x4954], eax
cmp dword [edi + 0x198], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
jne 0x40c7c1
cmp dword [esi + 0x4ce0], 0
mov eax, 0x230
je 0x40c7c6
mov eax, 0x200
movss xmm1, dword [edi + eax]
movss xmm2, dword [edi + eax + 4]
mov eax, dword [ebp + 8]
subss xmm2, dword [ecx + 0xfc]
subss xmm1, dword [ecx + 0xf8]
lea ecx, [ebp - 0x24]
push dword [eax + 4]
push dword [eax]
call fcn.004156f0
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x20]
or eax, 2
mov dword [esi + 0x4954], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x4978], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x4974], eax
mov dword [esi + 0x495c], 1
mov eax, dword [edi + 4]
push ebx
test ecx, ecx
je 0x40c83e
push ecx
push eax
push str._s__s__08X
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00405cd0
add esp, 0x18
jmp 0x40c852
push eax
push str._s__08X
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00405cd0
add esp, 0x14
movss xmm0, dword [esi + 0x38d8]
xor edx, edx
mov ecx, dword [ebp - 0x14]
push 0x1000107
movss dword [ebp - 0x10], xmm0
call fcn.0040f440
mov edi, dword [esi + 0x3f8c]
add esp, 4
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x38d8], xmm0
mov byte [ebp - 9], al
cmp word [edi + 0xbc], 1
mov dword [ebp - 0x10], edi
mov dword [edi + 0x78], ebx
jne 0x40c8ac
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [eax + 0xf8], ecx
mov dword [eax + 0xfc], edx
mov edi, ebx
mov edx, 0x4476a1
not edi
mov al, 0x23
mov ebx, edi
nop dword [eax]
cmp al, 0x23
jne 0x40c8ce
cmp byte [edx], al
jne 0x40c8ce
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x448698]
test al, al
jne 0x40c8c0
mov edi, dword [ebp - 0x10]
not ebx
cmp dword [esi + 0x3fdc], ebx
jne 0x40c8fd
xor edx, edx
xor ecx, ecx
call fcn.00409180
mov eax, dword [ebp - 0x1c]
cmp dword [esi + 0x4a54], eax
jne 0x40c942
cmp word [edi + 0x154], 0
jne 0x40c91b
cmp byte [edi + 0x15a], 0
je 0x40c942
xor edx, edx
mov ecx, edi
call fcn.00412190
xor dl, dl
mov ecx, edi
call fcn.00417e90
mov edx, edi
mov ecx, ebx
call fcn.00409180
mov eax, dword [esi + 0x4a80]
mov dword [esi + 0x4000], eax
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044495b
mov esp, ebp
pop ebp
ret
Function at 0x40cb70
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 0x40cbad
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40cb93
cmp byte [esi], bl
jne 0x40cb93
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 + 0x448698]
test bl, bl
jne 0x40cb84
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040cb10
Function at 0x41bb40
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 + 0x5e18], 0
lea esi, [edi + 0x5e1c]
je 0x41bbc2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41bb7c
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.0041dfe0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00406670
mov edx, dword [esi]
mov ecx, 0x44f504
push dword [edi + 0x5e18]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5e24]
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.00406670
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41bfd0
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 [0x44f508]
test bl, bl
je 0x41c016
or edi, 0xffffffff
cmp bl, 0x23
jne 0x41bff7
cmp byte [esi], bl
jne 0x41bff7
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 + 0x448698]
test bl, bl
jne 0x41bfe8
mov edi, dword [0x44f508]
mov ecx, dword [edi + 0x5dbc]
not eax
mov edx, dword [edi + 0x5dc4]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x41c03d
cmp dword [edx + 4], eax
je 0x41c040
add edx, 0x24
cmp edx, ecx
jne 0x41c031
xor eax, eax
ret
mov eax, edx
ret
Function at 0x42f620
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x44f508]
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 0x42f7cd
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x42f7cd
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x44f508]
add esp, 4
mov edi, eax
test esi, esi
je 0x42f6c4
movsx edx, word [esi + 0x5ec8]
lea eax, [esi + 0x5ecc]
mov ecx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x42f6ba
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5ec8], ax
cwde
lea eax, [eax*8 + 0x5ecc]
add eax, esi
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5ec0]
test edi, edi
je 0x42f6d7
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x42f6d9
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x6c], str.imgui_impl_win32
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
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 0x42f714
mov esi, dword [esi + 0x74]
jmp 0x42f716
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 0x42f739
mov dword [esi], eax
mov eax, dword [0x44f508]
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 + 0x4a38]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x24], ebx
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 0x42f79b
inc esi
cmp esi, 5
jl 0x42f772
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044495b
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.0044495b
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.0044495b
mov esp, ebp
pop ebp
ret
Function at 0x445259
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6e45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4078d2
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x4078a4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x4078cd
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.00420325
mov dword [eax], esi
jmp 0x4079f7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0xd1e
mov dword [ebp - 0x50], str.bmmujvavj_talnu_ikdtvk_nutnno_ohyeyfbba_zwhyrjrbe_ixtvklf_dbznyv_woz_efmbt
cmp dword [ebp - 0x28], 0xdba
jle 0x40799c
push 0x16cd
push 0x23dc
push 0x2654
call dword [sym.imp.USER32.dll_SetWindowLongW]
and dword [ebp - 0x14], 0
jmp 0x407915
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3710
jge 0x407994
and dword [ebp - 0x18], 0
jmp 0x40792b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2fdc
jge 0x40798f
and dword [ebp - 0x1c], 0
jmp 0x407941
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x37b5
jge 0x40798d
and dword [ebp - 0x20], 0
jmp 0x407957
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2f21
jge 0x40798b
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
and ecx, edx
mov eax, ecx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0xac67d8
call fcn.004200f3
jmp 0x407950
jmp 0x40793a
jmp 0x407924
jmp 0x40790e
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0xd0a
jge 0x4079bc
mov edx, dword [ebp - 0x50]
mov ecx, 0xac67d8
call fcn.00421ea9
jmp 0x4079d8
or dword [ebp - 4], 0xffffffff
jmp 0x4079e2
push dword [ebp - 0x54]
push 0x418d
push 1
push dword [ebp - 0x58]
call fcn.00403a34
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret