Function at 0x1011d450
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x468
mov eax, 0x101545e5
call fcn.10147e2c
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 0x1011d4a9
and dword [eax + 0xa0], 0
mov eax, dword [edx]
test eax, eax
je 0x1011d4b4
xor edx, edx
mov word [eax], dx
test ecx, ecx
je 0x1011d4d2
mov eax, dword [edi]
push ecx
push edi
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp - 0x438]
mov eax, dword [ebp + 0x14]
and eax, 0x10
mov dword [ebp - 0x45c], eax
jne 0x1011d4fe
test ecx, ecx
je 0x1011d4fe
mov eax, dword [ecx]
push 0x10159d5c
push 0
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10155aa8]
call esi
add esp, 0xc
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10155aa8]
call esi
test byte [ebp + 0x14], 1
mov esi, eax
mov eax, dword [ebp - 0x424]
jne 0x1011d520
test eax, eax
jne 0x1011d559
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 [0x10155aa8]
call esi
lea ecx, [ebp - 0x464]
call fcn.10050470
and dword [ebp - 4], 0
test ebx, ebx
jne 0x1011d69d
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 0x1011d5b4
or dword [ebx + 0x158], 0x10
test byte [ebp + 0x14], 0x20
je 0x1011d5c4
or dword [ebx + 0x158], 0x100000
mov eax, dword [esi]
mov dword [ebx + 0x1cc], eax
cmp dword [esi + 4], 0
je 0x1011d5e1
push dword [esi + 4]
mov ecx, ebx
push 0x12f
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x10155aa8]
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 [0x10155aa8]
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 [0x10155aa8]
call esi
test al, al
je 0x1011d659
lea eax, [ebp - 0x420]
push eax
lea eax, [ebx + 0x104]
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test byte [ebp + 0x14], 2
je 0x1011d68c
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 0x1011d691
mov edx, 0x800
test byte [ebp + 0x14], 8
je 0x1011d69d
or dword [ebx + 0x158], edx
mov esi, dword [ebp - 0x438]
push 0x36
mov esi, dword [esi]
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
pop ecx
mov ecx, dword [esi + 0x18]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x438]
call dword [0x10155aa8]
call dword [esi + 0x18]
add esp, 0xc
mov byte [ebp - 0x425], 0
cmp dword [ebx + 0x1d0], 0
jne 0x1011d6e8
mov eax, dword [ebp - 0x424]
mov dword [ebx + 0x1d0], eax
mov byte [ebp - 0x425], 1
test dword [ebp + 0x14], 0x180
je 0x1011d765
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 0x1011d765
jmp 0x1011d71b
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 [0x10155aa8]
call esi
mov ecx, dword [edi + 0x30]
push eax
push dword [ebp - 0x43c]
call dword [0x10155aa8]
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 0x1011d715
mov edi, dword [ebp - 0x42c]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0x424]
and eax, 0x200
mov dword [ebp - 0x444], eax
je 0x1011d7a0
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 0xb
push esi
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test eax, eax
je 0x1011d7a0
push 0xfffffffffffffff9
pop eax
mov dword [ebp - 0x430], eax
jmp 0x1011da22
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 1
push esi
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test dword [ebx + 0x158], 0x20000000
mov dword [ebp - 0x454], eax
je 0x1011d7ca
push 0xfffffffffffffff4
pop ecx
jmp 0x1011d7de
cmp byte [ebx + 0x34a], 0
je 0x1011d7db
mov ecx, dword [ebx + 0x34c]
jmp 0x1011d7de
xor ecx, ecx
inc ecx
mov dword [ebp - 0x430], ecx
test eax, eax
jne 0x1011da03
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x1011da03
test ecx, ecx
jle 0x1011da03
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 [0x10155aa8]
call esi
test al, al
je 0x1011d9fd
lea eax, [ebp - 0x218]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_wcsrchr
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1011d851
lea eax, [ebp - 0x218]
mov dword [ebp - 0x44c], eax
jmp 0x1011d85a
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 0x1011d87d
add eax, 2
mov dword [ebp - 0x434], eax
mov ecx, dword [0x107d4510]
xor edx, edx
add ecx, 0x28
mov dword [ebp - 0x42c], edx
mov eax, dword [ecx]
cmp dword [eax + 0x24], edx
jle 0x1011d9e6
cmp dword [ebp - 0x454], 0
jne 0x1011d9e6
mov eax, dword [ecx]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x424], eax
je 0x1011d9a0
test dword [eax + 4], 0x800
je 0x1011d9a0
cmp byte [eax + 4], 1
jne 0x1011d9a0
push dword [ebp - 0x434]
push dword [ebp - 0x44c]
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test al, al
je 0x1011d9a0
mov eax, dword [edi]
push str.E3_FILESTREAM
push edi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x10155aa8]
call esi
test al, al
je 0x1011d928
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0xf0]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi]
push 0
push 0
push edi
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x10155aa8]
call esi
cmp dword [ebp - 0x444], 0
mov esi, dword [ebp - 0x450]
je 0x1011d966
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 0xb
push esi
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test eax, eax
jne 0x1011d792
mov eax, dword [ebp - 0x440]
push dword [eax + 8]
push ebx
push edi
push 1
push esi
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test dword [ebx + 0x158], 0x20000000
mov dword [ebp - 0x454], eax
jne 0x1011d9dd
cmp byte [ebx + 0x34a], 0
jne 0x1011d9d5
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x1011d9c3
mov ecx, dword [0x107d4510]
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 0x1011d899
jmp 0x1011d9e6
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x430], 1
jmp 0x1011d9ec
mov eax, dword [ebx + 0x34c]
jmp 0x1011d9e0
push 0xfffffffffffffff4
pop eax
mov dword [ebp - 0x430], eax
mov esi, dword [ebp - 0x424]
cmp byte [ebp - 0x425], 0
je 0x1011da03
mov dword [ebx + 0x1d0], esi
jmp 0x1011da03
mov esi, dword [ebp - 0x424]
and dword [ebx + 0x1cc], 0
cmp dword [ebx + 0x178], 0
jne 0x1011da22
push dword [esi + 0xc]
lea eax, [ebx + 0x174]
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov edi, dword [ebp - 0x438]
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, dword [edi]
push edi
mov ecx, dword [esi + 0xc]
call dword [0x10155aa8]
call dword [esi + 0xc]
test dword [ebp + 0x14], 0x100
je 0x1011db3e
mov ecx, dword [ebx + 0xd4]
and dword [ebp - 0x444], 0
cmp dword [ecx + 0x24], 0
jle 0x1011db3e
mov edi, dword [ebp - 0x444]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10155aa8]
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 [0x10155aa8]
call esi
test eax, eax
je 0x1011db28
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 [0x10155aa8]
call esi
test eax, eax
jns 0x1011db28
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x1011db0d
xor edx, edx
mov dword [ebp - 0x42c], edx
cmp dword [ecx + 0x24], edx
jle 0x1011db0d
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, eax
mov eax, dword [ebp - 0x434]
cmp dword [ecx + 0xc], eax
je 0x1011db28
cmp dword [ecx + 0x10], eax
je 0x1011db28
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebx + 0xf4]
inc edx
mov dword [ebp - 0x42c], edx
cmp edx, dword [ecx + 0x24]
jl 0x1011dad2
mov ecx, dword [ebp - 0x434]
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebx + 0xd4]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x1011da67
mov edi, dword [ebp - 0x438]
test byte [ebp + 0x14], 0x80
je 0x1011dbe2
mov ecx, dword [ebx + 0xd4]
and dword [ebp - 0x444], 0
cmp dword [ecx + 0x24], 0
jle 0x1011dbe2
mov edi, dword [ebp - 0x444]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10155aa8]
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 [0x10155aa8]
call esi
test eax, eax
je 0x1011dbd0
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 [0x10155aa8]
call esi
test eax, eax
jns 0x1011dbd0
mov ecx, dword [ebp - 0x42c]
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebx + 0xd4]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x1011db65
mov edi, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x424]
cmp byte [ecx + 4], 0x88
jne 0x1011dbfc
mov eax, dword [ebx + 0xe0]
xor edx, edx
inc edx
cmp dword [eax + 0x24], edx
jg 0x1011dbfe
xor edx, edx
cmp dword [ebp - 0x448], 0
mov eax, dword [ebx + 0xd4]
jne 0x1011dc43
cmp dword [eax + 0x24], 0
jne 0x1011dc34
test edx, edx
jne 0x1011dc34
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [ebp - 0x458]
and dword [eax], 0
xor ebx, ebx
jmp 0x1011dcaa
cmp dword [ebx + 0x1d0], 0
jne 0x1011dc43
mov dword [ebx + 0x1d0], ecx
mov eax, dword [ebx + 0x16c]
mov ecx, ebx
push dword [eax + 8]
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test byte [ebp + 0x14], 4
jne 0x1011dcaa
cmp dword [ebp - 0x45c], 0
jne 0x1011dc96
mov esi, dword [edi]
push 0x37
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
pop ecx
mov ecx, dword [esi + 0x18]
push eax
push 0xffffffffffffffff
push edi
call dword [0x10155aa8]
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:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov eax, dword [ebx]
push edi
push ebx
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x1011dcc4
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi]
push 0x10159d5c
push 0xffffffffffffffff
push edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10155aa8]
call esi
add esp, 0xc
test ebx, ebx
je 0x1011dd8b
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:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov esi, dword [edi]
lea eax, [ebp - 0x210]
add esp, 0xc
mov ecx, dword [esi + 0x18]
push eax
push 0
push edi
call dword [0x10155aa8]
call dword [esi + 0x18]
mov eax, dword [ebx + 0x1d0]
add esp, 0xc
test eax, eax
je 0x1011dd57
xor ecx, ecx
cmp dword [eax + 0x60], ecx
je 0x1011dd57
push ecx
push ebx
push ecx
push 0xa
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test eax, eax
je 0x1011dd57
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 [0x10155aa8]
call esi
cmp dword [ebp - 0x448], 0
jne 0x1011dd70
mov eax, dword [ebx + 0x164]
mov ecx, ebx
push dword [eax + 0x1c]
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov ebx, dword [ebp - 0x430]
lea ecx, [ebp - 0x464]
call fcn.10001a60
mov eax, ebx
call fcn.10147dd6
ret 0x14
mov eax, dword [ebp - 0x440]
mov ecx, dword [eax + 8]
call fcn.100c21be
test al, al
jne 0x1011dd70
or ebx, 0xffffffff
jmp 0x1011dd76