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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov dword [rsp + 0x30], 0xffffffff
xor eax, eax
mov word [rsp + 0x34], ax
mov dword [rsp + 0x38], 0
cmp qword [rsp + 0x70], 0
jne 0x14007c41d
mov eax, 0xffffff9a
jmp 0x14007cbbf
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x70], 0
jne 0x14007c43c
mov eax, 0xffffff9a
jmp 0x14007cbbf
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x80], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xf8], 8
jne 0x14007c51c
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xfc], 0
jne 0x14007c51c
cmp dword [rsp + 0x38], 0
jne 0x14007c51a
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x90], 0
jne 0x14007c4c5
mov rcx, qword [rsp + 0x20]
call fcn.14007f3c0
cmp eax, 0xffffffff
jne 0x14007c49f
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x90], 0x10000
mov rax, qword [rsp + 0x20]
add rax, 0x100
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x88], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x94]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x20]
add rax, 0x78
mov edx, 4
mov rcx, rax
call fcn.140085220
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov rcx, qword [rsp + 0x20]
add eax, dword [rcx + 0xd4]
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xd4], eax
jmp 0x14007c46f
jmp 0x14007c52f
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xf8], 0xc
jne 0x14007c52f
mov rax, qword [rsp + 0x20]
cmp dword [rsp + 0x38], 1
jne 0x14007c53e
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xd4], 0
jbe 0x14007c56a
cmp dword [rsp + 0x38], 0
jne 0x14007c56a
mov rcx, qword [rsp + 0x20]
call fcn.14007f3c0
cmp eax, 0xffffffff
jne 0x14007c56a
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xf8], 8
jne 0x14007c5b9
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xfc], 0
jne 0x14007c5b9
mov rax, qword [rsp + 0x20]
add rax, 0x78
mov rcx, rax
call fcn.140085cb0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x38], 0
jne 0x14007c5aa
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0xd0], 0
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xfc], 0
jne 0x14007c5ea
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10104]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10120]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10118]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x10140]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jae 0x14007c642
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jae 0x14007c642
mov rax, qword [rsp + 0x20]
mov ecx, 0xffffffff
cmp qword [rax + 0xd8], rcx
jb 0x14007c688
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 4
mov r8d, 2
mov edx, reloc.WLDAP32.dll_Ordinal_45
mov rcx, rax
call fcn.14007d800
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 6
mov r8d, 2
mov edx, reloc.WLDAP32.dll_Ordinal_45
mov rcx, rax
call fcn.14007d800
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x10
mov r8d, 4
mov edx, eax
call fcn.14007d800
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jb 0x14007c6db
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x14
mov r8d, 4
mov edx, eax
call fcn.14007d800
jmp 0x14007c6fe
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 0x14
mov r8d, 4
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.14007d800
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xc0], 1
jne 0x14007c72f
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 0x24
mov r8d, 2
mov edx, 1
mov rcx, rax
call fcn.14007d800
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jb 0x14007c75e
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x18
mov r8d, 4
mov edx, eax
call fcn.14007d800
jmp 0x14007c781
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xe0]
add rax, 0x18
mov r8d, 4
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call fcn.14007d800
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jb 0x14007c79a
movsx eax, word [rsp + 0x34]
add eax, 8
mov word [rsp + 0x34], ax
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jb 0x14007c7b3
movsx eax, word [rsp + 0x34]
add eax, 8
mov word [rsp + 0x34], ax
mov rax, qword [rsp + 0x20]
mov ecx, 0xffffffff
cmp qword [rax + 0xd8], rcx
jb 0x14007c7d3
movsx eax, word [rsp + 0x34]
add eax, 8
mov word [rsp + 0x34], ax
movsx eax, word [rsp + 0x34]
test eax, eax
jle 0x14007c991
mov qword [rsp + 0x48], 0
movsx eax, word [rsp + 0x34]
add eax, 4
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx + 0xf0]
jbe 0x14007c808
mov eax, 0xffffff99
jmp 0x14007cbbf
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xec]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0xe0]
mov qword [rsp + 0x48], rax
mov r8d, 2
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.14007d800
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
movsx rax, word [rsp + 0x34]
mov r8d, 2
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.14007d800
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jb 0x14007c89d
mov r8d, 8
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.14007d800
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
mov eax, 0xffffffff
cmp qword [rsp + 0x28], rax
jb 0x14007c8cc
mov r8d, 8
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.14007d800
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov ecx, 0xffffffff
cmp qword [rax + 0xd8], rcx
jb 0x14007c909
mov r8d, 8
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0xd8]
mov rcx, qword [rsp + 0x48]
call fcn.14007d800
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
movsx eax, word [rsp + 0x34]
add eax, 4
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xf0]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xf0], eax
movsx eax, word [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xec]
lea eax, [rax + rcx + 4]
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xec], eax
movsx eax, word [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xe8]
lea eax, [rax + rcx + 4]
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xe8], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xe8]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0xe0]
add rcx, 0x1e
mov r8d, 2
mov edx, eax
call fcn.14007d800
cmp dword [rsp + 0x38], 0
jne 0x14007c9c5
mov rax, qword [rsp + 0x20]
add rax, 0x60
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0xec]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0xe0]
mov rcx, rax
call fcn.14007d530
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xe0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rsp + 0x38], 0
jne 0x14007cb94
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.140083e00
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0xd8]
add rax, 0xe
mov rcx, qword [rsp + 0x20]
xor r9d, r9d
mov r8, rax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x58]
call fcn.140083d60
test eax, eax
je 0x14007ca32
mov dword [rsp + 0x38], 0xffffffff
cmp dword [rsp + 0x38], 0
jne 0x14007ca60
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
mov r9d, 4
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x58]
call fcn.14007d6e0
mov dword [rsp + 0x38], eax
mov eax, 0xffffffff
cmp qword [rsp + 0x78], rax
jb 0x14007cb12
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x10110], 0
jbe 0x14007cb10
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10110]
add rax, 4
mov rcx, qword [rsp + 0x20]
xor r9d, r9d
mov r8, rax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x58]
call fcn.140083d60
test eax, eax
je 0x14007cab8
mov dword [rsp + 0x38], 0xffffffff
cmp dword [rsp + 0x38], 0
jne 0x14007cae4
mov rax, qword [rsp + 0x20]
mov r9d, 8
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.14007d6e0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14007cb10
mov rax, qword [rsp + 0x20]
mov r9d, 8
mov r8, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.14007d6e0
mov dword [rsp + 0x38], eax
jmp 0x14007cb6a
cmp dword [rsp + 0x38], 0
jne 0x14007cb3e
mov rax, qword [rsp + 0x20]
mov r9d, 4
mov r8, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.14007d6e0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14007cb6a
mov rax, qword [rsp + 0x20]
mov r9d, 4
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.14007d6e0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x58]
mov rcx, rax
call fcn.140083d60
test eax, eax
je 0x14007cb94
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10158]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10158], rax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x70], 0
mov eax, dword [rsp + 0x38]
add rsp, 0x60
pop rdi
ret