Function at 0x14007b988
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 r15, qword [rcx + 8]
mov r12d, edx
mov rdi, qword [rcx]
mov ebp, r8d
and dword [rsp + 0x80], 0
mov rbx, rcx
mov rsi, qword [rcx + 0x10]
mov al, byte [r15 + 0x20]
lea r14, [r15 + 0x21]
mov r13d, dword [rdi + 0x44]
dec r13d
mov byte [rsp + 0x88], al
xor eax, eax
mov dword [rsp + 0x34], r13d
mov dword [rdi + 0x44], r13d
mov dword [rsp + 0x30], eax
lea edx, [rax + 2]
cmp r12d, edx
jne 0x14007b9f4
cmp byte [r14], 0x5a
je 0x14007bd71
mov ecx, 0x39
test ebp, ebp
jle 0x14007ba77
cmp byte [r15 + 0x20], 0x59
jne 0x14007ba5f
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x30], eax
cmp r12d, edx
jne 0x14007ba3d
mov r9b, Ordinal_88
cmp byte [r14], r9b
jne 0x14007ba21
mov r8d, dword [rbx + 0x30]
jmp 0x14007ba25
mov r8d, dword [rbx + 0x28]
mov eax, Ordinal_41
mov edx, 0x37
cmovne edx, ecx
lea ecx, [rax + 8]
cmovne eax, ecx
mov ecx, dword [rax + rbx]
jmp 0x14007ba49
mov r8d, dword [rbx + 0x38]
mov edx, reloc.WLDAP32.dll_Ordinal_54
mov ecx, dword [rbx + 0x30]
mov dword [rsp + 0x28], r13d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.14007b6e4
jmp 0x14007ba77
mov r9d, r13d
mov dword [rsp + 0x20], 1
mov edx, 0x2f
mov rcx, rsi
call fcn.140031b40
cmp r12d, 1
jne 0x14007ba91
cmp dword [r15 + 0x84], 0
jne 0x14007ba91
xor edx, edx
mov rcx, rbx
call fcn.14007ad7c
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x38], eax
mov al, byte [r15 + 0x22]
cmp byte [r14], al
jne 0x14007bbb0
test ebp, ebp
je 0x14007bbb0
cmp byte [r15 + 0x20], 0x59
jne 0x14007bbb0
mov eax, 2
cmp r12d, eax
jne 0x14007bbb0
mov al, byte [rdi + 0x1f]
lea rcx, [rdi + 0x38]
test al, al
jne 0x14007badc
mov ebp, dword [rcx]
inc ebp
mov dword [rcx], ebp
jmp 0x14007baed
sub al, 1
movzx edx, al
mov byte [rdi + 0x1f], dl
mov ebp, dword [rdi + rdx*4 + 0xbc]
jne 0x14007baf4
inc dword [rcx]
mov r14d, dword [rcx]
jmp 0x14007bb04
dec dl
movzx eax, dl
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xbc]
mov r8d, dword [rbx + 0x28]
mov r9d, ebp
and dword [rsp + 0x20], 0
mov edx, 0x80
mov rcx, rsi
call fcn.140031b40
mov r8d, dword [rbx + 0x38]
mov r9d, r14d
and dword [rsp + 0x20], 0
mov edx, 0x80
mov rcx, rsi
call fcn.140031b40
mov r9d, r13d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
mov edx, 0x39
mov rcx, rsi
call fcn.140031b40
test ebp, ebp
je 0x14007bb65
cmp byte [rdi + 0x1f], 8
jae 0x14007bb65
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ebp
inc byte [rdi + 0x1f]
test r14d, r14d
je 0x14007bb7f
cmp byte [rdi + 0x1f], 8
jae 0x14007bb7f
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r14d
inc byte [rdi + 0x1f]
mov r8d, dword [r15 + 0x84]
mov r9d, 1
mov r14d, dword [rbx + 0x28]
mov r13d, dword [rbx + 0x2c]
test r8d, r8d
jne 0x14007bbdc
mov eax, dword [rbx + 0x20]
mov r8d, r14d
mov rdx, r15
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.14007a92c
jmp 0x14007bc05
mov ecx, r12d
sub ecx, 1
je 0x14007bbf5
cmp ecx, 1
je 0x14007bb7f
cmp dword [r15 + 0x84], 0
mov r14d, dword [rbx + 0x38]
mov r13d, dword [rbx + 0x3c]
je 0x14007bbf0
mov r8d, dword [r15 + 0x88]
mov r9d, 1
and dword [rsp + 0x20], 0
mov edx, 0x53
mov rcx, rsi
call fcn.140031b40
jmp 0x14007bc05
xor r9d, r9d
jmp 0x14007bb99
mov r14d, dword [rbx + 0x30]
mov rcx, rbx
mov r13d, dword [rbx + 0x34]
call fcn.14007b270
cmp r12d, dword [rbx + 0x24]
jne 0x14007bc42
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r14d
mov rcx, rsi
lea edx, [r9 + 0x7b]
call fcn.140031b40
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x14007bc42
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rsp + 0x98], 0
mov r12d, reloc.Cabinet.dll_FCIAddFile
mov eax, dword [rsi + 0x90]
mov r8d, r14d
mov rcx, rsi
lea edx, [r12 - 6]
je 0x14007bca1
and dword [rsp + 0x20], 0
lea r9d, [rax + 2]
call fcn.140031b40
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.140031b40
cmp byte [rsp + 0x88], 0x4c
mov r12d, eax
mov dword [rsp + 0x80], eax
je 0x14007bd43
jmp 0x14007bce2
xor r9d, r9d
cmp byte [rsp + 0x88], 0x4c
setne r9b
and dword [rsp + 0x20], 0
inc r9d
add r9d, eax
call fcn.140031b40
cmp byte [rsp + 0x88], 0x4c
je 0x14007bd3b
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, dword [rsp + 0x34]
mov edx, r12d
mov rcx, rsi
call fcn.140031b40
mov rax, qword [r15 + 0x18]
test rax, rax
je 0x14007bd00
mov ebp, dword [rax]
test ebp, ebp
je 0x14007bd02
mov edx, ebp
mov rcx, rdi
call fcn.140048820
mov r12d, eax
jmp 0x14007bd05
xor ebp, ebp
xor r12d, r12d
mov r8d, r12d
mov edx, r14d
mov rcx, rbx
call fcn.14007a89c
mov eax, dword [rsp + 0x38]
mov r9d, r13d
mov rdx, qword [r15 + 0x18]
mov r8d, r12d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14007b610
mov r8d, ebp
mov edx, r12d
mov rcx, rdi
call fcn.140048874
mov r12d, dword [rsp + 0x80]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14007bd62
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, eax
mov rcx, rsi
lea edx, [r8 + 0xb]
call fcn.140031b40
mov edx, dword [rsp + 0x34]
mov rcx, rsi
call fcn.140031f34
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