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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x100032100]
xor rax, rsp
mov qword [rsp + 0xf8], rax
and qword [rsp + 0x50], 0
mov qword [rsp + 0x70], rdx
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x50]
mov r15, rcx
mov qword [rsp + 0x78], rcx
call fcn.100017100
test eax, eax
js 0x1000144be
mov ebp, dword [rsp + 0x34]
test ebp, ebp
je 0x1000144be
xor r13d, r13d
xor esi, esi
xor ebx, ebx
and qword [rsp + 0x40], r13
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x38], esi
test ebp, ebp
je 0x1000144b7
mov r14, qword [rsp + 0x50]
mov rax, qword [r14]
mov rdi, qword [r14 + 8]
mov r12d, dword [rax + 4]
mov eax, r12d
and eax, 0xf000000
cmp eax, 0x1000000
jne 0x100014497
cmp dword [rdi], 2
jne 0x100014497
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x40]
mov r8d, 1
mov edx, r12d
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.100019348
test eax, eax
jns 0x10001428f
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov r15, qword [rsp + 0x40]
mov dil, 1
mov ebx, eax
mov byte [rsp + 0x30], dil
jmp 0x100014460
xor edx, edx
lea rcx, [rsp + 0x88]
lea r8d, [rdx + 0x3c]
call sub.msvcrt.dll_memset
mov r15, qword [rsp + 0x40]
lea r8, [rsp + 0x9c]
lea rdx, [r15 + 0x14]
mov rcx, rdi
call fcn.100014524
xor edi, edi
mov ebx, eax
cmp eax, edi
jne 0x10001445b
mov eax, dword [r15]
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x58]
lea rdx, [0x10002e8c0]
mov r8d, 0x2001d
mov dword [rsp + 0x88], eax
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x31], dil
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x68], rdi
call fcn.100020c88
cmp eax, edi
mov esi, eax
jl 0x100014429
lea r9d, [rdi + 0x10]
lea r8d, [rdi + 0x16]
lea rdx, [rsp + 0xc8]
mov ecx, r12d
call fcn.1000299e8
cmp eax, edi
je 0x100014331
mov esi, 0xc0000001
jmp 0x100014429
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x31]
lea rdx, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov r9d, 1
mov r8d, 0x10002
mov qword [rsp + 0x20], rax
call fcn.1000209b4
cmp eax, edi
mov esi, eax
jl 0x100014406
lea rax, [rsp + 0x60]
xor r9d, r9d
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r8d, [r9 + 0x3c]
mov ecx, r12d
mov qword [rsp + 0x20], rax
call fcn.10001c280
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x68]
mov esi, eax
test eax, eax
js 0x1000143cf
mov eax, dword [rsp + 0x60]
lea rdx, [0x10002e8e0]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], r12
call fcn.10002179c
mov esi, eax
test r12, r12
je 0x100014400
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebp, dword [rsp + 0x34]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test esi, esi
jns 0x10001441c
jmp 0x10001440b
mov rdi, qword [rsp + 0x48]
cmp byte [rsp + 0x31], 0
je 0x10001441c
mov rcx, rdi
call fcn.100020bc8
xor edi, edi
test rdi, rdi
je 0x100014429
mov rcx, rdi
call fcn.10002094c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x100014438
call fcn.10002094c
test esi, esi
jns 0x100014454
mov ecx, esi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov esi, dword [rsp + 0x38]
mov dil, 1
mov ebx, eax
mov byte [rsp + 0x30], dil
jmp 0x100014460
mov esi, dword [rsp + 0x38]
inc r13d
mov dil, byte [rsp + 0x30]
test r15, r15
je 0x10001448d
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
and qword [rsp + 0x40], 0
mov ebp, dword [rsp + 0x34]
test dil, dil
jne 0x1000144c8
mov r15, qword [rsp + 0x78]
inc esi
add r14, 0x10
mov dword [rsp + 0x38], esi
cmp esi, ebp
jb 0x100014225
cmp r13d, 1
jb 0x1000144b3
xor ebx, ebx
jmp 0x1000144c8
test ebx, ebx
jne 0x1000144c8
mov ebx, 0x32
jmp 0x1000144c8
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ebx, eax
cmp qword [rsp + 0x50], 0
je 0x1000144ee
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1000296e0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret