Function at 0x10073a00
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
cmp dword [0x101d08d0], 0xffffb36b
cmp dword [0x101d08b4], 0x5441
cmp dword [0x101d08b8], 0xffffd2f4
xor esi, esi
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x58]
jne 0x10073a48
cmp ecx, 0xffffffff
jne 0x10073a48
lea eax, [esp + 0x18]
push eax
call fcn.100724e0
nop
jmp 0x10073a5c
mov dword [esp + 0x18], eax
mov edi, edi
mov dword [esp + 0x1c], ecx
cmp dword [0x101d08b8], 0x2d0b
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp dword [0x101d08b0], 0x2f18
add ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
cmp dword [0x101d08d0], 0xffffb36b
add ebx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
cmp dword [0x101d08b0], 0x2f18
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
cmp dword [0x101d08b4], 0xffffabbe
mov ebp, dword [esp + 0x1c]
cmp dword [0x101d08b8], 0xffffd2f4
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.101324e0
fst qword [esp + 0x28]
cmp dword [0x101d08b4], 0x5441
fld qword [0x10198bf8]
mov edi, dword [esp + 0x44]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10073c7e
mov edx, ebx
sub edx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
fild dword [esp + 0x48]
fdiv st(2)
fstp qword [esp + 0x38]
cmp dword [0x101d08d0], 0x4c94
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]
mov ah, ah
mov dword [esp + 0x48], 0x5a
mov ebx, ebx
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10073c7e
fld qword [esp + 0x30]
fmul st(1)
fiadd dword [esp + 0x18]
call fcn.10131a10
mov dword [esp + 0x10], eax
mov al, al
fmul qword [esp + 0x38]
fiadd dword [esp + 0x1c]
call fcn.10131a10
mov dword [esp + 0x14], eax
push ebx
pop ebx
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
cmp dword [0x101d08b4], 0xffffabbe
cmp dword [esp + 0x50], 0
je 0x10073ba2
mov dword [esp + 0x4c], 4
mov ebp, ebp
test eax, eax
mov byte [esi + edi], 8
jne 0x10073bae
test ebx, ebx
je 0x10073c0a
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
fstp st(0)
push 1
call ebp
test ax, ax
je 0x10073bc5
or byte [esi + edi], 1
mov bh, bh
push 2
call ebp
test ax, ax
je 0x10073bd4
or byte [esi + edi], 2
mov bl, bl
push 4
call ebp
test ax, ax
je 0x10073be3
or byte [esi + edi], 4
mov ecx, ecx
cmp dword [esp + 0x54], 0
jge 0x10073bf8
or byte [esi + edi], 0x10
cmp dword [0x101d08c8], 0xffff89b0
test ebx, ebx
fld qword [esp + 0x28]
mov eax, dword [esp + 0x54]
jle 0x10073c0a
or byte [esi + edi], 0x20
mov cl, cl
mov byte [esi + edi + 1], al
cmp dword [0x101d08c4], 0xfffff546
mov eax, dword [esp + 0x50]
neg bl
cmp eax, 2
mov byte [esi + edi + 2], bl
jne 0x10073c38
mov byte [esi + edi + 3], 0
cmp dword [0x101d08d0], 0xffffb36b
jmp 0x10073c44
cmp eax, 1
jne 0x10073c44
mov byte [esi + edi + 3], 0
mov al, al
add esi, dword [esp + 0x4c]
mov ah, ah
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
push ebx
pop ebx
mov ebp, dword [esp + 0x14]
mov ebp, ebp
add dword [esp + 0x48], 0x5a
cmp dword [0x101d08b4], 0xffffabbe
fild dword [esp + 0x48]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x10073b47
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 0x10073c9a
mov edx, ebx
sub edx, ebp
je 0x10073d69
sub ebx, ebp
mov dword [esp + 0x48], 3
cmp dword [0x101d08b4], 0xffffabbe
cmp dword [esp + 0x50], 0
je 0x10073cbf
mov dword [esp + 0x48], 4
mov ebp, ebp
test eax, eax
mov byte [esi + edi], 8
jne 0x10073ccb
test ebx, ebx
je 0x10073d21
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebp
test ax, ax
je 0x10073ce0
or byte [esi + edi], 1
mov bh, bh
push 2
call ebp
test ax, ax
je 0x10073cef
or byte [esi + edi], 2
mov bl, bl
push 4
call ebp
test ax, ax
je 0x10073cfe
or byte [esi + edi], 4
mov ecx, ecx
cmp dword [esp + 0x54], 0
jge 0x10073d13
or byte [esi + edi], 0x10
cmp dword [0x101d08c8], 0xffff89b0
test ebx, ebx
mov eax, dword [esp + 0x54]
jle 0x10073d21
or byte [esi + edi], 0x20
mov cl, cl
mov byte [esi + edi + 1], al
cmp dword [0x101d08c4], 0xfffff546
mov eax, dword [esp + 0x50]
neg bl
cmp eax, 2
mov byte [esi + edi + 2], bl
jne 0x10073d4f
mov byte [esi + edi + 3], 0
cmp dword [0x101d08d0], 0xffffb36b
jmp 0x10073d5b
cmp eax, 1
jne 0x10073d5b
mov byte [esi + edi + 3], 0
mov al, al
add esi, dword [esp + 0x48]
cmp dword [0x101d08d4], 0x121
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret