Function at 0x10118d40
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x468
mov eax, 0x10150017
call fcn.1014377c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
and dword [ebp - 0x440], 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 - 0x438], edx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x43c], ecx
test eax, eax
je 0x10118d99
and dword [eax + 0xa0], 0
mov eax, dword [edx]
test eax, eax
je 0x10118da4
xor edx, edx
mov word [eax], dx
test ecx, ecx
je 0x10118dc2
mov eax, dword [edi]
push ecx
push edi
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [ebp - 0x43c]
mov eax, dword [ebp + 0x14]
and eax, 0x10
mov dword [ebp - 0x45c], eax
jne 0x10118dee
test ecx, ecx
je 0x10118dee
mov eax, dword [ecx]
push 0x1015631c
push 0
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151b24]
call esi
add esp, 0xc
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151b24]
call esi
test byte [ebp + 0x14], 1
mov esi, eax
mov eax, dword [ebp - 0x424]
jne 0x10118e10
test eax, eax
jne 0x10118e49
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 [0x10151b24]
call esi
lea ecx, [ebp - 0x464]
call fcn.10074d07
and dword [ebp - 4], 0
test ebx, ebx
jne 0x10118f9a
mov eax, dword [ebp - 0x438]
push eax
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 0x10118ea4
or dword [ebx + 0x158], 0x10
test byte [ebp + 0x14], 0x20
je 0x10118eb4
or dword [ebx + 0x158], 0x100000
mov ecx, dword [ebp - 0x438]
mov eax, dword [ecx]
mov dword [ebx + 0x1cc], eax
cmp dword [ecx + 4], 0
je 0x10118ee1
mov esi, dword [ebx]
push 0xd
push dword [ecx + 4]
mov ecx, dword [esi + 0x18]
push 0x12f
push ebx
call dword [0x10151b24]
call dword [esi + 0x18]
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x10151b24]
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 [0x10151b24]
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 [0x10151b24]
call esi
test al, al
je 0x10118f59
lea eax, [ebp - 0x420]
push eax
lea eax, [ebx + 0x104]
push eax
call fcn.10055677
test byte [ebp + 0x14], 2
je 0x10118f89
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov edx, 0x800
test ax, ax
mov eax, dword [ebx + 0x158]
cmovs ecx, edx
and eax, 0xfffff7ff
or eax, ecx
mov dword [ebx + 0x158], eax
jmp 0x10118f8e
mov edx, 0x800
test byte [ebp + 0x14], 8
je 0x10118f9a
or dword [ebx + 0x158], edx
mov esi, dword [ebp - 0x43c]
push 0x36
mov esi, dword [esi]
call fcn.10055677
pop ecx
mov ecx, dword [esi + 0x18]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x43c]
call dword [0x10151b24]
call dword [esi + 0x18]
add esp, 0xc
mov byte [ebp - 0x425], 0
cmp dword [ebx + 0x1d0], 0
jne 0x10118fe5
mov eax, dword [ebp - 0x424]
mov dword [ebx + 0x1d0], eax
mov byte [ebp - 0x425], 1
test dword [ebp + 0x14], 0x180
je 0x10119062
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 - 0x440], eax
mov dword [ebp - 0x434], edx
cmp dword [ecx + 0x24], edx
jle 0x10119062
jmp 0x10119018
mov eax, dword [ebp - 0x440]
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 [0x10151b24]
call esi
mov ecx, dword [edi + 0x30]
push eax
push dword [ebp - 0x440]
call dword [0x10151b24]
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 0x10119012
mov edi, dword [ebp - 0x42c]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0x424]
and eax, 0x200
mov dword [ebp - 0x444], eax
je 0x1011909d
mov eax, dword [ebp - 0x438]
push dword [eax + 8]
push ebx
push edi
push 0xb
push esi
call fcn.10055677
test eax, eax
je 0x1011909d
push 0xfffffffffffffff9
pop eax
mov dword [ebp - 0x430], eax
jmp 0x1011931f
mov eax, dword [ebp - 0x438]
push dword [eax + 8]
push ebx
push edi
push 1
push esi
call fcn.10055677
test dword [ebx + 0x158], 0x20000000
mov dword [ebp - 0x454], eax
je 0x101190c7
push 0xfffffffffffffff4
pop ecx
jmp 0x101190db
cmp byte [ebx + 0x34a], 0
je 0x101190d8
mov ecx, dword [ebx + 0x34c]
jmp 0x101190db
xor ecx, ecx
inc ecx
mov dword [ebp - 0x430], ecx
test eax, eax
jne 0x10119300
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x10119300
test ecx, ecx
jle 0x10119300
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 [0x10151b24]
call esi
test al, al
je 0x101192fa
lea eax, [ebp - 0x218]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_wcsrchr
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1011914e
lea eax, [ebp - 0x218]
mov dword [ebp - 0x44c], eax
jmp 0x10119157
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 0x1011917a
add eax, 2
mov dword [ebp - 0x434], eax
mov ecx, dword [0x107d1580]
xor edx, edx
add ecx, 0x28
mov dword [ebp - 0x42c], edx
mov eax, dword [ecx]
cmp dword [eax + 0x24], edx
jle 0x101192e3
cmp dword [ebp - 0x454], 0
jne 0x101192e3
mov eax, dword [ecx]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x424], eax
je 0x1011929d
test dword [eax + 4], 0x800
je 0x1011929d
cmp byte [eax + 4], 1
jne 0x1011929d
push dword [ebp - 0x434]
push dword [ebp - 0x44c]
push eax
call fcn.10055677
test al, al
je 0x1011929d
mov eax, dword [edi]
push str.E3_FILESTREAM
push edi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x10151b24]
call esi
test al, al
je 0x10119225
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0xf0]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
push 0
push 0
push edi
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x10151b24]
call esi
cmp dword [ebp - 0x444], 0
mov esi, dword [ebp - 0x450]
je 0x10119263
mov eax, dword [ebp - 0x438]
push dword [eax + 8]
push ebx
push edi
push 0xb
push esi
call fcn.10055677
test eax, eax
jne 0x1011908f
mov eax, dword [ebp - 0x438]
push dword [eax + 8]
push ebx
push edi
push 1
push esi
call fcn.10055677
test dword [ebx + 0x158], 0x20000000
mov dword [ebp - 0x454], eax
jne 0x101192da
cmp byte [ebx + 0x34a], 0
jne 0x101192d2
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x101192c0
mov ecx, dword [0x107d1580]
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 0x10119196
jmp 0x101192e3
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x430], 1
jmp 0x101192e9
mov eax, dword [ebx + 0x34c]
jmp 0x101192dd
push 0xfffffffffffffff4
pop eax
mov dword [ebp - 0x430], eax
mov esi, dword [ebp - 0x424]
cmp byte [ebp - 0x425], 0
je 0x10119300
mov dword [ebx + 0x1d0], esi
jmp 0x10119300
mov esi, dword [ebp - 0x424]
and dword [ebx + 0x1cc], 0
cmp dword [ebx + 0x178], 0
jne 0x1011931f
push dword [esi + 0xc]
lea eax, [ebx + 0x174]
push eax
call fcn.10055677
mov edi, dword [ebp - 0x43c]
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, dword [edi]
push edi
mov ecx, dword [esi + 0xc]
call dword [0x10151b24]
call dword [esi + 0xc]
test dword [ebp + 0x14], 0x100
je 0x1011943b
mov ecx, dword [ebx + 0xd4]
and dword [ebp - 0x444], 0
cmp dword [ecx + 0x24], 0
jle 0x1011943b
mov edi, dword [ebp - 0x444]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151b24]
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 [0x10151b24]
call esi
test eax, eax
je 0x10119425
mov ecx, dword [ebp - 0x440]
push dword [ebp - 0x434]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151b24]
call esi
test eax, eax
jns 0x10119425
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x1011940a
xor edx, edx
mov dword [ebp - 0x42c], edx
cmp dword [ecx + 0x24], edx
jle 0x1011940a
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, eax
mov eax, dword [ebp - 0x434]
cmp dword [ecx + 0xc], eax
je 0x10119425
cmp dword [ecx + 0x10], eax
je 0x10119425
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebx + 0xf4]
inc edx
mov dword [ebp - 0x42c], edx
cmp edx, dword [ecx + 0x24]
jl 0x101193cf
mov ecx, dword [ebp - 0x434]
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [ebx + 0xd4]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x10119364
mov edi, dword [ebp - 0x43c]
test byte [ebp + 0x14], 0x80
je 0x101194df
mov ecx, dword [ebx + 0xd4]
and dword [ebp - 0x444], 0
cmp dword [ecx + 0x24], 0
jle 0x101194df
mov edi, dword [ebp - 0x444]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151b24]
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 [0x10151b24]
call esi
test eax, eax
je 0x101194cd
mov ecx, dword [ebp - 0x440]
push dword [ebp - 0x42c]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151b24]
call esi
test eax, eax
jns 0x101194cd
mov ecx, dword [ebp - 0x42c]
push 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [ebx + 0xd4]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x10119462
mov edi, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x424]
cmp byte [ecx + 4], 0x88
jne 0x101194f9
mov eax, dword [ebx + 0xe0]
xor edx, edx
inc edx
cmp dword [eax + 0x24], edx
jg 0x101194fb
xor edx, edx
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x10119531
cmp dword [ebp - 0x448], 0
jne 0x10119549
test edx, edx
jne 0x1011953a
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [ebp - 0x458]
and dword [eax], 0
xor ebx, ebx
jmp 0x101195b0
cmp dword [ebp - 0x448], 0
jne 0x10119549
cmp dword [ebx + 0x1d0], 0
jne 0x10119549
mov dword [ebx + 0x1d0], ecx
mov eax, dword [ebx + 0x16c]
mov ecx, ebx
push dword [eax + 8]
call fcn.10055677
test byte [ebp + 0x14], 4
jne 0x101195b0
cmp dword [ebp - 0x45c], 0
jne 0x1011959c
mov esi, dword [edi]
push 0x37
call fcn.10055677
pop ecx
mov ecx, dword [esi + 0x18]
push eax
push 0xffffffffffffffff
push edi
call dword [0x10151b24]
call dword [esi + 0x18]
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x448], eax
setne al
push eax
push ebx
push 0x100e
call fcn.10055677
mov eax, dword [ebx]
push edi
push ebx
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x101195ca
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151b24]
call esi
mov eax, dword [edi]
push 0x1015631c
push 0xffffffffffffffff
push edi
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151b24]
call esi
add esp, 0xc
test ebx, ebx
je 0x10119691
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push 0x38
push eax
call fcn.10055677
mov esi, dword [edi]
lea eax, [ebp - 0x210]
add esp, 0xc
mov ecx, dword [esi + 0x18]
push eax
push 0
push edi
call dword [0x10151b24]
call dword [esi + 0x18]
mov eax, dword [ebx + 0x1d0]
add esp, 0xc
test eax, eax
je 0x1011965d
xor ecx, ecx
cmp dword [eax + 0x60], ecx
je 0x1011965d
push ecx
push ebx
push ecx
push 0xa
push eax
call fcn.10055677
test eax, eax
je 0x1011965d
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 [0x10151b24]
call esi
cmp dword [ebp - 0x448], 0
jne 0x10119676
mov eax, dword [ebx + 0x164]
mov ecx, ebx
push dword [eax + 0x1c]
call fcn.10055677
mov ebx, dword [ebp - 0x430]
lea ecx, [ebp - 0x464]
call fcn.10001a60
mov eax, ebx
call fcn.10143726
ret 0x14
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax + 8]
call fcn.100bd51e
test al, al
jne 0x10119676
or ebx, 0xffffffff
jmp 0x1011967c