Function at 0x438610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5645d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x64], 0
jne 0x43869e
mov eax, dword [ebx + 0xc8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00494811
xor esi, esi
add esp, 4
cmp dword [ebx + 0xc8], esi
mov dword [ebx + 0x64], eax
jle 0x43869e
lea esp, [esp]
mov eax, dword [ebx + 0xcc]
xor ecx, ecx
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00494811
mov ecx, dword [ebx + 0x64]
mov dword [ecx + esi*4], eax
inc esi
add esp, 4
cmp esi, dword [ebx + 0xc8]
jl 0x438670
cmp byte [ebx + 0x180], 0
jne 0x438e71
mov ecx, ebx
call fcn.0049b306
call fcn.0049ef0d
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x144]
mov ecx, esi
mov dword [ebp - 0x34], esi
call eax
mov edi, eax
lea ecx, [edi + 0xa0]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x4386f3
cmp dword [ecx + 0x1c], 0
je 0x4386f3
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, edi
call fcn.0044bd90
lea ecx, [ebp - 0x30]
push 0x8064
push ecx
call fcn.0041d0c0
add esp, 8
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [eax]
lea ecx, [esi + 0x190]
push eax
mov dword [ebp - 0x3c], ecx
call fcn.0049b76e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004022b0
xor edx, edx
cmp dword [ebx + 0xc8], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
jle 0x438783
cmp dword [ebx + 0xcc], 0
jle 0x438777
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + edx*4]
mov esi, dword [ebx + 0xcc]
add ecx, 0x4c
mov eax, dword [ecx]
cmp eax, 1
je 0x43876e
cmp eax, 2
je 0x43876e
cmp eax, 3
je 0x43876e
cmp eax, 4
jne 0x43876f
inc edi
add ecx, 0x74
sub esi, 1
jne 0x438758
inc edx
cmp edx, dword [ebx + 0xc8]
jl 0x438740
mov dword [ebp - 0x28], edi
cmp dword [ebx + 0x64], 0
je 0x4387be
xor esi, esi
cmp dword [ebx + 0xc8], esi
jle 0x4387ab
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx + esi*4]
push eax
call fcn.004f9090
inc esi
add esp, 4
cmp esi, dword [ebx + 0xc8]
jl 0x438793
mov eax, dword [ebx + 0x64]
push eax
call fcn.004f9090
add esp, 4
mov dword [ebx + 0x64], 0
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00494811
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xc8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00494811
xor esi, esi
add esp, 8
cmp dword [ebx + 0xc8], esi
mov dword [ebx + 0x64], eax
jle 0x43883e
jmp 0x438810
mov eax, dword [ebx + 0xcc]
xor ecx, ecx
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00494811
mov ecx, dword [ebx + 0x64]
mov dword [ecx + esi*4], eax
inc esi
add esp, 4
cmp esi, dword [ebx + 0xc8]
jl 0x438810
xor edx, edx
xor esi, esi
cmp dword [ebx + 0xc8], edx
jle 0x438894
xor ecx, ecx
cmp dword [ebx + 0xcc], ecx
jle 0x43888b
xor edi, edi
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + edi + 0x4c]
cmp eax, 1
je 0x438874
cmp eax, 2
je 0x438874
cmp eax, 3
je 0x438874
cmp eax, 4
jne 0x43887f
mov eax, dword [ebp - 0x2c]
mov dword [eax + esi*8], edx
mov dword [eax + esi*8 + 4], ecx
inc esi
inc ecx
add edi, 0x74
cmp ecx, dword [ebx + 0xcc]
jl 0x438856
inc edx
cmp edx, dword [ebx + 0xc8]
jl 0x43884a
mov ecx, ebx
call fcn.00432d00
lea ecx, [ebp - 0x40]
push ecx
mov ecx, ebx
call fcn.00432db0
xor eax, eax
cmp dword [ebx + 0xc8], eax
jle 0x438907
xor edi, edi
cmp dword [ebx + 0xcc], edi
jle 0x4388fe
xor edx, edx
xor ecx, ecx
mov edi, edi
mov esi, dword [ebx + 0x60]
mov esi, dword [esi + eax*4]
add esi, ecx
cmp dword [esi + 0x4c], 4
jne 0x4388ef
fld dword [esi + 0x20]
mov esi, dword [ebx + 0x64]
mov esi, dword [esi + eax*4]
fstp qword [esi + edx + 8]
mov esi, dword [ebx + 0x60]
mov esi, dword [esi + eax*4]
fld dword [esi + ecx + 0x20]
mov esi, dword [ebx + 0x64]
mov esi, dword [esi + eax*4]
fstp qword [esi + edx + 0x10]
inc edi
add ecx, 0x74
add edx, 0x30
cmp edi, dword [ebx + 0xcc]
jl 0x4388c0
inc eax
cmp eax, dword [ebx + 0xc8]
jl 0x4388b0
xor eax, eax
cmp dword [ebx + 0xc8], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x10], eax
jle 0x438de6
xor ecx, ecx
cmp dword [ebx + 0xcc], ecx
mov dword [ebp - 0x14], ecx
jle 0x438dd6
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebx + 0x60]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + edx + 0x4c], 5
jl 0x438dbf
fild dword [ebp - 0x20]
fidiv dword [ebp - 0x40]
fmul qword [0x57b778]
call fcn.004d3050
cmp eax, 0x64
mov dword [ebp - 0x24], eax
jl 0x438968
mov eax, 0x64
mov dword [ebp - 0x24], eax
sub eax, dword [ebp - 0x30]
test eax, eax
jle 0x43898f
mov edi, dword [ebp - 0x44]
mov esi, eax
mov eax, dword [edi + 0xbc]
push 0
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
sub esi, 1
jne 0x438974
mov ecx, dword [ebp - 0x24]
push 0x1b
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x438f88
fldz
inc dword [ebp - 0x20]
cmp dword [ebp - 0x28], 0
fst qword [ebp - 0x54]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x24], 0
jle 0x438d8b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ecx + eax*8 + 4]
mov edi, dword [ecx + eax*8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
jne 0x438a79
cmp dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x60]
jle 0x438a42
mov eax, dword [eax + edi*4 + 4]
mov edx, esi
imul edx, edx, 0x74
cmp dword [eax + edx + 0x4c], 5
jl 0x438d7b
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push esi
lea ecx, [edi + 1]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438d7b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 3
push esi
push edi
push ecx
push edx
mov ecx, ebx
call fcn.00432f40
fld qword [ebp - 0x54]
mov eax, dword [ebx + 0x64]
fadd st(1)
mov edx, dword [eax + edi*4]
lea ecx, [esi + esi*2]
shl ecx, 4
fstp qword [ebp - 0x54]
fld qword [edx + ecx + 8]
jmp 0x438d6d
mov edx, dword [eax + edi*4 - 4]
mov ecx, esi
imul ecx, ecx, 0x74
cmp dword [edx + ecx + 0x4c], 5
jl 0x438d7b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push esi
lea eax, [edi - 1]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438d7b
push 4
jmp 0x438d44
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
jne 0x438afb
cmp eax, esi
mov eax, dword [ebx + 0x60]
jle 0x438ae9
mov eax, dword [eax + edi*4]
mov edx, esi
imul edx, edx, 0x74
cmp dword [eax + edx + 0xc0], 5
jl 0x438d7b
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 1]
push ecx
push edi
push edx
push eax
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438d7b
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push esi
push edi
push ecx
push edx
mov ecx, ebx
call fcn.00432f40
fld qword [ebp - 0x54]
mov eax, dword [ebx + 0x64]
fadd st(1)
mov edx, dword [eax + edi*4]
lea ecx, [esi + esi*2]
shl ecx, 4
fstp qword [ebp - 0x54]
fld qword [edx + ecx + 8]
jmp 0x438d6d
mov edx, dword [eax + edi*4]
mov ecx, esi
imul ecx, ecx, 0x74
cmp dword [edx + ecx - 0x28], 5
jmp 0x438d28
cmp eax, esi
mov eax, esi
jle 0x438c1a
imul eax, eax, 0x74
cmp ecx, edi
mov ecx, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
jle 0x438b84
mov edx, dword [ecx + edi*4 + 4]
cmp dword [edx + eax + 0x4c], 5
jl 0x438b6e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push esi
lea eax, [edi + 1]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438b6e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 3
push esi
push edi
push eax
push ecx
mov ecx, ebx
call fcn.00432f40
fld qword [ebp - 0x54]
mov edx, dword [ebx + 0x64]
fadd st(1)
mov ecx, dword [edx + edi*4]
lea eax, [esi + esi*2]
fstp qword [ebp - 0x54]
shl eax, 4
fld qword [ecx + eax + 8]
fmul st(0), st(0)
fld st(0)
fmulp st(2)
fmulp st(1)
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x18]
cmp dword [edx + eax + 0xc0], 5
jmp 0x438a97
mov ecx, dword [ecx + edi*4 - 4]
cmp dword [ecx + eax + 0x4c], 5
jl 0x438be0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push esi
lea edx, [edi - 1]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438be0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push 4
push esi
push edi
push edx
push eax
mov ecx, ebx
call fcn.00432f40
fld qword [ebp - 0x54]
mov ecx, dword [ebx + 0x64]
fadd st(1)
mov eax, dword [ecx + edi*4]
lea edx, [esi + esi*2]
fstp qword [ebp - 0x54]
shl edx, 4
fld qword [eax + edx + 8]
fmul st(0), st(0)
fld st(0)
fmulp st(2)
fmulp st(1)
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + edi*4]
mov edx, dword [ebp - 0x18]
cmp dword [ecx + edx + 0xc0], 5
jl 0x438d7b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [esi + 1]
push eax
push edi
push ecx
push edx
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438d7b
push 1
jmp 0x438d44
imul eax, eax, 0x74
cmp ecx, edi
mov ecx, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
jle 0x438cbe
mov edx, dword [ecx + edi*4 + 4]
cmp dword [edx + eax + 0x4c], 5
jl 0x438c87
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push esi
lea eax, [edi + 1]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438c87
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 3
push esi
push edi
push eax
push ecx
mov ecx, ebx
call fcn.00432f40
fld qword [ebp - 0x54]
mov edx, dword [ebx + 0x64]
fadd st(1)
mov ecx, dword [edx + edi*4]
lea eax, [esi + esi*2]
fstp qword [ebp - 0x54]
shl eax, 4
fld qword [ecx + eax + 8]
fmul st(0), st(0)
fld st(0)
fmulp st(2)
fmulp st(1)
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x18]
cmp dword [edx + eax - 0x28], 5
jl 0x438d7b
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [esi - 1]
push ecx
push edi
push edx
push eax
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438d7b
push 2
jmp 0x438abb
mov ecx, dword [ecx + edi*4 - 4]
cmp dword [ecx + eax + 0x4c], 5
jl 0x438d1a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push esi
lea edx, [edi - 1]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438d1a
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push 4
push esi
push edi
push edx
push eax
mov ecx, ebx
call fcn.00432f40
fld qword [ebp - 0x54]
mov ecx, dword [ebx + 0x64]
fadd st(1)
mov eax, dword [ecx + edi*4]
lea edx, [esi + esi*2]
fstp qword [ebp - 0x54]
shl edx, 4
fld qword [eax + edx + 8]
fmul st(0), st(0)
fld st(0)
fmulp st(2)
fmulp st(1)
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + edi*4]
mov edx, dword [ebp - 0x18]
cmp dword [ecx + edx - 0x28], 5
jl 0x438d7b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [esi - 1]
push eax
push edi
push ecx
push edx
mov ecx, ebx
call fcn.00432e10
test eax, eax
je 0x438d7b
push 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push esi
push edi
push eax
push ecx
mov ecx, ebx
call fcn.00432f40
fld qword [ebp - 0x54]
mov edx, dword [ebx + 0x64]
fadd st(1)
mov ecx, dword [edx + edi*4]
lea eax, [esi + esi*2]
shl eax, 4
fstp qword [ebp - 0x54]
fld qword [ecx + eax + 8]
fmul st(0), st(0)
fld st(0)
fmulp st(2)
fmulp st(1)
fadd qword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
jl 0x4389c2
fld qword [ebp - 0x4c]
fdiv qword [ebp - 0x54]
call fcn.004d33d0
fmul qword [0x57d4d8]
fld qword [0x57d498]
fxch st(1)
call fcn.004d3140
fstp dword [ebp - 0x24]
mov edx, dword [ebx + 0x60]
fld dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0x1c]
fstp dword [ecx + edx + 0x44]
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x1c], 0x74
inc ecx
cmp ecx, dword [ebx + 0xcc]
mov dword [ebp - 0x14], ecx
jl 0x438933
inc eax
cmp eax, dword [ebx + 0xc8]
mov dword [ebp - 0x10], eax
jl 0x43891f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004f9090
mov ecx, dword [ebp - 0x34]
add esp, 4
mov byte [ebx + 0x180], 1
call fcn.004a30c3
mov ecx, dword [eax + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
push 1
call eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x438e21
cmp dword [ecx + 0x1c], 0
je 0x438e21
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
lea ecx, [ebp - 0x44]
push 0x8066
push ecx
call fcn.0041d0c0
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0049b76e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438e6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebx
call fcn.0049b31b
xor edi, edi
cmp dword [ebx + 0xc8], edi
jle 0x438f74
fld qword [0x57b5e8]
cmp dword [ebx + 0xcc], 0
mov dword [ebp - 0x3c], 0
jle 0x438f65
xor edx, edx
mov dword [ebp - 0x2c], edx
xor esi, esi
mov ecx, dword [ebx + 0x60]
mov eax, dword [ecx + edi*4]
add eax, esi
cmp dword [eax + 0x4c], 0
jle 0x438ecf
fld dword [eax + 0x28]
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx + edi*4]
fstp qword [eax + edx + 8]
mov ecx, dword [ebx + 0x60]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebx + 0x64]
fld dword [eax + esi + 0x44]
mov eax, dword [ecx + edi*4]
fstp qword [eax + edx + 0x10]
mov ecx, dword [ebx + 0x60]
mov eax, dword [ecx + edi*4]
cmp dword [eax + esi + 0x4c], 4
lea ecx, [ecx + edi*4]
jl 0x438f49
mov ecx, dword [ecx - 4]
mov edx, eax
fld dword [edx + esi + 0x24]
lea eax, [edx + esi]
fsub dword [eax - 0x50]
add ecx, esi
fdiv dword [ebx + 0x184]
fld dword [ecx + 0x24]
fsub dword [ecx - 0x50]
fdiv dword [ebx + 0x184]
fld dword [ecx + 0x24]
fsub dword [eax + 0x24]
fdiv dword [ebx + 0x184]
fld dword [ecx - 0x50]
fsub dword [eax - 0x50]
fdiv dword [ebx + 0x184]
faddp st(1)
fmul st(3)
fxch st(1)
faddp st(2)
fxch st(1)
fmul st(2)
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fxch st(1)
call fcn.004d3140
mov edx, dword [ebx + 0x64]
mov eax, dword [edx + edi*4]
mov ecx, dword [ebp - 0x2c]
fstp qword [ecx + eax]
mov edx, ecx
fld qword [0x57b5e8]
mov eax, dword [ebp - 0x3c]
inc eax
add edx, 0x30
add esi, 0x74
cmp eax, dword [ebx + 0xcc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], edx
jl 0x438ea0
inc edi
cmp edi, dword [ebx + 0xc8]
jl 0x438e85
fstp st(0)
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
push 0x8065
push eax
call fcn.0041d0c0
add esp, 8
mov esi, 1
mov dword [ebp - 4], esi
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0049b76e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
push 0x403
lea ecx, [eax + 0x228]
mov dword [eax + 0x2cc], esi
call fcn.0049b646
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x439012
cmp dword [ecx + 0x1c], 0
je 0x439012
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret