Function at 0x10119600
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x468
mov eax, 0x1014fa06
call fcn.101439bc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
and dword [ebp - 0x43c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x42c], edi
mov ebx, dword [eax]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x438], ecx
test eax, eax
je 0x10119659
and dword [eax + 0xa0], 0
mov eax, dword [edx]
test eax, eax
je 0x10119664
xor edx, edx
mov word [eax], dx
test ecx, ecx
je 0x10119682
mov eax, dword [edi]
push ecx
push edi
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebp - 0x438]
mov eax, dword [ebp + 0x14]
and eax, 0x10
mov dword [ebp - 0x45c], eax
jne 0x101196ae
test ecx, ecx
je 0x101196ae
mov eax, dword [ecx]
push 0x10155d6c
push 0
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151aac]
call esi
add esp, 0xc
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151aac]
call esi
test byte [ebp + 0x14], 1
mov esi, eax
mov eax, dword [ebp - 0x424]
jne 0x101196d0
test eax, eax
jne 0x10119709
and dword [ebp - 0x474], 0
and dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x468]
and eax, 0xffffffeb
or eax, 0xb
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x474]
push eax
push edi
call sym.rt3d.dll_class_FILETYPE____stdcall_e3GetFileFormat_class_e3_STREAM___struct_FTINFO__
mov dword [ebp - 0x424], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x460], eax
mov eax, dword [edi]
push 0
push esi
push edi
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x10151aac]
call esi
lea ecx, [ebp - 0x464]
call fcn.100ee3b1
and dword [ebp - 4], 0
test ebx, ebx
jne 0x1011984d
mov esi, dword [ebp - 0x440]
push esi
call sym.rt3d.dll_public:_static_class_e3_SCENE____stdcall_e3_SCENE::Create_void__
cmp dword [ebp - 0x45c], 0
mov ebx, eax
mov eax, dword [ebp - 0x458]
mov dword [eax], ebx
je 0x10119764
or dword [ebx + 0x158], 0x10
test byte [ebp + 0x14], 0x20
je 0x10119774
or dword [ebx + 0x158], 0x100000
mov eax, dword [esi]
mov dword [ebx + 0x1cc], eax
cmp dword [esi + 4], 0
je 0x10119791
push dword [esi + 4]
mov ecx, ebx
push 0x12f
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebx + 0x1a8], eax
lea eax, [ebx + 0x1b0]
mov ecx, dword [edi]
push eax
push edi
mov esi, dword [ecx + 0xec]
mov ecx, esi
call dword [0x10151aac]
call esi
mov esi, dword [edi]
lea eax, [ebp - 0x420]
push 0
push 0x104
push eax
mov esi, dword [esi + 0x88]
mov ecx, esi
push edi
call dword [0x10151aac]
call esi
test al, al
je 0x10119809
lea eax, [ebp - 0x420]
push eax
lea eax, [ebx + 0x104]
push eax
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test byte [ebp + 0x14], 2
je 0x1011983c
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
xor ecx, ecx
test ax, ax
mov edx, 0x800
mov eax, dword [ebx + 0x158]
cmovs ecx, edx
and eax, 0xfffff7ff
or ecx, eax
mov dword [ebx + 0x158], ecx
jmp 0x10119841
mov edx, 0x800
test byte [ebp + 0x14], 8
je 0x1011984d
or dword [ebx + 0x158], edx
mov esi, dword [ebp - 0x438]
push 0x36
mov esi, dword [esi]
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
pop ecx
mov ecx, dword [esi + 0x18]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x438]
call dword [0x10151aac]
call dword [esi + 0x18]
add esp, 0xc
mov byte [ebp - 0x425], 0
cmp dword [ebx + 0x1d0], 0
jne 0x10119898
mov eax, dword [ebp - 0x424]
mov dword [ebx + 0x1d0], eax
mov byte [ebp - 0x425], 1
test dword [ebp + 0x14], 0x180
je 0x10119915
push 0x10
push 0x20
call sym.rt3d.dll_public:_static_class_e3_COLLECTION____stdcall_e3_COLLECTION::Create_int__int_
mov ecx, dword [ebx + 0xd4]
xor edx, edx
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x434], edx
cmp dword [ecx + 0x24], edx
jle 0x10119915
jmp 0x101198cb
mov eax, dword [ebp - 0x43c]
mov edi, dword [eax]
mov eax, dword [ebx + 0xd4]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [edi + 0x30]
push eax
push dword [ebp - 0x43c]
call dword [0x10151aac]
call dword [edi + 0x30]
mov edx, dword [ebp - 0x434]
mov eax, dword [ebx + 0xd4]
inc edx
mov dword [ebp - 0x434], edx
cmp edx, dword [eax + 0x24]
jl 0x101198c5
mov edi, dword [ebp - 0x42c]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0x424]
and eax, 0x200
mov dword [ebp - 0x444], eax
je 0x10119950
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 0xb
push esi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test eax, eax
je 0x10119950
push 0xfffffffffffffff9
pop eax
mov dword [ebp - 0x430], eax
jmp 0x10119bd2
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 1
push esi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test dword [ebx + 0x158], 0x20000000
mov dword [ebp - 0x454], eax
je 0x1011997a
push 0xfffffffffffffff4
pop ecx
jmp 0x1011998e
cmp byte [ebx + 0x34a], 0
je 0x1011998b
mov ecx, dword [ebx + 0x34c]
jmp 0x1011998e
xor ecx, ecx
inc ecx
mov dword [ebp - 0x430], ecx
test eax, eax
jne 0x10119bb3
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x10119bb3
test ecx, ecx
jle 0x10119bb3
mov esi, dword [edi]
lea eax, [ebp - 0x218]
push 0
push 0x104
push eax
mov esi, dword [esi + 0x88]
mov ecx, esi
push edi
call dword [0x10151aac]
call esi
test al, al
je 0x10119bad
lea eax, [ebp - 0x218]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_wcsrchr
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10119a01
lea eax, [ebp - 0x218]
mov dword [ebp - 0x44c], eax
jmp 0x10119a0a
add esi, 2
mov dword [ebp - 0x44c], esi
lea eax, [ebp - 0x218]
push 0x2e
push eax
call sub.VCRUNTIME140.dll_wcsrchr
mov dword [ebp - 0x434], eax
pop ecx
pop ecx
test eax, eax
je 0x10119a2d
add eax, 2
mov dword [ebp - 0x434], eax
mov ecx, dword [0x107d05a8]
xor edx, edx
add ecx, 0x28
mov dword [ebp - 0x42c], edx
mov eax, dword [ecx]
cmp dword [eax + 0x24], edx
jle 0x10119b96
cmp dword [ebp - 0x454], 0
jne 0x10119b96
mov eax, dword [ecx]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x424], eax
je 0x10119b50
test dword [eax + 4], 0x800
je 0x10119b50
cmp byte [eax + 4], 1
jne 0x10119b50
push dword [ebp - 0x434]
push dword [ebp - 0x44c]
push eax
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test al, al
je 0x10119b50
mov eax, dword [edi]
push str.E3_FILESTREAM
push edi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x10151aac]
call esi
test al, al
je 0x10119ad8
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0xf0]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [edi]
push 0
push 0
push edi
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x10151aac]
call esi
cmp dword [ebp - 0x444], 0
mov esi, dword [ebp - 0x450]
je 0x10119b16
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 0xb
push esi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test eax, eax
jne 0x10119942
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 1
push esi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test dword [ebx + 0x158], 0x20000000
mov dword [ebp - 0x454], eax
jne 0x10119b8d
cmp byte [ebx + 0x34a], 0
jne 0x10119b85
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x10119b73
mov ecx, dword [0x107d05a8]
mov edx, dword [ebp - 0x42c]
add ecx, 0x28
inc edx
mov dword [ebp - 0x42c], edx
mov eax, dword [ecx]
cmp edx, dword [eax + 0x24]
jl 0x10119a49
jmp 0x10119b96
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x430], 1
jmp 0x10119b9c
mov eax, dword [ebx + 0x34c]
jmp 0x10119b90
push 0xfffffffffffffff4
pop eax
mov dword [ebp - 0x430], eax
mov esi, dword [ebp - 0x424]
cmp byte [ebp - 0x425], 0
je 0x10119bb3
mov dword [ebx + 0x1d0], esi
jmp 0x10119bb3
mov esi, dword [ebp - 0x424]
and dword [ebx + 0x1cc], 0
cmp dword [ebx + 0x178], 0
jne 0x10119bd2
push dword [esi + 0xc]
lea eax, [ebx + 0x174]
push eax
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
mov edi, dword [ebp - 0x438]
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, dword [edi]
push edi
mov ecx, dword [esi + 0xc]
call dword [0x10151aac]
call dword [esi + 0xc]
test dword [ebp + 0x14], 0x100
je 0x10119cee
mov ecx, dword [ebx + 0xd4]
and dword [ebp - 0x444], 0
cmp dword [ecx + 0x24], 0
jle 0x10119cee
mov edi, dword [ebp - 0x444]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
push 4
push eax
mov dword [ebp - 0x434], eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xf0]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
je 0x10119cd8
mov ecx, dword [ebp - 0x43c]
push dword [ebp - 0x434]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
jns 0x10119cd8
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x10119cbd
xor edx, edx
mov dword [ebp - 0x42c], edx
cmp dword [ecx + 0x24], edx
jle 0x10119cbd
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, eax
mov eax, dword [ebp - 0x434]
cmp dword [ecx + 0xc], eax
je 0x10119cd8
cmp dword [ecx + 0x10], eax
je 0x10119cd8
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebx + 0xf4]
inc edx
mov dword [ebp - 0x42c], edx
cmp edx, dword [ecx + 0x24]
jl 0x10119c82
mov ecx, dword [ebp - 0x434]
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0xd4]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x10119c17
mov edi, dword [ebp - 0x438]
test byte [ebp + 0x14], 0x80
je 0x10119d92
mov ecx, dword [ebx + 0xd4]
and dword [ebp - 0x444], 0
cmp dword [ecx + 0x24], 0
jle 0x10119d92
mov edi, dword [ebp - 0x444]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
push 3
push eax
mov dword [ebp - 0x42c], eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xf0]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
je 0x10119d80
mov ecx, dword [ebp - 0x43c]
push dword [ebp - 0x42c]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
jns 0x10119d80
mov ecx, dword [ebp - 0x42c]
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0xd4]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x10119d15
mov edi, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x424]
cmp byte [ecx + 4], 0x88
jne 0x10119dac
mov eax, dword [ebx + 0xe0]
xor edx, edx
inc edx
cmp dword [eax + 0x24], edx
jg 0x10119dae
xor edx, edx
cmp dword [ebp - 0x448], 0
mov eax, dword [ebx + 0xd4]
jne 0x10119df3
cmp dword [eax + 0x24], 0
jne 0x10119de4
test edx, edx
jne 0x10119de4
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [ebp - 0x458]
and dword [eax], 0
xor ebx, ebx
jmp 0x10119e5a
cmp dword [ebx + 0x1d0], 0
jne 0x10119df3
mov dword [ebx + 0x1d0], ecx
mov eax, dword [ebx + 0x16c]
mov ecx, ebx
push dword [eax + 8]
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test byte [ebp + 0x14], 4
jne 0x10119e5a
cmp dword [ebp - 0x45c], 0
jne 0x10119e46
mov esi, dword [edi]
push 0x37
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
pop ecx
mov ecx, dword [esi + 0x18]
push eax
push 0xffffffffffffffff
push edi
call dword [0x10151aac]
call dword [esi + 0x18]
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x448], eax
setne al
push eax
push ebx
push 0x100e
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
mov eax, dword [ebx]
push edi
push ebx
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x10119e74
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [edi]
push 0x10155d6c
push 0xffffffffffffffff
push edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151aac]
call esi
add esp, 0xc
test ebx, ebx
je 0x10119f3b
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push 0x38
push eax
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
mov esi, dword [edi]
lea eax, [ebp - 0x210]
add esp, 0xc
mov ecx, dword [esi + 0x18]
push eax
push 0
push edi
call dword [0x10151aac]
call dword [esi + 0x18]
mov eax, dword [ebx + 0x1d0]
add esp, 0xc
test eax, eax
je 0x10119f07
xor ecx, ecx
cmp dword [eax + 0x60], ecx
je 0x10119f07
push ecx
push ebx
push ecx
push 0xa
push eax
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test eax, eax
je 0x10119f07
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + 0x60]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x10151aac]
call esi
cmp dword [ebp - 0x448], 0
jne 0x10119f20
mov eax, dword [ebx + 0x164]
mov ecx, ebx
push dword [eax + 0x1c]
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
mov ebx, dword [ebp - 0x430]
lea ecx, [ebp - 0x464]
call fcn.10001a60
mov eax, ebx
call fcn.10143966
ret 0x14
mov eax, dword [ebp - 0x440]
mov ecx, dword [eax + 8]
call fcn.100bed0e
test al, al
jne 0x10119f20
or ebx, 0xffffffff
jmp 0x10119f26