joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438110
Capabilities:
Hash data using djb2

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x18
or eax, 0xffffffff
test ecx, ecx
jne 0x438261
mov ecx, dword [0x57e53c]
test ecx, ecx
jne 0x43813d
push str.no_gesture_touch_devices_registered
call fcn.0041ad60
add esp, 4
add esp, 0x18
ret
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x28], esi
push edi
test ecx, ecx
jle 0x43824e
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ebx, dword [0x57e538]
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + ebp + 0x201c]
imul edi, eax, 0x208
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
lea eax, [edi + 0x208]
push eax
push dword [ebx + ebp + 0x2020]
call fcn.004581b0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4381a0
push eax
call fcn.0041ac90
add esp, 4
jmp 0x43822f
push 0x200
push dword [esp + 0x34]
mov dword [ebx + ebp + 0x2020], eax
add eax, edi
push eax
mov dword [esp + 0x20], eax
call fcn.0041c240
mov ebp, dword [esp + 0x20]
add esp, 0xc
mov edi, 0x1505
xor ebx, ebx
nop word [eax + eax]
movss xmm0, dword [ebp + ebx*8]
mov esi, edi
shl esi, 5
add esi, edi
call fcn.0050d240
movss xmm0, dword [ebp + ebx*8 + 4]
add esi, eax
mov edi, esi
shl edi, 5
add edi, esi
call fcn.0050d240
inc ebx
add edi, eax
cmp ebx, 0x40
jl 0x4381d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [ecx + eax + 0x200], edi
mov dword [ecx + eax + 0x204], 0
mov eax, dword [esp + 0x20]
inc dword [eax + ebp + 0x201c]
mov eax, dword [esp + 0x24]
test eax, eax
js 0x438256
inc esi
add ebp, 0x2028
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], ebp
cmp esi, dword [0x57e53c]
jl 0x438155
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret
add esp, 0x18
mov dword [esp + 4], ecx
jmp fcn.00438270

Function at 0x438270
Capabilities:
Hash data using djb2

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov eax, dword [ebx + 0x201c]
imul esi, eax, 0x208
mov dword [esp + 8], eax
lea eax, [esi + 0x208]
push eax
push dword [ebx + 0x2020]
call fcn.004581b0
add esp, 8
test eax, eax
jne 0x4382ad
push eax
call fcn.0041ac90
add esp, 4
pop esi
pop ebx
pop ecx
ret
push ebp
push edi
push 0x200
push dword [esp + 0x20]
lea ebp, [esi + eax]
mov dword [ebx + 0x2020], eax
push ebp
call fcn.0041c240
add esp, 0xc
mov edi, 0x1505
xor ebx, ebx
movss xmm0, dword [ebp + ebx*8]
mov esi, edi
shl esi, 5
add esi, edi
call fcn.0050d240
movss xmm0, dword [ebp + ebx*8 + 4]
add esi, eax
mov edi, esi
shl edi, 5
add edi, esi
call fcn.0050d240
inc ebx
add edi, eax
cmp ebx, 0x40
jl 0x4382d1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x200], edi
pop edi
mov dword [ebp + 0x204], 0
inc dword [ecx + 0x201c]
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x458200
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
test esi, esi
je 0x45825f
cmp byte [esi], 0
je 0x45825f
push dword [0x57f2f4]
push dword [0x57f2f0]
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test edi, edi
je 0x45825f
cmp edi, dword [0x57f2f4]
jbe 0x458257
push edi
push dword [0x57f2f0]
call fcn.004581b0
add esp, 8
test eax, eax
je 0x45825f
push edi
push eax
push esi
mov dword [0x57f2f0], eax
mov dword [0x57f2f4], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [0x57f2f0]
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x45eb90
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
mov dword [esp + 8], 0
mov edx, dword [esi + 0x28]
mov ecx, edx
neg ecx
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xc]
sbb ecx, ecx
and ecx, 0x10000
test eax, eax
je 0x45ebd3
push edi
lea edi, [esp + 0xc]
push edi
push ecx
push esi
push 0x45eb60
push edx
push 0
call eax
add esp, 0x18
pop edi
jmp 0x45ebe8
lea eax, [esp + 8]
push eax
push ecx
push esi
push 0x45eb60
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop esi
test eax, eax
jne 0x45ebfe
push str.Not_enough_resources_to_create_thread
call fcn.0041ad60
add esp, 4
ret
xor eax, eax
ret

Function at 0x45f6b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
cmp dword [0x57f3ac], 0
jne 0x45f6f0
push 0
push 0x45f7d0
push str.SDL_TIMER_RESOLUTION
mov dword [0x57f3ac], 1
call fcn.0043a9f0
add esp, 0xc
push 0x57f3b8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x57f3b0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp]
sub ecx, dword [0x57f3b0]
mov eax, dword [esp + 4]
sbb eax, dword [0x57f3b4]
push 0
push 0x3e8
push eax
push ecx
call fcn.0050cf60
push dword [0x57f3bc]
push dword [0x57f3b8]
push edx
push eax
call fcn.0050cfd0
add esp, 8
ret
Function at 0x4656b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
test esi, esi
je 0x46576a
push ebp
nop word [eax + eax]
movzx edx, byte [ebx + edi]
mov ebp, 0
movzx ecx, al
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, ebp
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, ebp
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, ebp
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, ebp
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, ebp
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, ebp
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, ebp
shr edx, 1
xor ecx, edx
shr eax, 7
xor eax, ecx
mov edx, 0xff000000
shr eax, 1
test cl, 1
mov ecx, 0x12b88320
cmovne ecx, edx
inc edi
xor eax, ecx
cmp edi, esi
jb 0x4656d0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46f0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
je 0x46f1cd
push ebx
mov ebx, dword [esp + 0x14]
nop word [eax + eax]
mov dl, byte [esi + ebp]
xor dl, bl
mov al, dl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr dl, 1
and eax, 0xa001
movzx ecx, ax
mov al, dl
xor al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr cx, 1
and eax, 0xa001
shr dl, 1
xor ax, cx
movzx ecx, ax
mov al, dl
xor al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr cx, 1
and eax, 0xa001
shr dl, 1
xor ax, cx
movzx ecx, ax
mov al, dl
xor al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr cx, 1
and eax, 0xa001
shr dl, 1
xor ax, cx
movzx ecx, ax
mov al, dl
xor al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr cx, 1
and eax, 0xa001
shr dl, 1
xor ax, cx
movzx ecx, ax
mov al, dl
xor al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr cx, 1
and eax, 0xa001
shr dl, 1
xor ax, cx
movzx ecx, ax
mov al, dl
xor al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr cx, 1
and eax, 0xa001
shr dl, 1
xor ax, cx
movzx ecx, ax
xor dl, cl
and dl, 1
movzx eax, dl
neg eax
sbb eax, eax
shr cx, 1
and eax, 0xa001
xor ax, cx
shr bx, 8
movzx ecx, ax
inc esi
xor bx, cx
movzx ebx, bx
cmp esi, edi
jb 0x46f0d0
mov ax, bx
pop ebx
pop edi
pop esi
pop ebp
ret
mov ax, word [esp + 0x10]
pop edi
pop esi
pop ebp
ret

Function at 0x46f1e0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push esi
push edi
call sub.KERNEL32.dll_GetCurrentThreadId
xor edi, edi
mov esi, eax
cmp dword [0x57dec4], edi
jne 0x41ddc6
push 0x57decc
call fcn.00426790
add esp, 4
cmp dword [0x57dec4], edi
jne 0x41ddb9
call fcn.0044b3e0
nop
mov dword [0x57dec4], eax
test eax, eax
jne 0x41ddb9
push 0x57decc
call fcn.004267f0
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0x57decc
call fcn.004267f0
add esp, 4
nop
push dword [0x57dec4]
call fcn.0044b4a0
mov eax, dword [0x57dec8]
add esp, 4
test eax, eax
je 0x41de01
nop
cmp dword [eax], esi
je 0x41ddfe
mov eax, dword [eax + 8]
test eax, eax
jne 0x41dde0
push dword [0x57dec4]
call fcn.0044b4e0
add esp, 4
mov eax, edi
pop edi
pop esi
ret
mov edi, dword [eax + 4]
push dword [0x57dec4]
call fcn.0044b4e0
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp dword [0x569328], 0xffffffff
jne 0x46f23b
cmp dword [0x57f48c], 0
jne 0x46f244
push 0x57f490
call fcn.00426790
add esp, 4
cmp dword [0x569328], 0xffffffff
jne 0x46f22e
cmp dword [0x57f48c], 0
jne 0x46f22e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x46f224
nop
mov dword [0x569328], eax
jmp 0x46f22e
mov dword [0x57f48c], 1
push 0x57f490
call fcn.004267f0
add esp, 4
cmp dword [0x57f48c], 0
je 0x46f249
jmp 0x41dd70
nop
push dword [0x569328]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
Function at 0x46f260
Capabilities:
Set thread local storage value

Disassembly:
push esi
push edi
call sub.KERNEL32.dll_GetCurrentThreadId
push dword [0x57dec4]
mov edi, eax
call fcn.0044b4a0
mov esi, dword [0x57dec8]
add esp, 4
xor ecx, ecx
test esi, esi
je 0x41de50
cmp dword [esi], edi
je 0x41de8b
mov ecx, esi
mov esi, dword [esi + 8]
test esi, esi
jne 0x41de43
push 0xc
call fcn.00458170
mov esi, eax
add esp, 4
test esi, esi
je 0x41de96
mov ecx, dword [esp + 0xc]
push dword [0x57dec4]
mov dword [esi + 4], ecx
mov ecx, dword [0x57dec8]
mov dword [esi], edi
mov dword [esi + 8], ecx
mov dword [0x57dec8], esi
call fcn.0044b4e0
add esp, 4
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41deb7
mov dword [esi + 4], eax
push dword [0x57dec4]
call fcn.0044b4e0
add esp, 4
test esi, esi
jne 0x41de86
pop edi
pop esi
mov dword [esp + 4], 0
jmp fcn.0041ac90
mov eax, dword [esi + 8]
test ecx, ecx
je 0x41decc
push esi
mov dword [ecx + 8], eax
call fcn.00458150
add esp, 4
jmp 0x41de96
push esi
mov dword [0x57dec8], eax
call fcn.00458150
add esp, 4
jmp 0x41de96
cmp dword [0x57f48c], 0
jne 0x41de20
push dword [esp + 4]
push dword [0x569328]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x46f28e
mov dword [esp + 4], str.TlsSetValue___failed
jmp fcn.0041ad60
xor eax, eax
ret
Function at 0x4704e0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
movzx eax, word [ebx + 0xf0]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0
push edi
push ebp
mov dword [esp + 0x24], eax
call sub.IMM32.dll_ImmGetCompositionStringW
mov esi, eax
test esi, esi
jle 0x470533
cmp dword [ebx + 0x7c], esi
jge 0x470533
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x470521
push eax
call fcn.00458150
add esp, 4
lea eax, [esi + 2]
push eax
call fcn.00458170
add esp, 4
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], esi
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push edi
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
push 0
xor esi, esi
test eax, eax
push 0
push 0x80
cmovns esi, eax
push ebp
shr esi, 1
call sub.IMM32.dll_ImmGetCompositionStringW
movzx edx, ax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xa0], edx
cmp eax, 0x404
je 0x470573
cmp eax, 0x804
jne 0x4705b3
test edx, edx
je 0x4705b3
mov eax, dword [ebx + 0x7c]
shr eax, 1
cmp edx, eax
jae 0x4705b3
mov eax, dword [ebx + 0x78]
mov ecx, 0x3000
movzx eax, word [eax]
cmp ax, cx
je 0x470595
cmp eax, 0x20
jne 0x4705b3
inc edx
cmp edx, esi
jae 0x4705b2
nop word [eax + eax]
mov eax, dword [ebx + 0x78]
lea ecx, [eax + edx*2]
inc edx
mov ax, word [ecx]
mov word [ecx - 2], ax
cmp edx, esi
jl 0x4705a0
dec esi
mov eax, dword [ebx + 0x78]
xor ecx, ecx
mov word [eax + esi*2], cx
cmp dword [ebx + 0xa0], ecx
jne 0x470634
test esi, esi
jle 0x470634
xor esi, esi
push esi
push esi
push 0x10
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
mov edi, eax
test edi, edi
jle 0x47062e
lea ecx, [edi + 2]
push ecx
call fcn.00458170
add esp, 4
mov ebp, eax
push edi
push ebp
push 0x10
push dword [esp + 0x24]
call sub.IMM32.dll_ImmGetCompositionStringW
xor ecx, ecx
mov al, byte [ecx + ebp]
cmp al, 1
je 0x470607
cmp al, 3
je 0x470607
inc ecx
cmp ecx, edi
jl 0x4705f7
mov esi, ecx
cmp ecx, edi
jge 0x470622
nop dword [eax]
mov al, byte [esi + ebp]
cmp al, 1
je 0x47061b
cmp al, 3
jne 0x470625
inc esi
cmp esi, edi
jl 0x470610
cmp ecx, edi
cmove esi, edi
push ebp
call fcn.00458150
add esp, 4
mov dword [ebx + 0xa0], esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x471110
Capabilities:
Get keyboard layout

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0
movzx edi, word [esi + 0xf0]
and edi, 0x3ff
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [esi + 0xf0]
cmp eax, ecx
je 0x471166
movzx edx, ax
mov ecx, edx
mov dword [esi + 0xf0], eax
and ecx, 0x3ff
cmp ecx, 0x12
je 0x47115c
mov ecx, 0x804
cmp dx, cx
je 0x47115c
mov ecx, 1
jmp 0x47115e
xor ecx, ecx
mov dword [esi + 0xc0], ecx
mov ecx, eax
cmp dword [esi + 0x110], 0
jne 0x471180
xor eax, eax
cmp ecx, 0xe0060404
setne al
mov dword [esi + 0xbc], eax
push esi
call fcn.004713f0
movzx eax, word [esi + 0xf0]
add esp, 4
and eax, 0x3ff
cmp edi, eax
je 0x4711a2
push esi
call fcn.00470250
add esp, 4
pop edi
pop esi
ret
Function at 0x471700
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x804
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [esp + 0x808]
push ebx
push esi
push edi
mov esi, dword [eax + 0x448]
push 0x42
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0x40
call fcn.00458170
mov dword [esi + 0x78], eax
xor ecx, ecx
push 0x10
mov word [eax], cx
xor eax, eax
push eax
mov word [esi + 0x80], ax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc4], eax
lea eax, [esi + 0xc8]
push eax
mov dword [esi + 0xc0], 1
call fcn.004587c0
push 0x10
lea eax, [esi + 0xd8]
push 0
push eax
call fcn.004587c0
lea eax, [esp + 0x28]
mov dword [esi + 0xe8], 0
push eax
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0xffffffff
mov dword [esi + 0x11c], 0xffffffff
mov dword [esi + 0x120], 0xffffffff
mov dword [esi + 0x124], 0xffffffff
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
call fcn.00440de0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
add esp, 0x20
xor esi, esi
mov edi, dword [esi*4 + 0x5440c8]
test edi, edi
je 0x4718dc
test dword [esp + edi*4 + 0xc], 0x40000000
jne 0x4718dc
push 1
push esi
call ebx
test eax, eax
je 0x4718dc
push 2
push eax
call ebx
and eax, 0x7fff
je 0x4718dc
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x4718d8
add eax, 0x20
mov dword [esp + edi*4 + 0xc], eax
inc esi
cmp esi, 0x80
jb 0x4718a3
push 0
push 0x200
lea eax, [esp + 0x14]
push eax
push 0
call fcn.00441c20
push str.Menu
push 0x65
call fcn.00441da0
push str.Left_Windows
push 0xe3
call fcn.00441da0
push str.Right_Windows
push 0xe7
call fcn.00441da0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 0x28
push 0x14
call esi
and eax, 1
push eax
push 0x2000
call fcn.00441dc0
add esp, 8
push 0x90
call esi
and eax, 1
push eax
push 0x1000
call fcn.00441dc0
add esp, 8
push 0x91
call esi
and eax, 1
push eax
push 0x8000
call fcn.00441dc0
mov ecx, dword [esp + 0x814]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401033
add esp, 0x804
ret
Function at 0x4719f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x124
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x120], eax
push edi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push 0x20
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
test edi, edi
je 0x471a4f
push ebx
mov ebx, dword [sym.imp.USER32.dll_ToUnicode]
push esi
xor esi, esi
nop word [eax + eax]
push 0
push 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
push edi
push 0x20
call ebx
test eax, eax
jg 0x471a4d
inc esi
cmp esi, 5
jl 0x471a30
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
pop edi
xor ecx, esp
call fcn.00401033
add esp, 0x124
ret

Function at 0x471cb0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x804
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push esi
lea eax, [esp + 8]
push edi
push eax
call fcn.00440de0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
add esp, 4
xor esi, esi
nop dword [eax]
mov edi, dword [esi*4 + 0x5440c8]
test edi, edi
je 0x471d19
test dword [esp + edi*4 + 0xc], 0x40000000
jne 0x471d19
push 1
push esi
call ebx
test eax, eax
je 0x471d19
push 2
push eax
call ebx
and eax, 0x7fff
je 0x471d19
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x471d15
add eax, 0x20
mov dword [esp + edi*4 + 0xc], eax
inc esi
cmp esi, 0x80
jb 0x471ce0
pop edi
pop esi
pop ebx
push dword [esp + 0x808]
lea eax, [esp + 4]
push 0x200
push eax
push 0
call fcn.00441c20
mov ecx, dword [esp + 0x810]
add esp, 0x10
xor ecx, esp
call fcn.00401033
add esp, 0x804
ret

Function at 0x4737f0
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0xc
cmp dword [0x57f4b4], 0
je 0x473836
push 0xc
push 1
lea eax, [esp + 8]
mov dword [esp + 8], 0x20001
push eax
mov dword [esp + 0x14], 0
mov dword [0x57f4b4], 0
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x473836
mov dword [0x57f4b4], eax
push esi
mov esi, dword [0x57f4b0]
test esi, esi
je 0x47385d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call fcn.00458150
add esp, 4
mov dword [0x57f4b0], 0
pop esi
add esp, 0xc
ret
Function at 0x4738b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x88], eax
movd xmm0, dword [esp + 0x90]
lea eax, [esp]
cvtdq2ps xmm0, xmm0
push eax
push 0x20019
push 0
push str.Control_PanelMouse
push 0x80000001
divss xmm0, dword [0x5445d8]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x18], 0x28
movss dword [esp + 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x473a9f
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push str.SmoothMouseXCurve
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x473a96
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00473130
add esp, 8
test eax, eax
je 0x473a96
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push str.SmoothMouseYCurve
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x473a96
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00473130
add esp, 8
test eax, eax
je 0x473a96
movss xmm3, dword [esp + 0x10]
xorps xmm0, xmm0
comiss xmm3, xmm0
movss xmm2, dword [esp + 0xc]
jbe 0x4739b9
movss xmm1, dword [esp + 0x24]
divss xmm1, xmm3
mulss xmm1, xmm2
jmp 0x4739bc
xorps xmm1, xmm1
movss dword [esp + 0x38], xmm3
movss xmm3, dword [0x5445d4]
divss xmm1, xmm3
movss xmm4, dword [esp + 0x14]
comiss xmm4, xmm0
movss dword [esp + 0x3c], xmm1
jbe 0x4739ef
movss xmm1, dword [esp + 0x28]
divss xmm1, xmm4
mulss xmm1, xmm2
jmp 0x4739f2
xorps xmm1, xmm1
divss xmm1, xmm3
movss dword [esp + 0x40], xmm4
movss xmm4, dword [esp + 0x18]
comiss xmm4, xmm0
movss dword [esp + 0x44], xmm1
jbe 0x473a1d
movss xmm1, dword [esp + 0x2c]
divss xmm1, xmm4
mulss xmm1, xmm2
jmp 0x473a20
xorps xmm1, xmm1
divss xmm1, xmm3
movss dword [esp + 0x48], xmm4
movss xmm4, dword [esp + 0x1c]
comiss xmm4, xmm0
movss dword [esp + 0x4c], xmm1
jbe 0x473a4b
movss xmm1, dword [esp + 0x30]
divss xmm1, xmm4
mulss xmm1, xmm2
jmp 0x473a4e
xorps xmm1, xmm1
divss xmm1, xmm3
movss dword [esp + 0x50], xmm4
movss dword [esp + 0x54], xmm1
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x473a77
movss xmm0, dword [esp + 0x34]
divss xmm0, xmm1
mulss xmm0, xmm2
divss xmm0, xmm3
lea eax, [esp + 0x38]
push eax
push 0xa
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm0
call fcn.0044ad90
add esp, 8
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00401033
add esp, 0x8c
ret
Function at 0x47e320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x78], 0
jle 0x47e336
mov eax, 0x57bed0
pop edi
pop esi
pop ebx
ret
movups xmm0, xmmword [edi + 0x20]
sub esp, 0x10
mov eax, esp
push dword [edi + 4]
movups xmmword [eax], xmm0
call fcn.00440ae0
add esp, 0x14
test eax, eax
jne 0x47e3c6
mov eax, 0x28de
cmp word [edi + 0x14], ax
je 0x47e382
movzx eax, word [edi + 0x40]
test ax, ax
je 0x47e36a
cmp eax, 1
jne 0x47e3c6
movzx eax, word [edi + 0x42]
test ax, ax
je 0x47e382
cmp eax, 4
je 0x47e382
cmp eax, 5
je 0x47e382
cmp eax, 8
jne 0x47e3c6
xor esi, esi
mov ebx, dword [esi + 0x569468]
cmp dword [ebx + 4], 0
je 0x47e3be
push dword [edi + 0x3c]
movzx eax, word [edi + 0x18]
push dword [edi + 0x38]
push dword [edi + 0x34]
push dword [edi + 0x30]
push eax
movzx eax, word [edi + 0x16]
push eax
movzx eax, word [edi + 0x14]
push eax
push dword [edi + 0x4c]
mov eax, dword [ebx + 0x14]
push dword [edi + 4]
push edi
call eax
add esp, 0x28
test eax, eax
jne 0x47e3cc
add esi, 4
cmp esi, 0x44
jb 0x47e384
xor eax, eax
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x480da0
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0xc
cmp dword [0x57f548], 0
je 0x480de8
mov eax, dword [esp + 0x10]
push 0xc
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
push 1
push eax
mov dword [esp + 0xc], 0x50001
mov dword [esp + 0x10], 0x2100
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x480de8
push str.Couldnt_register_for_raw_input_events
call fcn.0041ad60
add esp, 4
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x480ee0
Capabilities:
Register raw input devices

Disassembly:
sub esp, 0xc
cmp dword [0x57f548], 0
je 0x480f28
push 0xc
push 1
lea eax, [esp + 8]
mov dword [esp + 8], 0x50001
push eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x480f28
push str.Couldnt_unregister_for_raw_input_events
call fcn.0041ad60
add esp, 4
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret
Function at 0x4a5ec0
Capabilities:
Get geographical location

Disassembly:
cmp dword [0x57f6ec], 0
jne 0x4a5ef0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x57f6ec], eax
test eax, eax
je 0x4a5ef0
push str.GetUserPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57f6e8], eax
jmp 0x4a5ef5
mov eax, dword [0x57f6e8]
test eax, eax
je fcn.004a6010
jmp fcn.004a5f10

Function at 0x4a6010
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push edi
push 0x10
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x10
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, eax
test edi, edi
jne 0x4a6072
push 0x549f04
call fcn.0041ad60
add esp, 4
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00401033
add esp, 0x24
ret
test ecx, ecx
lea eax, [esp + 8]
mov edx, 0x51a9ae
cmove eax, edx
push eax
mov eax, 0x549f24
cmove eax, edx
push eax
lea eax, [esp + 0x20]
push eax
push str._s_s_s
push dword [esp + 0x44]
push ebx
call fcn.0041c250
mov ecx, dword [esp + 0x40]
add esp, 0x18
pop edi
pop ebx
xor ecx, esp
call fcn.00401033
add esp, 0x24
ret