Function at 0x100f5e91
Capabilities:
Authenticate hmac
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push 0x464
mov eax, 0x1011f096
call fcn.101134c8
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
and dword [ebp - 0x438], 0
mov ecx, dword [ebx + 8]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x454], eax
mov eax, dword [eax]
mov dword [ebp - 0x444], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x434], ecx
test eax, eax
je 0x100f5ee6
and dword [eax + 0xa0], 0
mov eax, dword [ebx]
test eax, eax
je 0x100f5ef1
xor edx, edx
mov word [eax], dx
test ecx, ecx
je 0x100f5eff
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0xc8]
mov eax, dword [ebp + 0x14]
and eax, 0x10
mov dword [ebp - 0x450], eax
jne 0x100f5f2c
cmp dword [ebp - 0x434], 0
je 0x100f5f2c
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
push 0x1012227c
push 0
push eax
call dword [ecx + 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
test byte [ebp + 0x14], 1
mov dword [ebp - 0x440], eax
jne 0x100f5f53
cmp dword [ebp - 0x424], 0
jne 0x100f5f95
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x470], 0
and dword [ebp - 0x46c], 0
and eax, 0xfffffffb
or eax, 0x1b
and eax, 0xffffffef
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x470]
push eax
push edi
mov dword [ebp - 0x468], ecx
call sym.rt3d.dll_class_FILETYPE____stdcall_e3GetFileFormat_class_e3_STREAM___struct_FTINFO__
mov dword [ebp - 0x430], eax
call sub.kernel32.dll_GetTickCount
push 0
push dword [ebp - 0x440]
mov dword [ebp - 0x45c], eax
mov eax, dword [edi]
push edi
call dword [eax + 0x28]
lea ecx, [ebp - 0x458]
call fcn.100d6342
and dword [ebp - 4], 0
test esi, esi
jne 0x100f60a0
push ebx
call sym.rt3d.dll_public:_static_class_e3_SCENE____stdcall_e3_SCENE::Create_void__
cmp dword [ebp - 0x450], 0
mov esi, eax
mov eax, dword [ebp - 0x454]
mov dword [eax], esi
je 0x100f5fe5
or dword [esi + 0x158], 0x10
test byte [ebp + 0x14], 0x20
je 0x100f5ff5
or dword [esi + 0x158], 0x100000
mov eax, dword [ebx]
mov dword [esi + 0x1cc], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x100f6012
mov eax, dword [esi]
push 0xd
push ebx
push 0x12f
push esi
call dword [eax + 0x18]
mov eax, dword [edi]
push edi
call dword [eax + 0x30]
mov eax, dword [edi]
push edi
call dword [eax + 0x30]
lea ecx, [esi + 0x1b0]
push ecx
mov dword [esi + 0x1a8], eax
mov eax, dword [edi]
push edi
call dword [eax + 0xec]
mov eax, dword [edi]
push 0
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push edi
call dword [eax + 0x88]
test al, al
je 0x100f6062
lea eax, [ebp - 0x420]
push eax
lea eax, [esi + 0x104]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test byte [ebp + 0x14], 2
je 0x100f6090
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
movzx ecx, ax
test cx, cx
sets dl
shl edx, 0xb
xor edx, dword [esi + 0x158]
and edx, 0x800
xor dword [esi + 0x158], edx
test byte [ebp + 0x14], 8
je 0x100f60a0
or dword [esi + 0x158], 0x800
mov eax, dword [ebp - 0x434]
mov ebx, dword [eax]
push 0x36
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push eax
push 0xffffffffffffffff
push dword [ebp - 0x434]
call dword [ebx + 0x18]
add esp, 0x10
cmp dword [esi + 0x1d0], 0
mov byte [ebp - 0x429], 0
jne 0x100f60e1
mov eax, dword [ebp - 0x430]
mov dword [esi + 0x1d0], eax
mov byte [ebp - 0x429], 1
test dword [ebp + 0x14], 0x180
je 0x100f6147
push 0x10
push 0x20
call sym.rt3d.dll_public:_static_class_e3_COLLECTION____stdcall_e3_COLLECTION::Create_int__int_
and dword [ebp - 0x428], 0
mov dword [ebp - 0x438], eax
mov eax, dword [esi + 0xd4]
cmp dword [eax + 0x24], 0
jle 0x100f6147
mov eax, dword [ebp - 0x438]
mov ebx, dword [eax]
mov eax, dword [esi + 0xd4]
push dword [ebp - 0x428]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
push dword [ebp - 0x438]
call dword [ebx + 0x30]
inc dword [ebp - 0x428]
mov eax, dword [esi + 0xd4]
mov ecx, dword [ebp - 0x428]
cmp ecx, dword [eax + 0x24]
jl 0x100f610c
mov eax, dword [ebp + 0x14]
and eax, 0x200
mov dword [ebp - 0x460], eax
je 0x100f6182
mov eax, dword [ebp - 0x43c]
push dword [eax + 8]
push esi
push edi
push 0xb
push dword [ebp - 0x430]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test eax, eax
je 0x100f6182
mov dword [ebp - 0x428], 0xfffffff9
jmp 0x100f63d9
mov eax, dword [ebp - 0x43c]
push dword [eax + 8]
xor ebx, ebx
push esi
push edi
inc ebx
push ebx
push dword [ebp - 0x430]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test dword [esi + 0x158], 0x20000000
mov dword [ebp - 0x440], eax
je 0x100f61ba
mov dword [ebp - 0x428], 0xfffffff4
jmp 0x100f61d7
cmp byte [esi + 0x34a], 0
je 0x100f61d1
mov ecx, dword [esi + 0x34c]
mov dword [ebp - 0x428], ecx
jmp 0x100f61d7
mov dword [ebp - 0x428], ebx
xor ecx, ecx
cmp eax, ecx
jne 0x100f63b4
mov eax, dword [esi + 0xd4]
cmp dword [eax + 0x24], ecx
jne 0x100f63b4
cmp dword [ebp - 0x428], ecx
jle 0x100f63b4
mov eax, dword [edi]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
call dword [eax + 0x88]
test al, al
je 0x100f63b4
mov ebx, dword [sym.imp.MSVCR100.dll_wcsrchr]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100f6239
lea eax, [ebp - 0x218]
jmp 0x100f623c
add eax, 2
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x218]
push 0x2e
push eax
call ebx
pop ecx
pop ecx
mov dword [ebp - 0x448], eax
test eax, eax
je 0x100f6260
add dword [ebp - 0x448], 2
mov eax, dword [0x1079d9f0]
and dword [ebp - 0x424], 0
add eax, 0x28
mov ecx, dword [eax]
cmp dword [ecx + 0x24], 0
jle 0x100f639f
cmp dword [ebp - 0x440], 0
jne 0x100f639f
mov eax, dword [eax]
push dword [ebp - 0x424]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ebx, eax
cmp dword [ebp - 0x430], ebx
je 0x100f6354
mov eax, dword [ebx + 4]
test eax, 0x800
je 0x100f6354
cmp al, 1
jne 0x100f6354
push dword [ebp - 0x448]
push dword [ebp - 0x44c]
push ebx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
je 0x100f6354
mov eax, dword [edi]
push 0x10131ee8
push edi
call dword [eax + 0x14]
test al, al
je 0x100f62ec
mov eax, dword [edi]
push edi
call dword [eax + 0xf0]
mov eax, dword [edi]
push 0
push 0
push edi
call dword [eax + 0x28]
cmp dword [ebp - 0x460], 0
je 0x100f631a
mov eax, dword [ebp - 0x43c]
push dword [eax + 8]
push esi
push edi
push 0xb
push ebx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test eax, eax
jne 0x100f6173
mov eax, dword [ebp - 0x43c]
push dword [eax + 8]
push esi
push edi
push 1
push ebx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test dword [esi + 0x158], 0x20000000
mov dword [ebp - 0x440], eax
jne 0x100f6375
cmp byte [esi + 0x34a], 0
jne 0x100f6381
mov eax, dword [esi + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x100f638f
mov eax, dword [0x1079d9f0]
inc dword [ebp - 0x424]
mov edx, dword [ebp - 0x424]
add eax, 0x28
mov ecx, dword [eax]
cmp edx, dword [ecx + 0x24]
jl 0x100f627b
jmp 0x100f639f
mov dword [ebp - 0x428], 0xfffffff4
jmp 0x100f639f
mov eax, dword [esi + 0x34c]
mov dword [ebp - 0x428], eax
jmp 0x100f639f
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x428], 1
cmp byte [ebp - 0x429], 0
je 0x100f63b4
mov eax, dword [ebp - 0x430]
mov dword [esi + 0x1d0], eax
and dword [esi + 0x1cc], 0
cmp dword [esi + 0x178], 0
jne 0x100f63d9
mov eax, dword [ebp - 0x430]
push dword [eax + 0xc]
lea eax, [esi + 0x174]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov ebx, dword [ebp - 0x434]
mov eax, dword [ebx]
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call dword [eax + 0xc]
test dword [ebp + 0x14], 0x100
je 0x100f64a3
mov eax, dword [esi + 0xd4]
and dword [ebp - 0x424], 0
cmp dword [eax + 0x24], 0
jle 0x100f64a3
mov eax, dword [esi + 0xd4]
push dword [ebp - 0x424]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [edi]
push 4
push edi
call dword [eax + 0xf0]
test eax, eax
je 0x100f6482
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
test eax, eax
jns 0x100f6482
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x100f6477
xor ebx, ebx
cmp dword [eax + 0x24], ebx
jle 0x100f6477
mov eax, dword [esi + 0xf4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x10]
cmp dword [eax + 0xc], edi
je 0x100f6482
cmp dword [eax + 0x10], edi
je 0x100f6482
mov eax, dword [esi + 0xf4]
inc ebx
cmp ebx, dword [eax + 0x24]
jl 0x100f6454
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0xc8]
inc dword [ebp - 0x424]
mov eax, dword [esi + 0xd4]
mov ecx, dword [ebp - 0x424]
cmp ecx, dword [eax + 0x24]
jl 0x100f640f
mov ebx, dword [ebp - 0x434]
test byte [ebp + 0x14], 0x80
je 0x100f6512
mov eax, dword [esi + 0xd4]
and dword [ebp - 0x424], 0
cmp dword [eax + 0x24], 0
jle 0x100f6512
mov eax, dword [esi + 0xd4]
push dword [ebp - 0x424]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [edi]
push 3
push edi
call dword [eax + 0xf0]
test eax, eax
je 0x100f64fb
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
test eax, eax
jns 0x100f64fb
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0xc8]
inc dword [ebp - 0x424]
mov eax, dword [esi + 0xd4]
mov ecx, dword [ebp - 0x424]
cmp ecx, dword [eax + 0x24]
jl 0x100f64bc
mov ecx, dword [ebp - 0x430]
cmp byte [ecx + 4], 0x88
jne 0x100f6530
mov edx, dword [esi + 0xe0]
xor eax, eax
inc eax
cmp dword [edx + 0x24], eax
jle 0x100f6530
xor edi, edi
jmp 0x100f6534
xor edi, edi
xor eax, eax
mov edx, dword [esi + 0xd4]
cmp dword [edx + 0x24], edi
jne 0x100f655d
cmp dword [ebp - 0x444], edi
jne 0x100f6573
cmp eax, edi
jne 0x100f6565
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x454]
mov dword [eax], edi
xor esi, esi
jmp 0x100f65c7
cmp dword [ebp - 0x444], edi
jne 0x100f6573
cmp dword [esi + 0x1d0], edi
jne 0x100f6573
mov dword [esi + 0x1d0], ecx
mov eax, dword [esi + 0x16c]
push dword [eax + 8]
mov ecx, esi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test byte [ebp + 0x14], 4
jne 0x100f65c7
cmp dword [ebp - 0x450], edi
jne 0x100f65bd
mov edi, dword [ebx]
push 0x37
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push eax
push 0xffffffffffffffff
push ebx
call dword [edi + 0x18]
add esp, 0x10
xor eax, eax
cmp dword [ebp - 0x444], eax
setne al
push eax
push esi
push 0x100e
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
xor edi, edi
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x1c8]
mov eax, dword [ebp - 0x438]
cmp eax, edi
je 0x100f65d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push 0x1012227c
push 0xffffffffffffffff
push ebx
call dword [eax + 0x18]
add esp, 0xc
cmp esi, edi
je 0x100f667e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x45c]
push eax
lea eax, [ebp - 0x210]
push 0x38
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebx]
lea ecx, [ebp - 0x210]
push ecx
push edi
push ebx
call dword [eax + 0x18]
mov eax, dword [esi + 0x1d0]
add esp, 0x18
cmp eax, edi
je 0x100f6647
cmp dword [eax + 0x60], edi
je 0x100f6647
push edi
push esi
push edi
push 0xa
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test eax, eax
je 0x100f6647
mov eax, dword [esi + 0x1d0]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x444], edi
jne 0x100f665f
mov eax, dword [esi + 0x164]
push dword [eax + 0x1c]
mov ecx, esi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov esi, dword [ebp - 0x428]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.1006d00b
mov eax, esi
call fcn.1011354b
ret 0x14
mov eax, dword [ebp - 0x43c]
mov ecx, dword [eax + 8]
call fcn.10099853
test al, al
jne 0x100f665f
or esi, 0xffffffff
jmp 0x100f6665