Function at 0x100c7e60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012fa48
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x1014a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x118c8125], 0
jne 0x100c7f4f
xor esi, esi
cmp dword [0x10a76f28], esi
je 0x100c7ea5
mov dword [0x10a76f28], esi
cmp dword [0x10a76f2c], esi
je 0x100c7eb3
mov dword [0x10a76f2c], esi
mov eax, dword [0x10150eb8]
cmp eax, 0xffffffff
je 0x100c8a19
mov ecx, dword [0x8793410]
imul eax, eax, 0xa4
mov edx, dword [0x879340c]
add ecx, 0x19
mov dword [ebp - 0x2c], ecx
mov ecx, dword [0x118d9b98]
mov dword [ebp - 0x34], edx
lea edx, [eax + ecx + 0x36]
mov dword [ebp - 0x24], edx
push 0
push 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
mov dword [0x11920f38], 0x861110
call dword [0x11920f38]
mov ecx, eax
mov dword [0x11920f38], 0x861aa0
call dword [0x11920f38]
mov ecx, eax
mov dword [0x11920f38], 0x7e3e30
call dword [0x11920f38]
sub esp, 0xc
fld1
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
push esi
mov eax, 0x635fd0
call eax
jmp 0x100c8a16
cmp dword [0x10234f4c], 0
fld dword [0x1013f920]
fstp dword [ebp - 0x14]
fld dword [0x10140218]
fstp dword [ebp - 0x10]
jne 0x100c7f73
cmp dword [0x10234a28], 3
jb 0x100c7faf
fild dword [0xe61e58]
fdiv dword [0xe7c3d4]
fld qword [0x1013f510]
fmul st(1), st(0)
fxch st(1)
fadd qword [0x1013f750]
fstp dword [ebp - 0x14]
fild dword [0xe61e5c]
fdiv dword [0xe7c3d8]
fmulp st(1)
fsub qword [0x1013fa68]
fsub qword [0x1013f948]
fstp dword [ebp - 0x10]
mov edi, 1
push edi
mov ecx, 0x635fd0
call ecx
fld1
fst dword [esp]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call dword [sym.imp.OPENGL32.dll_glColor3f]
fld dword [0x1013fb90]
push 0x109d9660
sub esp, 0x10
fstp dword [esp + 0xc]
mov eax, 0x97
fld dword [0x1013f7d8]
fstp dword [esp + 8]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebp - 0x14]
fstp dword [esp]
push 0x116dc850
call fcn.10065870
fld dword [ebp - 0x10]
fadd qword [0x1013f750]
sub esp, 0x14
mov eax, 0x96
fst qword [ebp - 0x50]
fld dword [ebp - 0x14]
fadd qword [0x1013fac0]
fst qword [ebp - 0x48]
fsub qword [0x1013fa48]
fst qword [ebp - 0x58]
fstp dword [ebp - 0x34]
fldz
fstp dword [esp + 0x10]
fld dword [0x1013fd70]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x34]
fstp dword [esp]
call fcn.10065df0
cmp dword [0x118d9bac], 0
fld qword [ebp - 0x48]
fsub qword [0x1013fb00]
fst qword [ebp - 0x40]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fstp dword [ebp - 0x18]
je 0x100c893d
cmp byte [0x118d9bb4], 0
je 0x100c893d
cmp dword [0x10150eb4], edi
fld dword [ebp - 0x10]
fadd qword [0x1013f7b8]
push 0x109d9860
sete dl
movzx eax, dl
push eax
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
push 0xffcc00c8
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp - 0x18]
fstp dword [esp]
call fcn.100c79e0
add esp, 0x14
test al, al
je 0x100c80db
test byte [0x118d9ba8], 1
je 0x100c80db
mov dword [0x10150eb4], edi
fld dword [ebp - 0x18]
mov esi, 2
cmp dword [0x10150eb4], esi
fadd qword [0x1013f7b0]
push 0x109d9a60
sete cl
movzx edx, cl
fstp dword [ebp - 0x24]
fld dword [ebp - 0x1c]
push edx
push 0xffcc00c8
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp - 0x24]
fstp dword [esp]
call fcn.100c79e0
add esp, 0x14
test al, al
je 0x100c812e
test byte [0x118d9ba8], 2
je 0x100c812e
mov dword [0x10150eb4], esi
cmp dword [0x10150eb4], 3
fld dword [ebp - 0x18]
fadd qword [0x1013f760]
push 0x109d9c60
sete al
movzx ecx, al
push ecx
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x1c]
push 0xffcc00c8
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp - 0x2c]
fstp dword [esp]
call fcn.100c79e0
add esp, 0x14
mov ebx, 4
test al, al
je 0x100c8185
test byte [0x118d9ba8], bl
je 0x100c8185
mov dword [0x10150eb4], 3
cmp dword [0x10150eb4], ebx
fld dword [ebp - 0x10]
fadd qword [0x1013fd78]
push 0x101382a8
sete dl
movzx eax, dl
push eax
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
push 0xffcc00c8
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp - 0x18]
fstp dword [esp]
call fcn.100c79e0
add esp, 0x14
test al, al
je 0x100c81d3
test byte [0x118d9ba8], 8
je 0x100c81d3
mov dword [0x10150eb4], ebx
fld dword [ebp - 0x1c]
mov esi, 5
cmp dword [0x10150eb4], esi
push 0x101382a4
sete cl
movzx edx, cl
push edx
push 0xffcc00c8
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp - 0x24]
fstp dword [esp]
call fcn.100c79e0
add esp, 0x14
test al, al
je 0x100c821a
test byte [0x118d9ba8], 0x10
je 0x100c821a
mov dword [0x10150eb4], esi
fld dword [ebp - 0x1c]
mov esi, 6
cmp dword [0x10150eb4], esi
push 0x101382a0
sete al
movzx ecx, al
push ecx
push 0xffcc00c8
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp - 0x2c]
fstp dword [esp]
call fcn.100c79e0
add esp, 0x14
test al, al
je 0x100c8261
test byte [0x118d9ba8], 0x20
je 0x100c8261
mov dword [0x10150eb4], esi
fldz
push ecx
fst dword [esp]
mov edx, 0x637c60
fld dword [0x101412d4]
push edi
push edi
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [0x101412d0]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x10150fa8]
fstp dword [esp + 0xc]
fld dword [0x10140ac8]
fstp dword [esp + 8]
fld dword [ebp - 0x10]
fadd qword [0x1013f9b0]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x20]
fstp dword [esp]
push 0x7ac0
call edx
fld dword [ebp - 0x10]
fadd qword [0x10140758]
add esp, 0x30
fst qword [ebp - 0x30]
fld qword [ebp - 0x40]
call fcn.1012e5b0
push 0x109d9e60
xor ebx, ebx
push ebx
push 0x46
mov esi, eax
push ebx
push 0xffffffffffffffc8
mov dword [ebp - 0x18], esi
call fcn.1012e5b0
push eax
mov eax, dword [0xe8c58c]
push esi
push eax
mov cl, 3
call fcn.10025780
fld qword [ebp - 0x48]
mov eax, dword [0x10a76f28]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
add esp, 0x20
fstp dword [ebp - 0x24]
fld qword [ebp - 0x30]
fstp dword [ebp - 0x2c]
cmp eax, ebx
jne 0x100c8423
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x100c833e
mov esi, eax
call fcn.1010f9d0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
fld dword [ebp - 0x2c]
mov dword [0x10a76f28], ebx
call fcn.1012e5b0
fld dword [ebp - 0x24]
mov esi, eax
call fcn.1012e5b0
mov ecx, dword [ebx + 4]
push 0
push 8
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 [0x10a76f28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0
push 0
push 0
push 0xff
call eax
mov ecx, dword [0x10a76f28]
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 [0x10a76f28]
mov ecx, dword [eax + 4]
mov edx, 0x423060
call edx
mov eax, dword [0x10a76f28]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [0x10a76f28]
mov ecx, dword [eax + 4]
push 1
mov edx, 0x4050f0
call edx
mov eax, dword [0x10a76f28]
mov ecx, dword [eax + 4]
push esi
push edi
mov edx, 0x417ec0
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
call edx
mov ecx, dword [0x10a76f28]
mov ecx, dword [ecx + 4]
push 0x10135fa8
mov eax, 0x421830
call eax
mov esi, dword [ebp - 0x18]
mov edi, 1
jmp 0x100c84a1
mov ecx, dword [eax + 4]
mov edx, 0x422320
call edx
mov ecx, dword [0x10a76f28]
mov ecx, dword [ecx + 4]
push 9
push 0x10a76f34
mov eax, 0x4217d0
call eax
fld dword [ebp - 0x2c]
fld qword [0x1013f6c0]
push 0x1e
fsub st(1), st(0)
push 0x64
fxch st(1)
call fcn.1012e5b0
fsubr dword [ebp - 0x24]
push eax
call fcn.1012e5b0
push eax
mov edx, 0x790b10
call edx
add esp, 0x10
cmp al, 1
jne 0x100c84a1
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100c84a1
mov eax, dword [0x10a76f28]
mov ecx, dword [eax + 4]
push edi
mov edx, 0x421d80
call edx
push ebx
push ebx
push 0x19
mov ecx, 0x6d6c20
call ecx
add esp, 0xc
fldz
push ecx
fst dword [esp]
mov edx, 0x637c60
fld dword [0x101412d4]
push edi
push edi
sub esp, 0x20
fstp dword [esp + 0x1c]
fld dword [0x101412d0]
fstp dword [esp + 0x18]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [0x10150fa8]
fstp dword [esp + 0xc]
fld dword [0x10140ac8]
fstp dword [esp + 8]
fld dword [ebp - 0x10]
fadd qword [0x1013f960]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x20]
fstp dword [esp]
push 0x7ac0
call edx
fld dword [ebp - 0x10]
fadd qword [0x1013fae8]
add esp, 0x30
push 0x109295a0
push 0
push 0x46
fst qword [ebp - 0x40]
push 0
push 0xffffffffffffffc8
call fcn.1012e5b0
push eax
mov eax, dword [0xe8c58c]
push esi
push eax
mov cl, 3
call fcn.10025780
fld dword [ebp - 0x1c]
mov eax, dword [0x10a76f2c]
fstp dword [ebp - 0x24]
fld qword [ebp - 0x40]
add esp, 0x20
fstp dword [ebp - 0x2c]
test eax, eax
jne 0x100c865b
push 0x18
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x100c856d
mov esi, eax
call fcn.1010f9d0
mov ebx, eax
jmp 0x100c856f
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
fld dword [ebp - 0x2c]
mov dword [0x10a76f2c], ebx
call fcn.1012e5b0
fld dword [ebp - 0x24]
mov esi, eax
call fcn.1012e5b0
mov ecx, dword [ebx + 4]
push 0
push 2
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 [0x10a76f2c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0
push 0
push 0
push 0xff
call eax
mov ecx, dword [0x10a76f2c]
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 ecx, dword [0xe8c588]
mov eax, dword [0x10a76f2c]
push ecx
mov ecx, dword [eax + 4]
mov edx, 0x423060
call edx
mov eax, dword [0x10a76f2c]
mov ecx, dword [eax + 4]
push 0
mov edx, 0x421d30
call edx
mov eax, dword [0x10a76f2c]
mov ecx, dword [eax + 4]
push 1
mov edx, 0x4050f0
call edx
mov eax, dword [0x10a76f2c]
mov ecx, dword [eax + 4]
push esi
push edi
mov edx, 0x417ec0
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
call edx
mov ecx, dword [0x10a76f2c]
mov ecx, dword [ecx + 4]
push 0x10135fac
mov eax, 0x421830
call eax
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
mov edi, 1
jmp 0x100c8719
mov ecx, dword [eax + 4]
mov edx, 0x422320
call edx
mov ecx, dword [0x10a76f2c]
mov ecx, dword [ecx + 4]
push 3
push 0x10a76f30
mov eax, 0x4217d0
call eax
fld dword [ebp - 0x2c]
fld qword [0x1013f6c0]
push 0x1e
fsub st(1), st(0)
push 0x64
fxch st(1)
call fcn.1012e5b0
fsubr dword [ebp - 0x24]
push eax
call fcn.1012e5b0
push eax
mov edx, 0x790b10
call edx
add esp, 0x10
cmp al, 1
jne 0x100c86db
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100c86db
mov eax, dword [0x10a76f2c]
mov ecx, dword [eax + 4]
push edi
mov edx, 0x421d80
call edx
push 0
push 0
push 0x19
mov ecx, 0x6d6c20
call ecx
add esp, 0xc
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
push 0x10a76f30
call esi
add esp, 4
cmp eax, 0x1e
jle 0x100c86f7
push 0x101364ac
jmp 0x100c870a
push 0x10a76f30
call esi
add esp, 4
cmp eax, edi
jge 0x100c8719
push 0x10135fac
mov eax, dword [0x10a76f2c]
mov ecx, dword [eax + 4]
mov edx, 0x421830
call edx
fldz
push ecx
mov ecx, dword [0x108c77f8]
fstp dword [esp]
fld dword [0x10140218]
push 0x109da060
push ecx
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebp - 0x10]
fadd qword [0x1013fb88]
fsub qword [0x1013fa48]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld qword [ebp - 0x48]
fsub qword [0x1013f7b0]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp]
push 0x116dc850
call fcn.10066220
mov bl, 0xd3
test al, al
je 0x100c8821
push 0x10a76f34
call esi
add esp, 4
test eax, eax
je 0x100c8a19
mov eax, dword [0x10150eb4]
lea edx, [eax - 1]
cmp edx, 5
ja 0x100c8a19
push 0x10a76f34
mov word [ebp - 0x70], 0x18c1
mov byte [ebp - 0x6e], bl
mov byte [ebp - 0x6d], 0x14
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], eax
call esi
push 0x10a76f30
mov dword [ebp - 0x60], eax
call esi
mov ecx, dword [0x10a76f28]
mov dword [ebp - 0x5c], eax
xor eax, eax
add esp, 8
mov dword [0x10a76f34], eax
mov dword [0x10a76f38], eax
mov byte [0x10a76f3c], al
mov word [0x10a76f30], ax
mov byte [0x10a76f32], al
mov ecx, dword [ecx + 4]
push 0x10135fa8
mov eax, 0x421830
call eax
mov eax, dword [0x10a76f2c]
mov ecx, dword [eax + 4]
push 0x10135fac
mov edx, 0x421830
call edx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x18
call fcn.10100800
add esp, 4
cmp dword [0x10150eb0], 0xffffffff
jne 0x100c8830
mov dword [0x10150eb0], edi
mov edi, dword [0x118d9bac]
fld dword [0x10140b00]
movzx edx, byte [edi + 0x18]
movzx eax, byte [edi + 0x17]
push ecx
mov ecx, dword [edi + 2]
fstp dword [esp]
push edx
fld dword [0x1013fd70]
push eax
movzx eax, word [edi]
push ecx
sub esp, 0x10
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0x10]
fadd qword [0x1013f790]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [esp + 4]
fld dword [ebp - 0x34]
fstp dword [esp]
call fcn.100c7b80
fld qword [ebp - 0x50]
push 0x37
push 0x37
call fcn.1012e5b0
fld qword [ebp - 0x58]
push eax
call fcn.1012e5b0
push eax
mov edx, 0x790b10
call edx
add esp, 0x10
test al, al
je 0x100c8a06
fld dword [ebp - 0x14]
call fcn.1012e5b0
fld dword [ebp - 0x10]
lea esi, [eax + 0x82]
call fcn.1012e5b0
push 0
push 0
push 0
add eax, 0x37
push edi
push eax
push esi
mov eax, 0x861110
call eax
mov ecx, dword [eax + 0x134]
mov edx, 0x7e3e30
call edx
push 2
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x100c8a06
cmp dword [0x118d9bac], 0
je 0x100c8a06
xor esi, esi
push esi
push esi
push 0x19
mov ecx, 0x6d6c20
mov dword [0x118d9bac], esi
mov byte [0x118d9bb4], 0
call ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [esi + 8]
mov word [ebp - 0x40], 0x8c1
mov byte [ebp - 0x3e], bl
mov byte [ebp - 0x3d], 0x12
mov dword [ebp - 0x3c], esi
call fcn.10100800
add esp, 0x10
jmp 0x100c8a06
fld dword [ebp - 0x10]
fadd qword [0x1013fa58]
fst qword [ebp - 0x48]
call fcn.1012e5b0
fld dword [ebp - 0x14]
mov edi, eax
call fcn.1012e5b0
push 0x10135e76
push 0
push 0x32
push 0xcc
push 0
mov esi, eax
mov eax, dword [0xe8c58c]
push edi
push esi
push eax
mov cl, 3
call fcn.10025780
mov ecx, dword [0xe8c58c]
push 0x109da260
push 0
push 0xbe
push 0xffa20096
push 0xffffffffffffffff
push edi
push esi
push ecx
mov cl, 3
call fcn.10025780
fld qword [ebp - 0x48]
fadd qword [0x1013f6d8]
add esp, 0x40
push 0x109da460
push 0
push 0xbe
push 0
push 0xffa200ff
call fcn.1012e5b0
mov edx, dword [0xe8c588]
push eax
push esi
push edx
mov cl, 3
call fcn.10025780
fld qword [ebp - 0x48]
fadd qword [0x1013fa48]
add esp, 0x20
push 0x109da660
push 0
push 0xbe
push 0
push 0xa2ff00ff
call fcn.1012e5b0
push eax
mov eax, dword [0xe8c588]
push esi
push eax
mov cl, 3
call fcn.10025780
add esp, 0x20
mov ecx, 0x635f50
call ecx
push 0
mov edx, 0x635fd0
call edx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret