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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rbx, rcx
mov edi, dword [rsp + 0xd0]
mov ebp, dword [rsp + 0xc8]
movzx r14d, byte [rdx + 0x24]
and r14d, 1
mov r15d, r14d
xor r15d, 1
mov rax, qword [rdx]
mov ecx, dword [rax]
mov rax, rcx
mov qword [rsp + 0x40], rcx
add ecx, r15d
add ecx, ebp
mov eax, dword [rdx + 8]
mov qword [rsp + 0x48], rax
test edi, edi
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x30], r9d
je 0x14006b53e
mov r12d, r9d
sub r12d, edi
jmp 0x14006b54a
mov eax, dword [rbx + 0x38]
lea r12d, [rax + 1]
add eax, ecx
mov dword [rbx + 0x38], eax
mov r9d, dword [rsp + 0xc0]
mov eax, dword [r8 + 0x14]
test eax, eax
mov qword [rsp + 0x50], r8
je 0x14006b563
inc eax
jmp 0x14006b567
mov eax, dword [r8 + 0x10]
mov dword [rsp + 0x34], eax
mov r13, qword [rbx + 0x10]
mov eax, dword [rbx + 0x44]
dec eax
mov dword [rbx + 0x44], eax
mov dword [rsi + 0x1c], eax
test r9d, r9d
setne al
shl al, 2
or al, 1
mov rdx, qword [rsi]
mov byte [rsp + 0x20], al
mov rcx, rbx
mov r8d, r12d
call fcn.140058ab2
test r14b, r14b
jne 0x14006b5be
mov rax, qword [rsp + 0x40]
lea r9d, [r12 + rax]
mov r8d, dword [rsi + 0xc]
mov dword [rsp + 0x20], 0
mov rcx, r13
mov edx, pe_nt_image_headers64
call fcn.1400571db
test ebp, ebp
jle 0x14006b5e9
test edi, edi
jne 0x14006b5e9
mov rax, qword [rsp + 0x40]
lea r9d, [r12 + rax]
add r9d, r15d
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x20], ebp
mov edx, reloc.WLDAP32.dll_Ordinal_77
mov r8d, dword [rsp + 0x30]
call fcn.1400571db
mov r9d, 0
cmp dword [rsp + 0x48], 0
mov r15d, dword [rsp + 0x3c]
jle 0x14006b833
mov dword [rsp + 0x20], r15d
mov rcx, rbx
mov rdx, rsi
mov r8, qword [rsp + 0x50]
mov r9d, r12d
call fcn.14006b9af
mov ecx, dword [rbx + 0x38]
lea edi, [rcx + 1]
add ecx, dword [rsi + 8]
mov dword [rsp + 0x30], eax
mov dword [rbx + 0x38], ecx
mov ebp, dword [rsi + 8]
test r14b, r14b
je 0x14006b645
mov r8d, dword [rsi + 0xc]
mov dword [rsp + 0x20], 0
mov rcx, r13
mov edx, 0x73
jmp 0x14006b65e
mov rax, qword [rsp + 0x40]
lea r8d, [r12 + rax]
mov dword [rsp + 0x20], 0
mov rcx, r13
mov edx, 0x14
xor r9d, r9d
call fcn.1400571db
mov dword [rsp + 0x38], eax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x20], eax
mov rcx, r13
mov edx, Ordinal_88
mov r8d, edi
mov r9d, r12d
call fcn.1400571db
mov eax, dword [rsi + 0x18]
test eax, eax
jns 0x14006b694
mov eax, dword [r13 + 0x90]
dec eax
mov r14d, edi
mov rcx, qword [r13]
cmp byte [rcx + 0x61], 0
je 0x14006b6aa
lea rdi, [0x140177e98]
jmp 0x14006b6bb
cdqe
lea rdi, [rax + rax*2]
shl rdi, 3
add rdi, qword [r13 + 0x88]
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x14006b99e
mov eax, r15d
sub eax, ebp
mov dword [rdi + 8], eax
mov rbp, qword [rdi + 0x10]
mov rcx, qword [rbp + 0x18]
movzx r8d, word [rbp + 6]
xor edx, edx
call fcn.1400ef1e0
mov rcx, r13
mov edx, 0xffffffff
mov r8, rbp
mov r9d, 0xfffffff7
call fcn.140059198
movzx eax, word [rbp + 8]
movzx r9d, word [rbp + 6]
not r9d
add r9d, eax
mov rdx, qword [rsi]
mov rcx, rbx
mov r8, qword [rsp + 0x48]
call fcn.140061441
mov qword [rdi + 0x10], rax
mov ebp, dword [r13 + 0x90]
lea r8d, [rbp + 1]
mov dword [rsp + 0x20], r8d
mov rcx, r13
mov edx, 0x11
xor r9d, r9d
call fcn.1400571db
mov eax, dword [rbx + 0x44]
dec eax
mov dword [rbx + 0x44], eax
mov dword [rsi + 0x14], eax
mov r8d, dword [rbx + 0x38]
inc r8d
mov dword [rbx + 0x38], r8d
mov dword [rsi + 0x10], r8d
mov r9d, dword [rsi + 0x14]
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, r13
mov edx, reloc.WLDAP32.dll_Ordinal_12
call fcn.1400571db
mov r8d, dword [rsi + 0xc]
mov dword [rsp + 0x20], edi
mov rcx, r13
mov edx, Ordinal_140
xor r9d, r9d
call fcn.1400571db
mov r8d, dword [rsp + 0x34]
test r8d, r8d
je 0x14006b7a9
mov r9d, dword [rsi + 0x1c]
mov dword [rsp + 0x20], 0
mov rcx, r13
mov edx, 0x14
call fcn.1400571db
mov eax, dword [r13 + 0x90]
mov rcx, qword [r13]
lea rdi, [0x140177e98]
cmp byte [rcx + 0x61], 0
mov rcx, rdi
jne 0x14006b7e2
lea ecx, [rax - 1]
mov edx, dword [rsp + 0x38]
test edx, edx
cmovns ecx, edx
movsxd rcx, ecx
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [r13 + 0x88]
mov dword [rcx + 8], eax
mov eax, dword [rsi + 8]
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x20], eax
mov edx, reloc.WLDAP32.dll_Ordinal_77
mov r8d, r12d
mov r9d, r14d
call fcn.1400571db
mov eax, dword [r13 + 0x90]
mov rcx, qword [r13]
cmp byte [rcx + 0x61], 0
jne 0x14006b82b
lea ecx, [rax - 1]
test ebp, ebp
cmovns ecx, ebp
movsxd rcx, ecx
lea rdi, [rcx + rcx*2]
shl rdi, 3
add rdi, qword [r13 + 0x88]
mov dword [rdi + 8], eax
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
test r8d, r8d
mov r14, qword [rsp + 0x48]
mov edi, 0
je 0x14006b8ef
mov r15d, r9d
mov ebp, dword [rsi + 0xc]
mov r9d, dword [r13 + 0x90]
add r9d, 4
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, r13
mov edx, 0x39
call fcn.1400571db
mov dword [rsp + 0x20], edi
mov rcx, r13
mov edx, Ordinal_36
mov r8d, ebp
xor r9d, r9d
call fcn.1400571db
lea eax, [r12 + r14]
mov dword [rsp + 0x20], eax
mov rcx, r13
mov edx, Ordinal_41
mov r8d, ebp
xor r9d, r9d
call fcn.1400571db
mov edi, eax
mov rax, qword [r13]
cmp byte [rax + 0x61], 0
jne 0x14006b8cc
mov rdx, qword [rsp + 0x40]
sub edx, r14d
mov rax, qword [r13 + 0x88]
movsxd rcx, edi
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], edx
mov dword [rsp + 0x20], 0
mov rcx, r13
mov edx, Ordinal_127
mov r8d, ebp
xor r9d, r9d
call fcn.1400571db
mov r9d, r15d
mov r15d, dword [rsp + 0x3c]
test r9d, r9d
jne 0x14006b90f
mov dword [rsp + 0x20], r15d
mov rcx, rbx
mov rdx, rsi
mov r8, qword [rsp + 0x50]
mov r9d, r12d
call fcn.14006b9af
mov r9d, eax
movzx eax, byte [rsi + 0x24]
and eax, 1
mov edx, Ordinal_133
sub edx, eax
add r12d, r14d
mov r8d, dword [rsi + 0xc]
mov dword [rsp + 0x20], r12d
mov rcx, r13
call fcn.1400571db
mov rcx, qword [r13]
cmp byte [rcx + 0x61], 0
jne 0x14006b955
sub r15d, r14d
mov rcx, qword [r13 + 0x88]
cdqe
lea rax, [rax + rax*2]
mov byte [rcx + rax*8 + 1], 0xfd
mov dword [rcx + rax*8 + 0x10], r15d
test edi, edi
je 0x14006b99e
mov edx, edi
mov eax, dword [rsi + 0x20]
test eax, eax
jne 0x14006b969
mov eax, dword [r13 + 0x90]
test edx, edx
jns 0x14006b976
mov edx, dword [r13 + 0x90]
dec edx
mov rcx, qword [r13]
cmp byte [rcx + 0x61], 0
je 0x14006b989
lea rcx, [0x140177e98]
jmp 0x14006b99b
movsxd rcx, edx
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [r13 + 0x88]
mov dword [rcx + 8], eax
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret