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

Disassembly:
push 0x464
mov eax, 0x1012f61c
call fcn.101236c7
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 0x100ff019
and dword [eax + 0xa0], 0
mov eax, dword [ecx]
test eax, eax
je 0x100ff024
xor ecx, ecx
mov word [eax], cx
test esi, esi
je 0x100ff032
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 0x100ff054
test esi, esi
je 0x100ff054
mov eax, dword [esi]
push 0x101313ac
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 0x100ff070
test ecx, ecx
jne 0x100ff0ac
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.100e2fae
and dword [ebp - 4], 0
test edi, edi
jne 0x100ff1c4
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 0x100ff102
or dword [edi + 0x158], 0x10
test byte [ebp + 0x14], 0x20
je 0x100ff112
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 0x100ff136
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 0x100ff186
lea eax, [ebp - 0x420]
push eax
lea eax, [edi + 0x104]
push eax
call fcn.100c622d
test byte [ebp + 0x14], 2
je 0x100ff1b4
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 0x100ff1c4
or dword [edi + 0x158], 0x800
mov esi, dword [esi]
push 0x36
call fcn.100c622d
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 0x100ff1ff
mov eax, dword [ebp - 0x424]
mov dword [edi + 0x1d0], eax
mov byte [ebp - 0x425], 1
test dword [ebp + 0x14], 0x180
je 0x100ff264
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 0x100ff264
mov ebx, dword [ebp - 0x430]
jmp 0x100ff238
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 0x100ff232
mov ebx, dword [ebp - 0x440]
mov eax, dword [ebp + 0x14]
and eax, 0x200
mov dword [ebp - 0x43c], eax
je 0x100ff29e
mov eax, dword [ebp - 0x434]
push dword [eax + 8]
push edi
push ebx
push 0xb
push dword [ebp - 0x424]
call fcn.100c622d
test eax, eax
je 0x100ff29e
push 0xfffffffffffffff9
pop esi
mov dword [ebp - 0x42c], esi
jmp 0x100ff4e1
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 fcn.100c622d
test dword [edi + 0x158], 0x20000000
mov dword [ebp - 0x440], eax
je 0x100ff2cf
push 0xfffffffffffffff4
pop esi
jmp 0x100ff2de
cmp byte [edi + 0x34a], 0
je 0x100ff2de
mov esi, dword [edi + 0x34c]
mov dword [ebp - 0x42c], esi
test eax, eax
jne 0x100ff4bc
mov eax, dword [edi + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x100ff4bc
test esi, esi
jle 0x100ff4bc
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push 0
push 0x104
push ecx
push ebx
call dword [eax + 0x88]
test al, al
je 0x100ff4bc
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 0x100ff342
lea eax, [ebp - 0x218]
jmp 0x100ff345
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 0x100ff36b
add eax, 2
mov dword [ebp - 0x454], eax
mov ecx, dword [0x107ac68c]
xor edx, edx
add ecx, 0x28
mov dword [ebp - 0x430], edx
mov eax, dword [ecx]
cmp dword [eax + 0x24], edx
jle 0x100ff4a7
cmp dword [ebp - 0x440], 0
jne 0x100ff4a7
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 0x100ff454
test dword [esi + 4], 0x800
je 0x100ff454
cmp byte [esi + 4], 1
jne 0x100ff454
push dword [ebp - 0x454]
push dword [ebp - 0x458]
push esi
call fcn.100c622d
test al, al
je 0x100ff454
mov eax, dword [ebx]
push str.E3_FILESTREAM
push ebx
call dword [eax + 0x14]
test al, al
je 0x100ff3f0
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 0x100ff41a
mov eax, dword [ebp - 0x434]
push dword [eax + 8]
push edi
push ebx
push 0xb
push esi
call fcn.100c622d
test eax, eax
jne 0x100ff477
mov eax, dword [ebp - 0x434]
push dword [eax + 8]
push edi
push ebx
push 1
push esi
call fcn.100c622d
test dword [edi + 0x158], 0x20000000
mov dword [ebp - 0x440], eax
jne 0x100ff49e
cmp byte [edi + 0x34a], 0
jne 0x100ff496
mov eax, dword [edi + 0xd4]
cmp dword [eax + 0x24], 0
jne 0x100ff482
mov ecx, dword [0x107ac68c]
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 0x100ff387
jmp 0x100ff4a7
push 0xfffffffffffffff9
pop eax
mov dword [ebp - 0x42c], eax
jmp 0x100ff4e1
mov eax, esi
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x424], eax
jmp 0x100ff4ad
mov eax, dword [edi + 0x34c]
jmp 0x100ff4a1
push 0xfffffffffffffff4
pop eax
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x424]
cmp byte [ebp - 0x425], 0
je 0x100ff4bc
mov dword [edi + 0x1d0], eax
and dword [edi + 0x1cc], 0
cmp dword [edi + 0x178], 0
jne 0x100ff4e1
mov eax, dword [ebp - 0x424]
push dword [eax + 0xc]
lea eax, [edi + 0x174]
push eax
call fcn.100c622d
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 0x100ff5b3
mov eax, dword [edi + 0xd4]
and dword [ebp - 0x43c], 0
cmp dword [eax + 0x24], 0
jle 0x100ff5b3
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 0x100ff59d
mov eax, dword [ebp - 0x438]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x100ff59d
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x100ff592
xor edx, edx
mov dword [ebp - 0x430], edx
cmp dword [eax + 0x24], edx
jle 0x100ff592
mov eax, dword [edi + 0xf4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
cmp dword [eax + 0xc], esi
je 0x100ff59d
cmp dword [eax + 0x10], esi
je 0x100ff59d
mov edx, dword [ebp - 0x430]
mov eax, dword [edi + 0xf4]
inc edx
mov dword [ebp - 0x430], edx
cmp edx, dword [eax + 0x24]
jl 0x100ff563
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 0x100ff51d
mov ebx, dword [ebp - 0x444]
test byte [ebp + 0x14], 0x80
je 0x100ff61e
mov eax, dword [edi + 0xd4]
and dword [ebp - 0x43c], 0
cmp dword [eax + 0x24], 0
jle 0x100ff61e
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 0x100ff60c
mov eax, dword [ebp - 0x438]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x100ff60c
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 0x100ff5d2
mov ebx, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x424]
cmp byte [ecx + 4], 0x88
jne 0x100ff638
mov eax, dword [edi + 0xe0]
xor edx, edx
inc edx
cmp dword [eax + 0x24], edx
jg 0x100ff63a
xor edx, edx
mov eax, dword [edi + 0xd4]
mov esi, dword [ebp - 0x448]
cmp dword [eax + 0x24], 0
jne 0x100ff666
test esi, esi
jne 0x100ff679
test edx, edx
jne 0x100ff66a
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x450]
and dword [eax], esi
xor edi, edi
jmp 0x100ff6ce
test esi, esi
jne 0x100ff679
cmp dword [edi + 0x1d0], 0
jne 0x100ff679
mov dword [edi + 0x1d0], ecx
mov eax, dword [edi + 0x16c]
mov ecx, edi
push dword [eax + 8]
call fcn.100c622d
test byte [ebp + 0x14], 4
jne 0x100ff6ce
cmp dword [ebp - 0x44c], 0
jne 0x100ff6c4
mov esi, dword [ebx]
push 0x37
call fcn.100c622d
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.100c622d
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0x1c8]
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x100ff6de
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebx]
push 0x101313ac
push 0xffffffffffffffff
push ebx
call dword [eax + 0x18]
add esp, 0xc
test edi, edi
je 0x100ff784
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x45c]
push eax
lea eax, [ebp - 0x210]
push 0x38
push eax
call fcn.100c622d
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 0x100ff751
xor ecx, ecx
cmp dword [eax + 0x60], ecx
je 0x100ff751
push ecx
push edi
push ecx
push 0xa
push eax
call fcn.100c622d
test eax, eax
je 0x100ff751
mov eax, dword [edi + 0x1d0]
mov eax, dword [eax + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test esi, esi
jne 0x100ff765
mov eax, dword [edi + 0x164]
mov ecx, edi
push dword [eax + 0x1c]
call fcn.100c622d
mov ebx, dword [ebp - 0x42c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.100772b7
mov eax, ebx
call fcn.10123676
ret 0x14
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax + 8]
call fcn.100ada3d
test al, al
jne 0x100ff765
or ebx, 0xffffffff
jmp 0x100ff76b