Function at 0x10024c60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101301d4
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x10a8885c]
xor eax, eax
cmp byte [ebx + 0x29], al
jne 0x10024cc8
cmp dword [0x10a76e14], eax
jne 0x10024cb4
cmp dword [0x10a76e1c], eax
jne 0x10024cb4
cmp dword [0x10a76e18], eax
je 0x1002559d
mov dword [0x10a76e14], eax
mov dword [0x10a76e18], eax
mov dword [0x10a76e1c], eax
jmp 0x1002559d
push 0x10a36158
call fcn.10036b70
mov eax, dword [0x10a8885c]
fld dword [eax]
add esp, 4
fstp dword [ebp - 0x50]
fld dword [eax + 4]
fstp dword [ebp - 0x4c]
fld dword [eax + 0x18]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x50]
fadd qword [0x1013f6d8]
fstp dword [ebp - 0x58]
fld dword [ebp - 0x4c]
fadd qword [0x10140200]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fadd qword [0x1013f6d0]
call fcn.1012e5b0
fld dword [ebp - 0x58]
fadd qword [0x1013f598]
push 0x10a36ab8
xor ebx, ebx
push ebx
push ebx
fst qword [ebp - 0x54]
push ebx
push 0xffae00ff
push eax
call fcn.1012e5b0
push eax
mov eax, dword [0xe8c588]
push eax
mov cl, 1
call fcn.10025780
fld dword [ebp - 0x4c]
fadd qword [0x10140028]
call fcn.1012e5b0
fld dword [ebp - 0x58]
mov esi, eax
call fcn.1012e5b0
mov ecx, dword [0xe8c588]
push 0x10a36b30
push ebx
push ebx
push ebx
push 0xffae00ff
mov edi, eax
push esi
push edi
push ecx
mov cl, 1
call fcn.10025780
fld dword [ebp - 0x4c]
fadd qword [0x101404e0]
add esp, 0x40
call fcn.1012e5b0
mov edx, dword [0xe8c588]
push 0x10a36ba8
push ebx
push ebx
push ebx
push 0xffb3ff
push eax
push edi
push edx
mov cl, 1
call fcn.10025780
fld dword [ebp - 0x4c]
fadd qword [0x1013f8f8]
add esp, 0x20
push 0x10a36c20
push ebx
fst qword [ebp - 0x64]
push ebx
fadd qword [0x1013f580]
push ebx
push 0xffffffffffffffff
fst qword [ebp - 0x74]
call fcn.1012e5b0
push eax
mov eax, dword [0xe8c588]
push edi
push eax
mov cl, 1
call fcn.10025780
fld qword [ebp - 0x64]
fadd qword [0x1013f6c0]
sub esp, 8
fst qword [ebp - 0x6c]
fld qword [ebp - 0x54]
fstp dword [ebp - 0x50]
fld dword [0x10140310]
fst dword [esp + 0x24]
fstp dword [esp + 0x20]
fld dword [0x1013fb78]
fstp dword [esp + 0x1c]
fld dword [0x10140ccc]
fstp dword [esp + 0x18]
fld dword [0x1013f650]
fstp dword [esp + 0x14]
fld dword [0x10140cc8]
fstp dword [esp + 0x10]
fld dword [0x1014062c]
fstp dword [esp + 0xc]
fld dword [0x10140cc4]
fstp dword [esp + 8]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fstp dword [esp + 4]
fld dword [ebp - 0x50]
fstp dword [esp]
call fcn.10037f20
fld qword [ebp - 0x74]
push 0x10a36c98
fadd qword [0x1013f600]
push ebx
push ebx
push ebx
push 0xffffffffffffffff
call fcn.1012e5b0
mov ecx, dword [0xe8c588]
push eax
push edi
push ecx
mov cl, 1
call fcn.10025780
fld dword [0x10140310]
fst dword [esp + 0x1c]
sub esp, 8
fstp dword [esp + 0x20]
fld dword [0x1013fb78]
fstp dword [esp + 0x1c]
fld dword [0x10140ccc]
fstp dword [esp + 0x18]
fld dword [0x1013f650]
fstp dword [esp + 0x14]
fld dword [0x10140cc8]
fstp dword [esp + 0x10]
fld dword [0x1014062c]
fstp dword [esp + 0xc]
fld dword [0x10140cc4]
fstp dword [esp + 8]
fld qword [ebp - 0x6c]
fadd qword [0x1013f600]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x4c]
fstp dword [esp + 4]
fld dword [ebp - 0x50]
fstp dword [esp]
call fcn.10037f20
fld dword [ebp - 0x58]
mov esi, dword [0x10a76e14]
fadd qword [0x1013fb00]
fstp dword [ebp - 0x4c]
fld qword [ebp - 0x64]
fadd qword [0x10140028]
fstp dword [ebp - 0x60]
cmp esi, ebx
jne 0x10024ffb
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x10024f29
mov esi, eax
call fcn.1010f9d0
mov dword [ebp - 0x50], eax
jmp 0x10024f2c
mov dword [ebp - 0x50], ebx
fld dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x50]
mov dword [0x10a76e14], edx
call fcn.1012e5b0
fld dword [ebp - 0x4c]
mov esi, eax
call fcn.1012e5b0
mov ecx, dword [0xe8c578]
push 1
push 9
mov ebx, eax
mov eax, dword [ebp - 0x50]
push esi
push ebx
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x421b90
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], esi
call edx
mov eax, dword [0x10a76e14]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0
push 0
push 0
push 0
call eax
mov ecx, dword [0x10a76e14]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
push 0
push 0x9d
push 0xff
push 0xff
call eax
mov eax, dword [0xe8c588]
push eax
mov eax, dword [0x10a76e14]
mov ecx, dword [eax + 4]
mov edx, 0x423060
call edx
mov eax, dword [0x10a76e14]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [0x10a76e14]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x4050f0
call edx
mov eax, dword [0x10a76e14]
mov ecx, dword [eax + 4]
push esi
push ebx
mov edx, 0x417ec0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
call edx
jmp 0x100250b1
mov eax, dword [0x10a8885c]
cmp byte [eax + 0x2a], bl
je 0x1002502f
fld dword [ebp - 0x60]
call fcn.1012e5b0
fld dword [ebp - 0x4c]
mov ebx, eax
call fcn.1012e5b0
mov ecx, dword [esi + 4]
push ebx
push eax
mov edx, 0x417ec0
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
call edx
mov esi, dword [0x10a76e14]
mov ecx, dword [esi + 4]
mov eax, 0x422320
call eax
mov eax, dword [0x10a76e14]
mov ecx, dword [eax + 4]
push 9
push 0x10a76e20
mov edx, 0x4217d0
call edx
fld dword [ebp - 0x60]
fld qword [0x1013f6c0]
push 0x1e
fsub st(1), st(0)
push 0x64
fxch st(1)
call fcn.1012e5b0
fsubr dword [ebp - 0x4c]
push eax
call fcn.1012e5b0
push eax
mov ecx, 0x790b10
call ecx
add esp, 0x10
cmp al, 1
jne 0x100250b1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x100250b1
mov ecx, dword [0x10a76e14]
mov ecx, dword [ecx + 4]
push 1
mov eax, 0x421d80
call eax
push 0
push 0
push 0x19
mov edx, 0x6d6c20
call edx
add esp, 0xc
mov esi, dword [0x10a76e18]
test esi, esi
jne 0x100251bf
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x100250e4
mov esi, eax
call fcn.1010f9d0
mov dword [ebp - 0x50], eax
jmp 0x100250eb
mov dword [ebp - 0x50], 0
fld dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
fadd qword [0x1013f600]
mov dword [0x10a76e18], eax
call fcn.1012e5b0
fld dword [ebp - 0x4c]
mov esi, eax
call fcn.1012e5b0
mov ecx, dword [0xe8c578]
push 1
push 9
mov ebx, eax
mov eax, dword [ebp - 0x50]
push esi
push ebx
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x421b90
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], esi
call edx
mov eax, dword [0x10a76e18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0
push 0
push 0
push 0
call eax
mov ecx, dword [0x10a76e18]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
push 0
push 0x9d
push 0xff
push 0xff
call eax
mov eax, dword [0xe8c588]
push eax
mov eax, dword [0x10a76e18]
mov ecx, dword [eax + 4]
mov edx, 0x423060
call edx
mov eax, dword [0x10a76e18]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [0x10a76e18]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x4050f0
call edx
mov eax, dword [0x10a76e18]
mov ecx, dword [eax + 4]
push esi
push ebx
mov edx, 0x417ec0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
call edx
jmp 0x10025282
mov eax, dword [0x10a8885c]
cmp byte [eax + 0x2a], 0
je 0x100251fa
fld dword [ebp - 0x60]
fadd qword [0x1013f600]
call fcn.1012e5b0
fld dword [ebp - 0x4c]
mov ebx, eax
call fcn.1012e5b0
mov ecx, dword [esi + 4]
push ebx
push eax
mov edx, 0x417ec0
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
call edx
mov esi, dword [0x10a76e18]
mov ecx, dword [esi + 4]
mov eax, 0x422320
call eax
mov eax, dword [0x10a76e18]
mov ecx, dword [eax + 4]
push 9
push 0x10a76e2c
mov edx, 0x4217d0
call edx
fld dword [ebp - 0x60]
fld qword [0x1013f6c0]
push 0x1e
fsub st(1), st(0)
push 0x64
fxch st(1)
fadd qword [0x1013f600]
call fcn.1012e5b0
fsubr dword [ebp - 0x4c]
push eax
call fcn.1012e5b0
push eax
mov ecx, 0x790b10
call ecx
add esp, 0x10
cmp al, 1
jne 0x10025282
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x10025282
mov ecx, dword [0x10a76e18]
mov ecx, dword [ecx + 4]
push 1
mov eax, 0x421d80
call eax
push 0
push 0
push 0x19
mov edx, 0x6d6c20
call edx
add esp, 0xc
fld dword [ebp - 0x5c]
push 0x10a36d10
fsub qword [0x1013fa48]
push 0
call fcn.1012e5b0
fld dword [ebp - 0x60]
fadd qword [0x10140200]
push eax
push 0
push 0x62ff00ff
call fcn.1012e5b0
push eax
mov eax, dword [0xe8c58c]
push edi
push eax
mov cl, 3
call fcn.10025780
fld dword [ebp - 0x58]
fadd qword [0x1013f750]
mov eax, dword [0x10a76e1c]
add esp, 0x20
fstp dword [ebp - 0x58]
fld dword [ebp - 0x60]
fadd qword [0x1013fb00]
fstp dword [ebp - 0x50]
test eax, eax
jne 0x100253cf
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x10025308
mov esi, eax
call fcn.1010f9d0
mov ebx, eax
jmp 0x1002530a
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
fld dword [ebp - 0x50]
mov dword [0x10a76e1c], ebx
call fcn.1012e5b0
fld dword [ebp - 0x58]
mov esi, eax
call fcn.1012e5b0
mov ecx, dword [ebx + 4]
push 0
push 5
mov edi, eax
mov eax, dword [0xe8c578]
push esi
push edi
push eax
mov edx, 0x421b90
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], esi
call edx
mov eax, dword [0x10a76e1c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0
push 0
push 0
push 0
call eax
mov ecx, dword [0x10a76e1c]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
push 0
push 0x9d
push 0xff
push 0xff
call eax
mov eax, dword [0xe8c588]
push eax
mov eax, dword [0x10a76e1c]
mov ecx, dword [eax + 4]
mov edx, 0x423060
call edx
mov eax, dword [0x10a76e1c]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [0x10a76e1c]
mov ecx, dword [eax + 4]
push 1
mov edx, 0x4050f0
call edx
mov eax, dword [0x10a76e1c]
mov ecx, dword [eax + 4]
push esi
push edi
mov edx, 0x417ec0
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
call edx
jmp 0x1002542c
mov ecx, dword [0x10a76e18]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x58]
call edx
cmp dword [0x10a88830], 0x10
mov eax, dword [0x10a8881c]
jae 0x100253f6
mov eax, 0x10a8881c
fld dword [ebp - 0x50]
mov esi, dword [0x10a76e1c]
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp - 0x58]
fstp dword [esp]
call fcn.10038660
mov ecx, dword [0x10a76e1c]
mov ecx, dword [ecx + 4]
add esp, 0xc
push 5
push 0x10a76e38
mov eax, 0x4217d0
call eax
mov eax, 0x10a76e38
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025446
sub eax, edx
mov esi, eax
mov eax, 0x10a76e38
lea ecx, [ebp - 0x48]
call fcn.10003210
mov dword [ebp - 4], 3
fld dword [0x1013faa8]
mov eax, dword [0x10a8885c]
push 0x10a36d88
push 0
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x1013f550]
fstp dword [esp + 8]
fld dword [eax + 0x24]
fsub qword [0x1013f600]
fsub qword [0x1013fa48]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x5c]
fstp dword [esp + 4]
fld dword [eax + 0x18]
fmul qword [0x1013f510]
fadd dword [eax]
fsub qword [0x1013f918]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x5c]
fstp dword [esp]
push 0x10a887f8
call fcn.10026050
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 0x1c
test al, al
je 0x1002558e
lea eax, [ebp - 0x48]
mov edx, 0x10a8881c
call fcn.10038610
test al, al
jne 0x100254f8
push 0x10a36950
push 1
call fcn.100bbab0
add esp, 8
jmp 0x10025566
mov edx, dword [0x10a76e20]
mov eax, dword [0x10a76e24]
mov cx, word [0x10a76e28]
mov dword [ebp - 0x27], edx
mov dl, byte [0x10a76e2a]
mov byte [ebp - 0x1d], dl
mov dx, word [0x10a76e34]
mov dword [ebp - 0x23], eax
mov eax, dword [0x10a76e2c]
mov word [ebp - 0x1f], cx
mov ecx, dword [0x10a76e30]
mov word [ebp - 0x14], dx
mov dword [ebp - 0x1c], eax
mov al, byte [0x10a76e36]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov ecx, 0x1b
push edx
mov byte [ebp - 0x28], 1
mov byte [ebp - 0x12], al
mov dword [ebp - 0x2c], 0x91ff1bc1
call fcn.10100800
mov eax, dword [0x10a8885c]
add esp, 4
xor byte [eax + 0x29], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.10038520
mov edi, eax
mov esi, 0x10a8881c
mov byte [ebp - 4], 4
call fcn.10005540
cmp dword [ebp - 0x18], 0x10
jb 0x1002558e
mov ecx, dword [ebp - 0x2c]
push ecx
call ebx
add esp, 4
cmp dword [ebp - 0x34], 0x10
jb 0x1002559d
mov edx, dword [ebp - 0x48]
push edx
call ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret