joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438e70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a370
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51a900]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
jns 0x438fc4
mov eax, ecx
xor edi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edi, eax
cmp edi, ecx
jle 0x438fc4
lea ecx, [edi*4]
call fcn.0043e280
mov edx, dword [esi + 0x18]
mov dword [ebp - 0x18], eax
test edx, edx
je 0x438fbe
mov ecx, dword [esi + 0x10]
shl ecx, 2
push ecx
push edx
push eax
call fcn.004732a0
mov ebx, dword [esi + 0x18]
add esp, 0xc
test ebx, ebx
je 0x438fb2
mov ecx, dword [0x524aa8]
test ecx, ecx
je 0x438fb2
movsx eax, word [ecx + 0x5e30]
mov edx, dword [ecx + 0x3f08]
mov dword [ebp - 0x14], edx
lea eax, [eax*8 + 0x5e34]
add eax, ecx
cmp dword [eax], edx
je 0x438fa8
movsx eax, word [ecx + 0x5e30]
inc eax
mov dword [ebp - 0x10], 6
cdq
idiv dword [ebp - 0x10]
movzx eax, dx
mov edx, dword [ebp - 0x14]
mov word [ecx + 0x5e30], ax
cwde
lea eax, [eax*8 + 0x5e34]
add eax, ecx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e2c]
push ebx
call fcn.0047ed0b
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b070
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x43b0ce
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x43b0b2
cmp edi, 2
jb 0x43b0b2
cmp byte [esi], cl
jne 0x43b0b2
cmp byte [esi + 1], cl
jne 0x43b0b2
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x50c940]
jmp 0x43b083
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x50c940]
test edi, edi
jne 0x43b083
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x43b0fd
cmp cl, 0x23
jne 0x43b0e4
cmp byte [esi], cl
jne 0x43b0e4
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 + 0x50c940]
test cl, cl
jne 0x43b0d5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x43b1f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x43b202
mov dword [edi], 0
mov edx, 0x50c50c
call fcn.0043b110
mov esi, eax
test esi, esi
je 0x43b2aa
push esi
call fcn.004829ba
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x43b2a1
push 2
push 0
push esi
call fcn.00479cba
add esp, 0xc
test eax, eax
jne 0x43b2a1
push esi
call fcn.004829ba
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x43b2a1
push 0
push ebp
push esi
call fcn.00479cba
add esp, 0xc
test eax, eax
jne 0x43b2a1
mov ecx, ebx
call fcn.0043e280
mov ebp, eax
test ebp, ebp
je 0x43b2a1
push esi
push ebx
push 1
push ebp
call fcn.00479f28
add esp, 0x10
push esi
cmp eax, ebx
je 0x43b28c
call fcn.0047a76b
add esp, 4
mov ecx, ebp
call fcn.0043e310
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.0047a76b
add esp, 4
test edi, edi
je 0x43b29a
mov dword [edi], ebx
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.0047a76b
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x43db50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x10]
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x50c940]
sub esi, 1
jne 0x43db70
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc0], ebx
jne 0x43dba8
push ecx
push dword [esp + 0x14]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0044fac0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
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 [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x50c940]
sub edi, 1
jne 0x43dc21
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x441010
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x524aa8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x3f78]
mov edi, ecx
mov eax, dword [eax + 0x3f70]
lea ebx, [esi + eax*8]
test eax, eax
je 0x440fee
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x440fe8
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x440fea
mov eax, edx
test eax, eax
jne 0x440fd0
cmp esi, ebx
je 0x440ffd
cmp dword [esi], edi
jne 0x440ffd
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x44104d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x441033
cmp byte [esi], bl
jne 0x441033
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 + 0x50c940]
test bl, bl
jne 0x441024
pop edi
pop esi
not ecx
pop ebx
jmp 0x440fb0
Function at 0x44e990
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 [0x524aa8]
test bl, bl
je 0x44e9d9
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x44e9bf
cmp byte [esi], bl
jne 0x44e9bf
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x50c940]
test bl, bl
jne 0x44e9b0
pop ebp
mov ecx, dword [edi + 0x5d44]
not eax
mov edx, dword [edi + 0x5d4c]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x44ea00
cmp dword [edx + 4], eax
je 0x44ea03
add edx, 0x24
cmp edx, ecx
jne 0x44e9f4
xor eax, eax
ret
mov eax, edx
ret
Function at 0x45a050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004389a0
lea ecx, [esi + 0xc]
call fcn.004389a0
lea ecx, [esi + 0x18]
call fcn.004389a0
mov dword [esi + 0x24], 0
mov ebp, 6
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov edi, dword [esi + 0x44]
test edi, edi
je 0x45a100
mov ecx, dword [0x524aa8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test ecx, ecx
je 0x45a0f0
movsx edx, word [ecx + 0x5e30]
lea eax, [ecx + 0x5e34]
mov ebx, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ebx
je 0x45a0e6
lea eax, [edx + 1]
cdq
idiv ebp
movzx eax, dx
mov word [ecx + 0x5e30], ax
cwde
lea eax, [eax*8 + 0x5e34]
add eax, ecx
xor edx, edx
mov dword [eax], ebx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e2c]
push edi
call fcn.0047ed0b
add esp, 4
mov dword [esi + 0x44], 0
mov edi, dword [esi + 0x50]
test edi, edi
je 0x45a174
mov ecx, dword [0x524aa8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test ecx, ecx
je 0x45a164
movsx edx, word [ecx + 0x5e30]
lea eax, [ecx + 0x5e34]
mov ebx, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ebx
je 0x45a15a
lea eax, [edx + 1]
cdq
idiv ebp
movzx eax, dx
mov word [ecx + 0x5e30], ax
cwde
lea eax, [eax*8 + 0x5e34]
add eax, ecx
xor edx, edx
mov dword [eax], ebx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5e2c]
push edi
call fcn.0047ed0b
add esp, 4
mov dword [esi + 0x50], 0
lea ecx, [esi + 0x54]
call fcn.004389a0
pop edi
lea ecx, [esi + 0x78]
pop esi
pop ebp
pop ebx
jmp fcn.0045c7e0
Function at 0x45d440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
push esi
push edi
cmp byte [ecx + 0x3c], 0
lea ebp, [ebx + 0x3c]
jne 0x45d4dc
push 0x60
call fcn.00482ac2
mov esi, dword [0x524aa8]
add esp, 4
mov ecx, eax
test esi, esi
je 0x45d4bf
movsx edx, word [esi + 0x5e30]
lea eax, [esi + 0x5e34]
mov edi, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x45d4b5
lea eax, [edx + 1]
mov dword [esp + 0x14], 6
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov word [esi + 0x5e30], ax
cwde
lea eax, [eax*8 + 0x5e34]
add eax, esi
xor edx, edx
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 4]
inc dword [esi + 0x5e28]
test ecx, ecx
je 0x45d4ca
call fcn.0045fa10
jmp 0x45d4cc
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, ebp
lea eax, [esp + 0x14]
push eax
call fcn.00431e70
mov esi, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x58]
cmp esi, ecx
jne 0x45d535
inc esi
test ecx, ecx
je 0x45d4f6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x45d4fb
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x45d535
imul ecx, esi, 0x7c
call fcn.0043e280
mov edi, eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x45d52c
imul ecx, dword [ebx + 0x54], 0x7c
push ecx
push eax
push edi
call fcn.004732a0
mov ecx, dword [ebx + 0x5c]
add esp, 0xc
call fcn.0043e310
mov dword [ebx + 0x5c], edi
lea ebp, [ebx + 0x3c]
mov dword [ebx + 0x58], esi
imul edi, dword [ebx + 0x54], 0x7c
mov ecx, 0x1f
mov edx, dword [esp + 0x1c]
mov esi, edx
add edi, dword [ebx + 0x5c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x54]
imul edi, dword [ebx + 0x54], 0x7c
add edi, dword [ebx + 0x5c]
cmp dword [edi - 4], 0
jne 0x45d566
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi - 4], eax
cmp byte [edi - 0x74], 0
jne 0x45d591
mov ecx, dword [edi - 0x78]
call fcn.0043e280
mov ecx, dword [esp + 0x1c]
push dword [edi - 0x78]
mov dword [edi - 0x7c], eax
mov byte [edi - 0x74], 1
push dword [ecx]
push eax
call fcn.004732a0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [edi - 4]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x45d5a7
mov ax, word [edx + 0x4c]
mov word [ecx + 0x3c], ax
imul esi, dword [ebx + 0x54], 0x7c
mov eax, dword [ebx + 0x5c]
add esi, eax
cmp eax, esi
je 0x45d5d2
cmp byte [eax + 0x3c], 0
mov edx, dword [eax + 0x78]
lea ecx, [edx + 0x38]
jne 0x45d5c8
mov dword [edx + 0x34], eax
xor edx, edx
mov word [ecx], dx
inc word [ecx]
add eax, 0x7c
cmp eax, esi
jne 0x45d5b4
mov ecx, ebx
mov byte [ebx + 0x18], 0
call fcn.0045d360
mov eax, dword [edi - 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4645f0
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x51bfc0], 0
jne 0x46469d
push 0x2220
push 0
push 0x51bfc0
call fcn.00472ed0
movq xmm0, qword [section..data]
add esp, 0xc
mov eax, dword [0x51a008]
movq qword [0x51bfc4], xmm0
mov dword [0x51bfcc], eax
call fcn.00467a00
test eax, eax
je 0x4646a3
push 0x51d26c
call fcn.004691b0
add esp, 4
test eax, eax
je 0x4646a3
push 0x51d25c
call fcn.004691d0
add esp, 4
test eax, eax
je 0x4646a3
push 0x51d264
call fcn.004691d0
add esp, 4
test eax, eax
je 0x4646a3
push 0x51e1e0
push 0x51d25c
call fcn.00469280
add esp, 8
call fcn.004662e0
mov dword [0x51bfc0], 1
call fcn.00469190
mov dword [0x51d288], eax
mov dword [0x51d28c], edx
call fcn.00464c50
mov eax, 1
ret
call fcn.004646d0
xor eax, eax
ret
Function at 0x465000
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x51bfc0], 0
jne 0x465019
push 0
push 0x10001
call fcn.00464240
add esp, 8
ret
jmp 0x469f70
sub esp, 0x50
mov eax, dword [0x51a900]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [esp + 0x10]
push 1
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x469fea
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x14], 0x12
jne 0x469fc9
mov esi, dword [0x51c388]
test esi, esi
je 0x469fd7
push esi
call fcn.00464830
mov esi, dword [esi]
add esp, 4
test esi, esi
jne 0x469fb8
jmp 0x469fd7
lea eax, [esp + 0x10]
push eax
call ebx
lea eax, [esp + 0x10]
push eax
call ebp
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call edi
test eax, eax
jne 0x469fa7
call dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
je 0x46a06e
push str.GLFW
push eax
call dword [sym.imp.USER32.dll_GetPropW]
mov ebx, eax
test ebx, ebx
je 0x46a06e
movaps xmm0, xmmword [0x4b4840]
lea eax, [esp + 0x40]
movups xmmword [esp + 0x3c], xmm0
xor esi, esi
movaps xmm0, xmmword [0x4b4850]
movups xmmword [esp + 0x4c], xmm0
nop dword [eax]
nop dword [eax + eax]
mov edi, dword [eax + esi*8]
push dword [esp + esi*8 + 0x3c]
movsx ebp, word [edi*2 + 0x51d6d8]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x46a064
cmp byte [edi + ebx + 0x74], 1
jne 0x46a064
call fcn.0046b390
push eax
push 0
push ebp
push edi
push ebx
call fcn.00466580
add esp, 0x14
inc esi
lea eax, [esp + 0x40]
cmp esi, 4
jl 0x46a030
mov esi, dword [0x51e078]
test esi, esi
je 0x46a0e9
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp dword [esi + 0x2d8], edi
jne 0x46a0af
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp dword [esi + 0x2dc], eax
je 0x46a0e9
mov eax, ebx
mov dword [esp + 0x2c], edi
cdq
sub eax, edx
mov dword [esi + 0x2d8], edi
sar eax, 1
mov dword [esp + 0x30], eax
mov dword [esi + 0x2dc], eax
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00471a79
add esp, 0x50
ret
Function at 0x467ea0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x164
mov eax, dword [0x51a900]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
push 0x100
lea eax, [esp + 0x74]
push 0
push eax
call fcn.00472ed0
push 0x6d1
push 0
push 0x51d992
call fcn.00472ed0
mov eax, 0x51da32
lea ebx, [esp + 0x2c]
add esp, 0x18
mov dword [esp + 0x10], eax
mov esi, 0x20
sub ebx, 0x480
movsx edi, word [esi*2 + 0x51d6d8]
cmp edi, 0xffffffff
je 0x467ffd
cmp esi, 0x140
jb 0x467f9a
cmp esi, 0x14e
ja 0x467f9a
mov dword [esp + 0x14], 0x60
mov dword [esp + 0x18], 0x61
mov dword [esp + 0x1c], 0x62
mov dword [esp + 0x20], 0x63
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x28], 0x65
mov dword [esp + 0x2c], 0x66
mov dword [esp + 0x30], 0x67
mov dword [esp + 0x34], 0x68
mov dword [esp + 0x38], 0x69
mov dword [esp + 0x3c], 0x6e
mov dword [esp + 0x40], 0x6f
mov dword [esp + 0x44], 0x6a
mov dword [esp + 0x48], 0x6d
mov dword [esp + 0x4c], 0x6b
mov ebp, dword [ebx]
jmp 0x467fa5
push 1
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, eax
push 0
push 0x10
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x467fd6
push 0
push 0x10
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x467ff9
push 0
push 0
push 5
push dword [esp + 0x1c]
lea eax, [esp + 0x60]
push 1
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x10]
inc esi
add eax, 5
add ebx, 4
mov dword [esp + 0x10], eax
cmp esi, 0x15c
jle 0x467ef5
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00471a79
add esp, 0x164
ret
Function at 0x4682e0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x1c
mov eax, dword [0x51a900]
xor eax, esp
mov dword [esp + 0x18], eax
push 0x51d2c0
push 0x51bfc0
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x468327
push 0x4b41b0
push 0x10008
call fcn.004677b0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00471a79
add esp, 0x1c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.user32.dll
call ebx
mov dword [0x51e0a0], eax
test eax, eax
jne 0x468362
push str.Win32:_Failed_to_load_user32.dll
push 0x10008
call fcn.004677b0
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00471a79
add esp, 0x1c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProcessDPIAware
push eax
call edi
push str.ChangeWindowMessageFilterEx
push dword [0x51e0a0]
mov dword [0x51e0a4], eax
call edi
push str.EnableNonClientDpiScaling
push dword [0x51e0a0]
mov dword [0x51e0a8], eax
call edi
push str.SetProcessDpiAwarenessContext
push dword [0x51e0a0]
mov dword [0x51e0ac], eax
call edi
push str.GetDpiForWindow
push dword [0x51e0a0]
mov dword [0x51e0b0], eax
call edi
push str.AdjustWindowRectExForDpi
push dword [0x51e0a0]
mov dword [0x51e0b4], eax
call edi
push str.GetSystemMetricsForDpi
push dword [0x51e0a0]
mov dword [0x51e0b8], eax
call edi
push str.dinput8.dll
mov dword [0x51e0bc], eax
call ebx
mov dword [0x51e088], eax
test eax, eax
je 0x4683ff
push str.DirectInput8Create
push eax
call edi
mov dword [0x51e08c], eax
push esi
mov dword [esp + 0xc], str.xinput1_4.dll
xor esi, esi
mov dword [esp + 0x10], str.xinput1_3.dll
mov eax, str.xinput1_4.dll
mov dword [esp + 0x14], str.xinput9_1_0.dll
mov dword [esp + 0x18], str.xinput1_2.dll
mov dword [esp + 0x1c], str.xinput1_1.dll
mov dword [esp + 0x20], 0
push eax
call ebx
mov dword [0x51e094], eax
test eax, eax
jne 0x46844e
mov eax, dword [esp + esi*4 + 0x10]
inc esi
test eax, eax
jne 0x468437
jmp 0x46846d
push str.XInputGetCapabilities
push eax
call edi
push str.XInputGetState
push dword [0x51e094]
mov dword [0x51e098], eax
call edi
mov dword [0x51e09c], eax
push str.dwmapi.dll
call ebx
mov dword [0x51e0c0], eax
pop esi
test eax, eax
je 0x4684c1
push str.DwmIsCompositionEnabled
push eax
call edi
push str.DwmFlush
push dword [0x51e0c0]
mov dword [0x51e0c4], eax
call edi
push str.DwmEnableBlurBehindWindow
push dword [0x51e0c0]
mov dword [0x51e0c8], eax
call edi
push str.DwmGetColorizationColor
push dword [0x51e0c0]
mov dword [0x51e0cc], eax
call edi
mov dword [0x51e0d0], eax
push str.shcore.dll
call ebx
mov dword [0x51e0d4], eax
test eax, eax
je 0x4684f0
push str.SetProcessDpiAwareness
push eax
call edi
push str.GetDpiForMonitor
push dword [0x51e0d4]
mov dword [0x51e0d8], eax
call edi
mov dword [0x51e0dc], eax
push str.ntdll.dll
call ebx
mov dword [0x51e0e0], eax
test eax, eax
je 0x46850d
push str.RtlVerifyVersionInfo
push eax
call edi
mov dword [0x51e0e4], eax
mov ecx, dword [esp + 0x20]
mov eax, 1
pop edi
pop ebx
xor ecx, esp
call fcn.00471a79
add esp, 0x1c
ret
Function at 0x4691d0
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [esp + 4]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
jne 0x4691f7
push 0x4b4640
push 0x10008
call fcn.004677b0
add esp, 8
xor eax, eax
ret
mov dword [ecx], 1
mov eax, 1
ret

Function at 0x469950
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
push ebx
push ebp
push esi
call fcn.0046ab00
add esp, 0xc
test eax, eax
je 0x469a81
mov edi, dword [esp + 0x1c]
cmp dword [edi], 0
je 0x4699f4
mov eax, dword [edi + 4]
cmp eax, 0x36001
jne 0x46999d
call fcn.0046dbd0
test eax, eax
je 0x469a81
push ebx
push edi
push esi
call fcn.0046d7d0
jmp 0x4699d7
cmp eax, 0x36002
jne 0x4699bb
call fcn.0046ee10
test eax, eax
je 0x469a81
push ebx
push edi
push esi
call fcn.0046e970
jmp 0x4699d7
cmp eax, 0x36003
jne 0x4699e2
call fcn.0046f960
test eax, eax
je 0x469a81
push ebx
push edi
push esi
call fcn.0046f750
add esp, 0xc
test eax, eax
je 0x469a81
push edi
push esi
call fcn.00465840
add esp, 8
test eax, eax
je 0x469a81
cmp dword [esi + 0x3c], 0
je 0x469a54
push 8
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.0046a8c0
push esi
call fcn.0046b270
add esp, 8
cmp dword [ebp + 0x28], 0
je 0x469a77
push esi
call fcn.00466250
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [ebp + 0x10], 0
je 0x469a77
push 8
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x18], 0
je 0x469a77
push esi
call fcn.00469b40
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret