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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rcx]
mov r12d, edx
mov rbp, qword [rcx + 8]
mov edx, 2
and dword [rsp + 0x80], 0
mov r14d, r8d
and dword [rsp + 0x30], 0
mov rdi, rcx
mov rsi, qword [rcx + 0x10]
mov al, byte [rbp + 0x20]
dec dword [rbx + 0x44]
mov r13d, dword [rbx + 0x44]
mov byte [rsp + 0x88], al
mov dword [rsp + 0x34], r13d
cmp r12d, edx
jne 0x14007c0e7
cmp byte [rbp + 0x21], 0x5a
jne 0x14007c0e7
xor eax, eax
jmp 0x14007c46d
mov r15d, 1
lea r9d, [r15 + 0x38]
test r14d, r14d
jle 0x14007c170
cmp byte [rbp + 0x20], 0x59
jne 0x14007c15b
mov ecx, dword [rsi + 0x90]
mov dword [rsp + 0x30], ecx
cmp r12d, edx
jne 0x14007c139
mov r10b, Ordinal_88
cmp byte [rbp + 0x21], r10b
jne 0x14007c11a
mov r8d, dword [rdi + 0x30]
jmp 0x14007c11e
mov r8d, dword [rdi + 0x28]
mov eax, Ordinal_41
mov edx, 0x37
cmovne edx, r9d
lea r9d, [rax + 8]
cmovne eax, r9d
mov ecx, dword [rax + rdi]
jmp 0x14007c145
mov r8d, dword [rdi + 0x38]
mov edx, reloc.WLDAP32.dll_Ordinal_54
mov ecx, dword [rdi + 0x30]
mov dword [rsp + 0x28], r13d
mov r9d, r14d
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.14007bde0
jmp 0x14007c170
mov r9d, r13d
mov dword [rsp + 0x20], r15d
mov edx, 0x2f
mov rcx, rsi
call fcn.1400321c0
cmp r12d, r15d
jne 0x14007c188
cmp dword [rbp + 0x84], 0
jne 0x14007c188
xor edx, edx
mov rcx, rdi
call fcn.14007b480
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x38], eax
mov al, byte [rbp + 0x22]
cmp byte [rbp + 0x21], al
jne 0x14007c2af
test r14d, r14d
je 0x14007c2af
cmp byte [rbp + 0x20], 0x59
jne 0x14007c2af
mov eax, 2
cmp r12d, eax
jne 0x14007c2af
mov al, byte [rbx + 0x1f]
test al, al
jne 0x14007c1d0
add dword [rbx + 0x38], r15d
mov r14d, dword [rbx + 0x38]
jmp 0x14007c1e5
sub al, r15b
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xbc]
test al, al
jne 0x14007c1ef
add dword [rbx + 0x38], r15d
mov r15d, dword [rbx + 0x38]
jmp 0x14007c200
sub al, r15b
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xbc]
mov r8d, dword [rdi + 0x28]
mov r9d, r14d
and dword [rsp + 0x20], 0
mov edx, 0x80
mov rcx, rsi
call fcn.1400321c0
mov r8d, dword [rdi + 0x38]
mov r9d, r15d
and dword [rsp + 0x20], 0
mov edx, 0x80
mov rcx, rsi
call fcn.1400321c0
mov r9d, r13d
mov dword [rsp + 0x20], r14d
mov r8d, r15d
mov edx, 0x39
mov rcx, rsi
call fcn.1400321c0
test r14d, r14d
je 0x14007c264
cmp byte [rbx + 0x1f], 8
jae 0x14007c264
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xbc], r14d
inc byte [rbx + 0x1f]
test r15d, r15d
je 0x14007c27e
cmp byte [rbx + 0x1f], 8
jae 0x14007c27e
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xbc], r15d
inc byte [rbx + 0x1f]
mov r8d, dword [rbp + 0x84]
mov r9d, 1
mov r15d, dword [rdi + 0x28]
mov r13d, dword [rdi + 0x2c]
test r8d, r8d
jne 0x14007c2da
mov eax, dword [rdi + 0x20]
mov r8d, r15d
mov rdx, rbp
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.14007b030
jmp 0x14007c303
mov ecx, r12d
sub ecx, r15d
je 0x14007c2f3
cmp ecx, r15d
je 0x14007c27e
cmp dword [rbp + 0x84], 0
mov r15d, dword [rdi + 0x38]
mov r13d, dword [rdi + 0x3c]
je 0x14007c2ee
mov r8d, dword [rbp + 0x88]
mov r9d, 1
and dword [rsp + 0x20], 0
mov edx, 0x53
mov rcx, rsi
call fcn.1400321c0
jmp 0x14007c303
xor r9d, r9d
jmp 0x14007c298
mov r15d, dword [rdi + 0x30]
mov rcx, rdi
mov r13d, dword [rdi + 0x34]
call fcn.14007b970
cmp r12d, dword [rdi + 0x24]
jne 0x14007c33d
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r15d
mov rcx, rsi
lea edx, [r9 + 0x7b]
call fcn.1400321c0
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x14007c33d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
cmp dword [rsp + 0x98], 0
mov r12d, reloc.Cabinet.dll_FCIAddFile
mov eax, dword [rsi + 0x90]
mov r8d, r15d
mov rcx, rsi
lea edx, [r12 - 6]
je 0x14007c39c
and dword [rsp + 0x20], 0
lea r9d, [rax + 2]
call fcn.1400321c0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.1400321c0
cmp byte [rsp + 0x88], 0x4c
mov r12d, eax
mov dword [rsp + 0x80], eax
je 0x14007c43f
jmp 0x14007c3dd
xor r9d, r9d
cmp byte [rsp + 0x88], 0x4c
setne r9b
and dword [rsp + 0x20], 0
inc r9d
add r9d, eax
call fcn.1400321c0
cmp byte [rsp + 0x88], 0x4c
je 0x14007c437
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, dword [rsp + 0x34]
mov edx, r12d
mov rcx, rsi
call fcn.1400321c0
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x14007c3fe
mov r14d, dword [r14]
test r14d, r14d
je 0x14007c3fe
mov edx, r14d
mov rcx, rbx
call fcn.1400489dc
mov r12d, eax
jmp 0x14007c401
xor r12d, r12d
mov r8d, r12d
mov edx, r15d
mov rcx, rdi
call fcn.14007afa0
mov eax, dword [rsp + 0x38]
mov r9d, r13d
mov rdx, qword [rbp + 0x18]
mov r8d, r12d
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.14007bd10
mov r8d, r14d
mov edx, r12d
mov rcx, rbx
call fcn.140048a30
mov r12d, dword [rsp + 0x80]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14007c45e
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, eax
mov rcx, rsi
lea edx, [r8 + 0xb]
call fcn.1400321c0
mov edx, dword [rsp + 0x34]
mov rcx, rsi
call fcn.1400325b4
mov eax, r12d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret