Function at 0x10036542
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x100bf45d
call fcn.100b6f3a
mov eax, dword [esi + 0xc]
fld dword [ebp + 8]
mov dword [ebp - 0x14], eax
fsub dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x1c]
fstp dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
fld dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
fsub dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x28]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
fadd dword [ebp - 0x18]
mov eax, dword [esi + 8]
test eax, eax
fstp dword [ebp - 0x28]
fld dword [ebp - 0x24]
fadd dword [ebp - 0x14]
fstp dword [ebp - 0x24]
je 0x100365a2
lea ebx, [eax + 0x7c]
jmp 0x100365a4
xor ebx, ebx
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x10117aa8]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esp
mov dword [eax + 0xc], edx
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ecx]
call dword [eax]
or dword [ebp - 4], 0xffffffff
push eax
call fcn.10057021
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x24]
fld dword [ebp - 0x28]
fsub dword [esi + 0x1c]
xor edi, edi
cmp byte [esi + 0x42], 0
mov dword [ebp - 0x14], edi
fadd dword [esi + 0xc]
fstp dword [ebp + 8]
fld dword [ebp - 0x24]
fsub dword [esi + 0x20]
fadd dword [esi + 0x10]
fstp dword [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
jne 0x1003669c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x10036640
xor eax, eax
cmp byte [esi + 0x43], al
sete al
jmp 0x10036644
movzx eax, byte [esi + 0x43]
test eax, eax
je 0x1003669c
lea eax, [ebp + 8]
push eax
mov eax, dword [esi + 0x2c]
call fcn.1006537d
push ecx
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x18], esp
call dword [eax + 0xc]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x1003669c
mov ecx, eax
mov eax, dword [ecx]
call dword [eax]
push eax
call fcn.1002f252
push eax
call fcn.1001906e
push 0
push 0x10111ff4
push 0x1011021c
push 0
push eax
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
mov edi, eax
mov eax, dword [esi + 0x3c]
cmp edi, eax
je 0x100366c8
test eax, eax
je 0x100366b3
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x18]
and dword [esi + 0x3c], 0
test edi, edi
je 0x100366e5
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
test al, al
je 0x100366e5
mov dword [esi + 0x3c], edi
jmp 0x100366e5
test eax, eax
je 0x100366e5
push ecx
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [ebp - 0x18], esp
push dword [esi + 0x3c]
mov ecx, esi
call dword [eax + 0x14]
mov edi, dword [esi + 0x3c]
mov al, byte [esi + 0x58]
test edi, edi
setne bl
test bl, bl
mov byte [ebp + 0xf], al
je 0x1003673b
push 0
push 0x10112784
push 0x10112758
push 0
push dword [ebp - 0x14]
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x1003673b
push 0
push 0x101127bc
push 0x10111ff4
push 0
push edi
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x10036739
cmp byte [eax + 0x29], 0
je 0x10036739
mov bl, 1
jmp 0x1003673b
xor bl, bl
cmp byte [ebp + 0xf], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esi + 0x58], bl
jne 0x10036753
test bl, bl
je 0x10036753
call edi
mov dword [esi + 0x5c], eax
call edi
mov dword [ebp + 0xc], eax
lea ecx, [esi + 0x5c]
lea eax, [ebp + 0xc]
call fcn.10074717
fcomp qword [0x100e4db0]
fnstsw ax
test ah, 0x41
jne 0x1003679c
cmp byte [esi + 0x58], 0
jne 0x100367a2
fld dword [esi + 0x54]
push ecx
fsub qword [0x100e4d60]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp dword [esp]
call fcn.10031590
fcomp dword [0x100e4e58]
pop ecx
fnstsw ax
test ah, 0x41
je 0x100367b2
cmp byte [esi + 0x58], 0
je 0x100367c2
fld dword [0x100ccdf4]
fcomp dword [esi + 0x54]
fnstsw ax
test ah, 5
jp 0x100367c2
cmp dword [esi + 0x48], 0
jne 0x100367c2
push 0x14
lea eax, [esi + 0x44]
call fcn.100163c4
call fcn.100b7012
ret 8