Function at 0x10010660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1005a894]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], ecx
cvttss2si eax, dword [0x1005bdf8]
push eax
push 0x1c
push 0x1c
push 0x1c
lea ecx, [ebp - 0xe4]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
sub eax, 0x24
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
add edx, 0x4a
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
add ecx, 0x39
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
sub eax, 0x52
push eax
call fcn.10037f40
add esp, 0x14
cvttss2si ecx, dword [0x1005bdf8]
push ecx
push 0x28
push 0x28
push 0x28
lea ecx, [ebp - 0xf4]
call fcn.100073b0
mov edx, dword [eax]
push edx
push 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, 0x4a
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
add eax, 0x33
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
sub edx, 0x52
push edx
call fcn.10037f40
add esp, 0x14
cvttss2si eax, dword [0x1005bdf8]
push eax
push 0x28
push 0x28
push 0x28
lea ecx, [ebp - 0xf8]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
push 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
add eax, 0x4a
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
lea edx, [edx + ecx + 0x15]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
sub ecx, 0x52
push ecx
call fcn.10037f40
add esp, 0x14
cvttss2si edx, dword [0x1005bdf8]
push edx
push 0x28
push 0x28
push 0x28
lea ecx, [ebp - 0x100]
call fcn.100073b0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
sub edx, 0x18
push edx
push 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
add ecx, 0x33
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
sub eax, 0x58
push eax
call fcn.10037f40
add esp, 0x14
cvttss2si ecx, dword [0x1005bdf8]
push ecx
push 0x28
push 0x28
push 0x28
lea ecx, [ebp - 0x104]
call fcn.100073b0
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
sub ecx, 0x18
push ecx
push 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
add eax, 0x33
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
lea edx, [edx + ecx - 8]
push edx
call fcn.10037f40
add esp, 0x14
cvttss2si eax, dword [0x1005bdf8]
push eax
push 0x13
push 0x15
push 0x15
lea ecx, [ebp - 0x108]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
sub eax, 0x24
push eax
push 0x5a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
add edx, 0x39
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
sub ecx, 0x52
push ecx
call fcn.10037f40
add esp, 0x14
cvttss2si edx, dword [0x1005bdf8]
push edx
push 0x30
push 0x30
push 0x30
lea ecx, [ebp - 0x10c]
call fcn.100073b0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
sub edx, 0x24
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, 0x4a
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
add eax, 0x39
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
sub edx, 0x52
push edx
call fcn.100387f0
add esp, 0x14
cvttss2si eax, dword [0x1005bdf8]
push eax
push 0x30
push 0x30
push 0x30
lea ecx, [ebp - 0x110]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
sub eax, 0x18
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
add edx, 0x56
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
add ecx, 0x33
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
sub eax, 0x58
push eax
call fcn.100387f0
add esp, 0x14
cvttss2si ecx, dword [0x1005bdf8]
push ecx
push 0x30
push 0x30
push 0x30
lea ecx, [ebp - 0xc8]
call fcn.100073b0
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
sub ecx, 0x24
push ecx
push 0x5a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
add eax, 0x39
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
sub edx, 0x52
push edx
call fcn.100387f0
add esp, 0x14
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.10013eb0
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x10010eeb
mov byte [ebp - 0x79], 1
mov dword [ebp - 0x70], 0
jmp 0x10010940
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x88]
jge 0x10010eeb
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.1000ffe0
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.1000ffe0
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
push 1
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.1000ffe0
mov edx, dword [eax]
mov dword [ebp - 0xa4], edx
push 2
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.1000ffe0
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
push 3
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.1000ffe0
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
push 4
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.1000ffe0
mov edx, dword [eax]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0x9c]
jne 0x100109f3
push 0x291
push 0x2a5
mov ecx, 0x1005c580
call fcn.10041210
jmp 0x10010a9a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0xa0]
jne 0x10010a1a
push 0x291
push 0x2a5
mov ecx, 0x1005c580
call fcn.10041210
jmp 0x10010a9a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0xa4]
jne 0x10010a3e
push 0x291
push 0x2a5
mov ecx, 0x1005c580
call fcn.10041210
jmp 0x10010a9a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0xa8]
jne 0x10010a62
push 0x291
push 0x2a5
mov ecx, 0x1005c580
call fcn.10041210
jmp 0x10010a9a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0xac]
jne 0x10010a86
push 0x291
push 0x2a5
mov ecx, 0x1005c580
call fcn.10041210
jmp 0x10010a9a
push 0x291
push 0x2a5
mov ecx, 0x1005c580
call fcn.10041210
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
add edx, 0x39
cvtsi2ss xmm0, edx
movss dword [ebp - 0x8c], xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
sub ecx, 0x24
cvtsi2ss xmm0, ecx
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0x8c]
addss xmm0, dword [0x1004aa08]
imul edx, dword [ebp - 0x70], 0x42
cvtsi2ss xmm1, edx
addss xmm0, xmm1
subss xmm0, dword [0x100475d8]
movss dword [ebp - 0xb0], xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
sub ecx, 0x51
mov dword [ebp - 0x14], ecx
movss xmm0, dword [ebp - 0x8c]
addss xmm0, dword [0x1004aa08]
imul edx, dword [ebp - 0x70], 0x64
cvtsi2ss xmm1, edx
addss xmm0, xmm1
subss xmm0, dword [0x1004b1f4]
cvttss2si eax, xmm0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x59
mov dword [ebp - 8], 0x5a
mov ecx, dword [ebp - 0x78]
call fcn.10009360
push eax
mov ecx, dword [0x10060aa0]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.100382f0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
cvttss2si ecx, dword [ebp - 0x90]
mov dword [ebp - 0x64], ecx
cvttss2si edx, dword [ebp - 0xb0]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x10010bf9
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x84]
call fcn.10011200
movzx eax, al
test eax, eax
je 0x10010bf9
mov ecx, dword [ebp - 0x70]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.1000ffe0
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0x78]
jne 0x10010d4a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
add ecx, 8
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
add eax, 0x96
sub ecx, eax
cvtsi2ss xmm0, ecx
movss dword [ebp - 0x90], xmm0
cvttss2si edx, dword [0x1005bdf8]
push edx
push 0x1c
push 0x1c
push 0x1c
lea ecx, [ebp - 0xd0]
call fcn.100073b0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10037f40
add esp, 0x14
cvttss2si edx, dword [0x1005bdf8]
push edx
push 0x30
push 0x30
push 0x30
lea ecx, [ebp - 0xd4]
call fcn.100073b0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100387c0
add esp, 0x14
cvttss2si edx, dword [0x1005bdf8]
push edx
push 0x30
push 0x30
push 0x30
lea ecx, [ebp - 0xd8]
call fcn.100073b0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100387c0
add esp, 0x14
mov ecx, dword [ebp - 0x78]
call fcn.10009360
push eax
mov edx, dword [0x10060aa0]
push edx
cvttss2si eax, dword [0x1005bdf8]
push eax
push 0xf5
push 0xf5
push 0xf5
lea ecx, [ebp - 0xdc]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
call fcn.10038a40
add esp, 0x14
jmp 0x10010ee6
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x34]
add ecx, 8
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
add eax, 0x2d
sub ecx, eax
cvtsi2ss xmm0, ecx
movss dword [ebp - 0x90], xmm0
cvttss2si edx, dword [0x1005bdf8]
push edx
cvttss2si eax, dword [0x1005bdf8]
push eax
push 0
push 0xa0
lea ecx, [ebp - 0xe0]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
cvttss2si edx, dword [0x1005bdf8]
push edx
cvttss2si eax, dword [0x1005bdf8]
push eax
push 0xa0
push 0
lea ecx, [ebp - 0xfc]
call fcn.100073b0
mov ecx, dword [eax]
push ecx
push 1
mov edx, dword [ebp + 8]
cvtsi2sd xmm0, dword [edx + 0x3c]
divsd xmm0, qword [0x1004b1e8]
cvttsd2si eax, xmm0
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
add edx, 0x39
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
sub ecx, 0x50
push ecx
call fcn.100384a0
add esp, 0x18
cvttss2si edx, dword [0x1005bdf8]
push edx
push 0
cvttss2si eax, dword [0x1005bdf8]
push eax
cvttss2si ecx, dword [0x1005bdf8]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.100073b0
mov edx, dword [eax]
push edx
cvttss2si eax, dword [0x1005bdf8]
push eax
cvttss2si ecx, dword [0x1005bdf8]
push ecx
push 0
push 0xa0
lea ecx, [ebp - 0xec]
call fcn.100073b0
mov edx, dword [eax]
push edx
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cdq
sub eax, edx
sar eax, 1
sub eax, 2
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
add edx, 0x39
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
lea eax, [edx + eax - 0xa]
push eax
call fcn.100384a0
add esp, 0x18
mov ecx, dword [ebp - 0x78]
call fcn.10009360
push eax
mov ecx, dword [0x10060aa0]
push ecx
cvttss2si edx, dword [0x1005bdf8]
push edx
push 0x82
push 0x82
push 0x82
lea ecx, [ebp - 0xf0]
call fcn.100073b0
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
call fcn.10038a40
add esp, 0x14
jmp 0x10010937
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0
je 0x100110e4
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x98], 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
je 0x10010f2a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x10010f2a
mov byte [ebp - 0x65], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add eax, 0x18
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.1000d6d0
lea edx, [ebp - 0xb4]
push edx
mov ecx, dword [ebp - 0x94]
call fcn.10013380
jmp 0x10010f64
lea ecx, [ebp - 0x80]
call fcn.100340a0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000a190
movzx ecx, al
test ecx, ecx
je 0x1001103a
lea ecx, [ebp - 0x80]
call fcn.10010060
mov edx, dword [eax]
mov dword [ebp - 0x6c], edx
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x10010fa0
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebp - 0x6c]
jne 0x10010fa0
jmp 0x10010f5c
cmp dword [ebp - 0x6c], 0
je 0x10011035
push 1
mov ecx, dword [ebp - 0x6c]
call fcn.10008560
movzx edx, al
test edx, edx
je 0x10011035
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.10008580
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x66], 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x84]
call fcn.10011200
movzx ecx, al
test ecx, ecx
je 0x10011024
mov byte [ebp - 0x66], 1
movzx edx, byte [ebp - 0x66]
push edx
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx]
call eax
jmp 0x10010f5c
movzx ecx, byte [ebp - 0x65]
test ecx, ecx
je 0x100110e4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x100110e4
push 1
mov ecx, dword [ebp - 0x74]
call fcn.10008560
movzx ecx, al
test ecx, ecx
je 0x100110e4
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.10008580
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x67], 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov edx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x84]
call fcn.10011200
movzx eax, al
test eax, eax
je 0x100110d3
mov byte [ebp - 0x67], 1
movzx ecx, byte [ebp - 0x67]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax]
call edx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10041701
mov esp, ebp
pop ebp
ret 4