Function at 0x100ff422
Capabilities:
Authenticate hmac
Log keystrokes via polling

Disassembly:
push 0x464
mov eax, 0x1012fb9b
call fcn.10123c77
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x440], ebx
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x438], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x448], edi
mov dword [ebp - 0x444], esi
test eax, eax
je 0x100ff47c
and dword [eax + 0xa0], 0
mov eax, dword [ecx]
test eax, eax
je 0x100ff487
xor ecx, ecx
mov word [eax], cx
test esi, esi
je 0x100ff495
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xc8]
mov eax, dword [ebp + 0x14]
and eax, 0x10
mov dword [ebp - 0x44c], eax
jne 0x100ff4b7
test esi, esi
je 0x100ff4b7
mov eax, dword [esi]
push 0x101323ac
push 0
push esi
call dword [eax + 0x18]
add esp, 0xc
mov eax, dword [ebx]
push ebx
call dword [eax + 0x2c]
test byte [ebp + 0x14], 1
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
jne 0x100ff4d3
test ecx, ecx
jne 0x100ff50f
mov eax, dword [ebp - 0x464]
and dword [ebp - 0x470], 0
and eax, 0xfffffffb
and dword [ebp - 0x46c], 0
or eax, 0x1b
and eax, 0xffffffef
mov dword [ebp - 0x468], ecx
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x470]
push eax
push ebx
call sym.rt3d.dll_class_FILETYPE____stdcall_e3GetFileFormat_class_e3_STREAM___struct_FTINFO__
mov dword [ebp - 0x424], eax
call sub.KERNEL32.dll_GetTickCount
push 0
push dword [ebp - 0x430]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x28]
lea ecx, [ebp - 0x460]
call fcn.100e325a
and dword [ebp - 4], 0
test edi, edi
jne 0x100ff627
mov eax, dword [ebp - 0x434]
push eax
call sym.rt3d.dll_public:_static_class_e3_SCENE____stdcall_e3_SCENE::Create_void__
cmp dword [ebp - 0x44c], 0
mov edi, eax
mov eax, dword [ebp - 0x450]
mov dword [eax], edi
je 0x100ff565
or dword [edi + 0x158], 0x10
test byte [ebp + 0x14], 0x20
je 0x100ff575
or dword [edi + 0x158], 0x100000
mov ecx, dword [ebp - 0x434]
mov eax, dword [ecx]
mov dword [edi + 0x1cc], eax
cmp dword [ecx + 4], 0
je 0x100ff599
mov eax, dword [edi]
push 0xd
push dword [ecx + 4]
push 0x12f
push edi
call dword [eax + 0x18]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x30]
mov dword [edi + 0x1a8], eax
lea eax, [edi + 0x1b0]
mov ecx, dword [ebx]
push eax
push ebx
call dword [ecx + 0xec]
mov eax, dword [ebx]
lea ecx, [ebp - 0x420]
push 0
push 0x104
push ecx
push ebx
call dword [eax + 0x88]
test al, al
je 0x100ff5e9
lea eax, [ebp - 0x420]
push eax
lea eax, [edi + 0x104]
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_STRING::Set_unsigned_short_int_const__
test byte [ebp + 0x14], 2
je 0x100ff617
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
movzx eax, ax
test ax, ax
sets cl
shl ecx, 0xb
xor ecx, dword [edi + 0x158]
and ecx, 0x800
xor dword [edi + 0x158], ecx
test byte [ebp + 0x14], 8
je 0x100ff627
or dword [edi + 0x158], 0x800
mov esi, dword [esi]
push 0x36
call fcn.100e2dca
push eax
push 0xffffffffffffffff
push dword [ebp - 0x444]
call dword [esi + 0x18]
add esp, 0x10
mov byte [ebp - 0x425], 0
cmp dword [edi + 0x1d0], 0
jne 0x100ff662
mov eax, dword [ebp - 0x424]
mov dword [edi + 0x1d0], eax
mov byte [ebp - 0x425], 1
test dword [ebp + 0x14], 0x180
je 0x100ff6c7
push 0x10
push 0x20
call sym.rt3d.dll_public:_static_class_e3_COLLECTION____stdcall_e3_COLLECTION::Create_int__int_
mov ecx, dword [edi + 0xd4]
and dword [ebp - 0x430], 0
mov dword [ebp - 0x438], eax
cmp dword [ecx + 0x24], 0
jle 0x100ff6c7
mov ebx, dword [ebp - 0x430]
jmp 0x100ff69b
mov eax, dword [ebp - 0x438]
mov esi, dword [eax]
mov eax, dword [edi + 0xd4]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x438]
push eax
call dword [esi + 0x30]
mov eax, dword [edi + 0xd4]
inc ebx
cmp ebx, dword [eax + 0x24]
jl 0x100ff695
mov ebx, dword [ebp - 0x440]
mov eax, dword [ebp + 0x14]
and eax, 0x200
mov dword [ebp - 0x43c], eax
je 0x100ff701
mov eax, dword [ebp - 0x434]
push dword [eax + 8]
push edi
push ebx
push 0xb
push dword [ebp - 0x424]
call sym.rt3d.dll_public:_unsigned_int___stdcall_FILETYPE::Func3d_unsigned_int__class_e3_STREAM___class_e3_SCENE___class_e3_interface__
test eax, eax
je 0x100ff701
push 0xfffffffffffffff9
pop esi
mov dword [ebp - 0x42c], esi
jmp 0x100ff944
mov eax, dword [ebp - 0x434]
xor esi, esi
inc esi
push dword [eax + 8]
push edi
push ebx
push esi
push dword [ebp - 0x424]
call sym.rt3d.dll_public:_unsigned_int___stdcall_FILETYPE::Func3d_unsigned_int__class_e3_STREAM___class_e3_SCENE___class_e3_interface__
test dword [edi + 0x158], 0x20000000
mov dword [ebp - 0x440], eax
je 0x100ff732
push 0xfffffffffffffff4
pop esi
jmp 0x100ff741
cmp byte [edi + 0x34a], 0
je 0x100ff741
mov esi, dword [edi + 0x34c]
mov dword [ebp - 0x42c], esi
test eax, eax
jne 0x100ff91f
mov eax, dword [edi + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x100ff91f
test esi, esi
jle 0x100ff91f
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push 0
push 0x104
push ecx
push ebx
call dword [eax + 0x88]
test al, al
je 0x100ff91f
mov esi, dword [sym.imp.MSVCR120.dll_wcsrchr]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x100ff7a5
lea eax, [ebp - 0x218]
jmp 0x100ff7a8
add eax, 2
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x218]
push 0x2e
push eax
call esi
mov dword [ebp - 0x454], eax
pop ecx
pop ecx
test eax, eax
je 0x100ff7ce
add eax, 2
mov dword [ebp - 0x454], eax
mov ecx, dword [0x107ad68c]
xor edx, edx
add ecx, 0x28
mov dword [ebp - 0x430], edx
mov eax, dword [ecx]
cmp dword [eax + 0x24], edx
jle 0x100ff90a
cmp dword [ebp - 0x440], 0
jne 0x100ff90a
mov eax, dword [ecx]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esi, eax
cmp dword [ebp - 0x424], esi
je 0x100ff8b7
test dword [esi + 4], 0x800
je 0x100ff8b7
cmp byte [esi + 4], 1
jne 0x100ff8b7
push dword [ebp - 0x454]
push dword [ebp - 0x458]
push esi
call sym.rt3d.dll_public:_bool___stdcall_FILETYPE::IsFileOfThisType_unsigned_short_int_const___unsigned_short_int_const__
test al, al
je 0x100ff8b7
mov eax, dword [ebx]
push str.E3_FILESTREAM
push ebx
call dword [eax + 0x14]
test al, al
je 0x100ff853
mov eax, dword [ebx]
push ebx
call dword [eax + 0xf0]
mov eax, dword [ebx]
push 0
push 0
push ebx
call dword [eax + 0x28]
cmp dword [ebp - 0x43c], 0
je 0x100ff87d
mov eax, dword [ebp - 0x434]
push dword [eax + 8]
push edi
push ebx
push 0xb
push esi
call sym.rt3d.dll_public:_unsigned_int___stdcall_FILETYPE::Func3d_unsigned_int__class_e3_STREAM___class_e3_SCENE___class_e3_interface__
test eax, eax
jne 0x100ff8da
mov eax, dword [ebp - 0x434]
push dword [eax + 8]
push edi
push ebx
push 1
push esi
call sym.rt3d.dll_public:_unsigned_int___stdcall_FILETYPE::Func3d_unsigned_int__class_e3_STREAM___class_e3_SCENE___class_e3_interface__
test dword [edi + 0x158], 0x20000000
mov dword [ebp - 0x440], eax
jne 0x100ff901
cmp byte [edi + 0x34a], 0
jne 0x100ff8f9
mov eax, dword [edi + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x100ff8e5
mov ecx, dword [0x107ad68c]
mov edx, dword [ebp - 0x430]
add ecx, 0x28
inc edx
mov dword [ebp - 0x430], edx
mov eax, dword [ecx]
cmp edx, dword [eax + 0x24]
jl 0x100ff7ea
jmp 0x100ff90a
push 0xfffffffffffffff9
pop eax
mov dword [ebp - 0x42c], eax
jmp 0x100ff944
mov eax, esi
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x424], eax
jmp 0x100ff910
mov eax, dword [edi + 0x34c]
jmp 0x100ff904
push 0xfffffffffffffff4
pop eax
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x424]
cmp byte [ebp - 0x425], 0
je 0x100ff91f
mov dword [edi + 0x1d0], eax
and dword [edi + 0x1cc], 0
cmp dword [edi + 0x178], 0
jne 0x100ff944
mov eax, dword [ebp - 0x424]
push dword [eax + 0xc]
lea eax, [edi + 0x174]
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_STRING::Set_unsigned_short_int_const__
mov ebx, dword [ebp - 0x444]
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
test dword [ebp + 0x14], 0x100
je 0x100ffa16
mov eax, dword [edi + 0xd4]
and dword [ebp - 0x43c], 0
cmp dword [eax + 0x24], 0
jle 0x100ffa16
mov ebx, dword [ebp - 0x43c]
mov eax, dword [edi + 0xd4]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esi, eax
push 4
push esi
mov ecx, dword [esi]
call dword [ecx + 0xf0]
test eax, eax
je 0x100ffa00
mov eax, dword [ebp - 0x438]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x100ffa00
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x100ff9f5
xor edx, edx
mov dword [ebp - 0x430], edx
cmp dword [eax + 0x24], edx
jle 0x100ff9f5
mov eax, dword [edi + 0xf4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
cmp dword [eax + 0xc], esi
je 0x100ffa00
cmp dword [eax + 0x10], esi
je 0x100ffa00
mov edx, dword [ebp - 0x430]
mov eax, dword [edi + 0xf4]
inc edx
mov dword [ebp - 0x430], edx
cmp edx, dword [eax + 0x24]
jl 0x100ff9c6
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0xc8]
mov eax, dword [edi + 0xd4]
inc ebx
cmp ebx, dword [eax + 0x24]
jl 0x100ff980
mov ebx, dword [ebp - 0x444]
test byte [ebp + 0x14], 0x80
je 0x100ffa81
mov eax, dword [edi + 0xd4]
and dword [ebp - 0x43c], 0
cmp dword [eax + 0x24], 0
jle 0x100ffa81
mov ebx, dword [ebp - 0x43c]
mov eax, dword [edi + 0xd4]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esi, eax
push 3
push esi
mov ecx, dword [esi]
call dword [ecx + 0xf0]
test eax, eax
je 0x100ffa6f
mov eax, dword [ebp - 0x438]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x100ffa6f
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0xc8]
mov eax, dword [edi + 0xd4]
inc ebx
cmp ebx, dword [eax + 0x24]
jl 0x100ffa35
mov ebx, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x424]
cmp byte [ecx + 4], 0x88
jne 0x100ffa9b
mov eax, dword [edi + 0xe0]
xor edx, edx
inc edx
cmp dword [eax + 0x24], edx
jg 0x100ffa9d
xor edx, edx
mov eax, dword [edi + 0xd4]
mov esi, dword [ebp - 0x448]
cmp dword [eax + 0x24], 0
jne 0x100ffac9
test esi, esi
jne 0x100ffadc
test edx, edx
jne 0x100ffacd
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x450]
and dword [eax], esi
xor edi, edi
jmp 0x100ffb31
test esi, esi
jne 0x100ffadc
cmp dword [edi + 0x1d0], 0
jne 0x100ffadc
mov dword [edi + 0x1d0], ecx
mov eax, dword [edi + 0x16c]
mov ecx, edi
push dword [eax + 8]
call fcn.100b378f
test byte [ebp + 0x14], 4
jne 0x100ffb31
cmp dword [ebp - 0x44c], 0
jne 0x100ffb27
mov esi, dword [ebx]
push 0x37
call fcn.100e2dca
push eax
push 0xffffffffffffffff
push ebx
call dword [esi + 0x18]
mov esi, dword [ebp - 0x448]
add esp, 0x10
xor eax, eax
test esi, esi
setne al
push eax
push edi
push 0x100e
call fcn.100d4c3f
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0x1c8]
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x100ffb41
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebx]
push 0x101323ac
push 0xffffffffffffffff
push ebx
call dword [eax + 0x18]
add esp, 0xc
test edi, edi
je 0x100ffbe7
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x45c]
push eax
lea eax, [ebp - 0x210]
push 0x38
push eax
call fcn.100e2d8e
mov eax, dword [ebx]
lea ecx, [ebp - 0x210]
push ecx
push 0
push ebx
call dword [eax + 0x18]
mov eax, dword [edi + 0x1d0]
add esp, 0x18
test eax, eax
je 0x100ffbb4
xor ecx, ecx
cmp dword [eax + 0x60], ecx
je 0x100ffbb4
push ecx
push edi
push ecx
push 0xa
push eax
call sym.rt3d.dll_public:_unsigned_int___stdcall_FILETYPE::Func3d_unsigned_int__class_e3_STREAM___class_e3_SCENE___class_e3_interface__
test eax, eax
je 0x100ffbb4
mov eax, dword [edi + 0x1d0]
mov eax, dword [eax + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test esi, esi
jne 0x100ffbc8
mov eax, dword [edi + 0x164]
mov ecx, edi
push dword [eax + 0x1c]
call fcn.100b163b
mov ebx, dword [ebp - 0x42c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.10077aa2
mov eax, ebx
call fcn.10123c26
ret 0x14
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax + 8]
call fcn.100addd6
test al, al
jne 0x100ffbc8
or ebx, 0xffffffff
jmp 0x100ffbce