Function at 0x10053c60
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, edi
push ebx
pop ebx
mov ah, ah
xor esi, esi
mov ah, ah
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x58]
jne 0x10053c91
cmp ecx, 0xffffffff
jne 0x10053c91
lea eax, [esp + 0x18]
push eax
call fcn.10052980
push ecx
pop ecx
jmp 0x10053c9d
mov dword [esp + 0x18], eax
mov eax, eax
mov dword [esp + 0x1c], ecx
push edx
pop edx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov cl, cl
add ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, ecx
add ebx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov edx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov ah, ah
mov ebp, dword [esp + 0x1c]
mov dl, dl
sub ecx, dword [esp + 0x18]
mov eax, ebx
sub eax, dword [esp + 0x1c]
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x48], edx
fild dword [esp + 0x48]
call fcn.10100ae0
fst qword [esp + 0x28]
mov al, al
fld qword [0x10166938]
mov edi, dword [esp + 0x44]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10053e5f
mov edx, ebx
sub edx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
fild dword [esp + 0x48]
fdiv st(2)
fstp qword [esp + 0x38]
mov edx, edx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fdiv st(2)
fstp qword [esp + 0x30]
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x48], 0x5a
mov ch, ch
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10053e5f
fld qword [esp + 0x30]
fmul st(1)
fiadd dword [esp + 0x18]
call fcn.10100010
mov dword [esp + 0x10], eax
push eax
pop eax
fmul qword [esp + 0x38]
fiadd dword [esp + 0x1c]
call fcn.10100010
mov dword [esp + 0x14], eax
mov dh, dh
mov ebx, eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x54]
sub ebx, ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], 3
mov bh, bh
cmp dword [esp + 0x50], 0
je 0x10053da3
mov dword [esp + 0x4c], 4
mov edx, edx
test eax, eax
mov byte [esi + edi], 8
jne 0x10053daf
test ebx, ebx
je 0x10053e03
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
fstp st(0)
push 1
call ebp
test ax, ax
je 0x10053dc6
or byte [esi + edi], 1
mov ebp, ebp
push 2
call ebp
test ax, ax
je 0x10053dd5
or byte [esi + edi], 2
mov ecx, ecx
push 4
call ebp
test ax, ax
je 0x10053de4
or byte [esi + edi], 4
mov eax, eax
cmp dword [esp + 0x54], 0
jge 0x10053df1
or byte [esi + edi], 0x10
mov cl, cl
test ebx, ebx
fld qword [esp + 0x28]
mov eax, dword [esp + 0x54]
jle 0x10053e03
or byte [esi + edi], 0x20
mov edi, edi
mov byte [esi + edi + 1], al
mov eax, eax
mov eax, dword [esp + 0x50]
neg bl
cmp eax, 2
mov byte [esi + edi + 2], bl
jne 0x10053e21
mov byte [esi + edi + 3], 0
mov ebx, ebx
jmp 0x10053e2d
cmp eax, 1
jne 0x10053e2d
mov byte [esi + edi + 3], 0
mov eax, eax
add esi, dword [esp + 0x4c]
mov dh, dh
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dh, dh
mov ebp, dword [esp + 0x14]
push ebx
pop ebx
add dword [esp + 0x48], 0x5a
xchg ebx, eax
xchg ebx, eax
fild dword [esp + 0x48]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x10053d50
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
fstp st(0)
sub eax, dword [esp + 0x54]
fstp st(0)
mov dword [esp + 0x54], eax
jne 0x10053e7b
mov edx, ebx
sub edx, ebp
je 0x10053f22
sub ebx, ebp
mov dword [esp + 0x48], 3
mov bh, bh
cmp dword [esp + 0x50], 0
je 0x10053e98
mov dword [esp + 0x48], 4
mov edx, edx
test eax, eax
mov byte [esi + edi], 8
jne 0x10053ea4
test ebx, ebx
je 0x10053ef2
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebp
test ax, ax
je 0x10053eb9
or byte [esi + edi], 1
mov ebp, ebp
push 2
call ebp
test ax, ax
je 0x10053ec8
or byte [esi + edi], 2
mov ecx, ecx
push 4
call ebp
test ax, ax
je 0x10053ed7
or byte [esi + edi], 4
mov eax, eax
cmp dword [esp + 0x54], 0
jge 0x10053ee4
or byte [esi + edi], 0x10
mov cl, cl
test ebx, ebx
mov eax, dword [esp + 0x54]
jle 0x10053ef2
or byte [esi + edi], 0x20
mov edi, edi
mov byte [esi + edi + 1], al
mov eax, eax
mov eax, dword [esp + 0x50]
neg bl
cmp eax, 2
mov byte [esi + edi + 2], bl
jne 0x10053f10
mov byte [esi + edi + 3], 0
mov ebx, ebx
jmp 0x10053f1c
cmp eax, 1
jne 0x10053f1c
mov byte [esi + edi + 3], 0
mov eax, eax
add esi, dword [esp + 0x48]
mov eax, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret