Function at 0x1401045e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x14014d470]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x34], 0
cmp qword [rsp + 0x90], 0
jne 0x140104626
mov eax, 0xffffff9a
jmp 0x140104ae9
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x5c], 0
jne 0x140104648
mov eax, 0xffffff9a
jmp 0x140104ae9
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0xc0], 0
je 0x140104664
mov rcx, qword [rsp + 0x90]
call fcn.140104b10
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0x20]
call fcn.140106670
test eax, eax
je 0x14010468b
mov eax, 0xffffff99
jmp 0x140104ae9
mov ecx, 0xe0
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1401046ad
mov eax, 0xffffff98
jmp 0x140104ae9
mov ecx, 0x4000
call qword [sym.imp.MSVCR120.dll_malloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x68], ecx
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x6c], ecx
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x70], 0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0xd8], ecx
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x14010471e
cmp qword [rsp + 0x28], 0
je 0x140104714
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_free]
mov eax, 0xffffff98
jmp 0x140104ae9
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x64], 0
cmp qword [rsp + 0x98], 0
je 0x140104747
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x78]
mov dword [rax], ecx
cmp qword [rsp + 0xa0], 0
je 0x1401047b4
mov rax, qword [rsp + 0xa0]
mov dword [rax], 6
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x74]
and eax, 6
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
je 0x1401047a6
cmp dword [rsp + 0x38], 4
je 0x140104796
cmp dword [rsp + 0x38], 6
je 0x140104786
jmp 0x1401047b4
mov rax, qword [rsp + 0xa0]
mov dword [rax], 1
jmp 0x1401047b4
mov rax, qword [rsp + 0xa0]
mov dword [rax], 2
jmp 0x1401047b4
mov rax, qword [rsp + 0xa0]
mov dword [rax], 9
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x78], 0
je 0x1401047d2
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x78], 8
je 0x1401047d2
mov dword [rsp + 0x34], 0xffffff99
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x80]
mov dword [rax + 0x78], ecx
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x74], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x78]
mov dword [rax + 0xd0], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x40]
mov qword [rax + 0xc8], rcx
mov rax, qword [rsp + 0x28]
lea rdi, [rax + 0x88]
mov rsi, qword [rsp + 0x20]
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x50]
mov dword [rax + 0xd4], ecx
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x24], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x78], 8
jne 0x140104905
cmp dword [rsp + 0xa8], 0
jne 0x140104905
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x28]
add rax, 8
mov r9d, 0x58
lea r8, [0x14014d494]
mov edx, 0xfffffff1
mov rcx, rax
call fcn.14010d7b0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1401048e9
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x64], 1
jmp 0x140104905
cmp qword [rsp + 0x28], 0
je 0x1401048fc
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_free]
mov eax, dword [rsp + 0x34]
jmp 0x140104ae9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x84]
mov dword [rax + 0x7c], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x88]
mov dword [rax + 0x80], ecx
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xbc]
mov ecx, dword [rsp + 0x44]
lea eax, [rax + rcx + 0x1e]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0xc0], rcx
cmp qword [rsp + 0xb0], 0
je 0x140104ae7
call fcn.1401023c0
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0xd8], rax
mov rax, qword [rsp + 0x20]
add rax, 0xcc
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx + 0xd8]
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.1401059b0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xc0]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xc0]
mov eax, dword [rax + 0x60]
add eax, dword [rcx + 0xd4]
xor r9d, r9d
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x40]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x38]
mov rax, qword [rsp + 0x20]
call qword [rax + 0x20]
test eax, eax
je 0x1401049fc
mov eax, 0xffffff98
jmp 0x140104ae9
mov r9d, 0xc
lea r8, [rsp + 0x58]
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x40]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x38]
mov rax, qword [rsp + 0x20]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 0xc
jae 0x140104a30
mov eax, 0xffffff98
jmp 0x140104ae9
mov dword [rsp + 0x30], 0
jmp 0x140104a44
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc
jge 0x140104ab7
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x20]
add rcx, 0xcc
mov rdx, qword [rsp + 0x20]
mov rdx, qword [rdx + 0xd8]
call fcn.140105890
mov rcx, qword [rsp + 0x50]
movsx ecx, byte [rsp + rcx + 0x58]
xor ecx, eax
mov dword [rsp + 0x3c], ecx
movsxd rax, dword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3c]
mov byte [rsp + rax + 0x58], cl
movsx eax, byte [rsp + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, 0xcc
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0xd8]
call fcn.1401058e0
jmp 0x140104a3a
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xc0]
mov eax, dword [rax + 0x60]
add eax, 0xc
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xc0]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0xc8], 1
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140101630
add rsp, 0x78
pop rdi
pop rsi
ret