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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
mov esi, dword [r8 + 0x1c]
mov rcx, rbx
mov r13d, r9d
mov r15, r8
mov dword [rsp + 0x38], esi
call fcn.180020a8c
and dword [rsp + 0x3c], 0
mov rcx, qword [r15]
mov r9d, dword [r15 + 0x14]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xb0], rcx
movzx ebp, byte [rax]
mov edx, dword [rax + 4]
mov dword [rsp + 0x4c], ebp
mov dword [rsp + 0x50], edx
test r9d, r9d
je 0x18003bc0c
mov r8d, dword [r15 + 0x10]
mov edx, 0xe
and dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.180020968
and dword [rsp + 0x20], 0
xor r8d, r8d
mov r9d, esi
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.180020968
mov r8, qword [rbx + 0x30]
mov rdx, qword [r8 + 0x88]
test rdx, rdx
je 0x18003bbf3
mov eax, dword [r15 + 0x14]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rcx, qword [rsp + 0xb0]
dec eax
mov dword [r8 + 0x6c], eax
mov rax, qword [rsp + 0xd0]
mov r14d, dword [r15 + 0xc]
mov dword [rsp + 0x30], r14d
cmp ebp, 9
je 0x18003bc5f
cmp ebp, 0xd
je 0x18003bc5f
mov al, byte [rdi + 0x1f]
test al, al
jne 0x18003bc2f
inc dword [rdi + 0x58]
mov r12d, dword [rdi + 0x58]
jmp 0x18003bc3c
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0x28]
mov al, byte [rdi + 0x1f]
test al, al
jne 0x18003bc4b
inc dword [rdi + 0x58]
mov esi, dword [rdi + 0x58]
jmp 0x18003bc57
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0x28]
mov r13d, 1
jmp 0x18003bc65
mov esi, dword [rax + 8]
xor r12d, r12d
mov ebp, dword [rcx]
sub ebp, dword [r15 + 8]
test byte [r15 + 0x20], 1
mov dword [rsp + 0xb0], esi
mov dword [rsp + 0x48], ebp
je 0x18003bd83
mov esi, dword [rdi + 0x54]
inc dword [rdi + 0x58]
cmp dword [r15 + 0x14], 0
mov eax, dword [rdi + 0x58]
mov dword [rsp + 0x40], eax
lea eax, [rsi + 1]
mov dword [rdi + 0x54], eax
mov dword [rsp + 0x44], esi
je 0x18003bcd3
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x18003bcb0
mov rcx, rdi
call fcn.18003c7d0
mov r8d, dword [rdi + 0x60]
xor r9d, r9d
and dword [rsp + 0x20], 0
lea ecx, [r8 + 1]
mov dword [rdi + 0x60], ecx
lea edx, [r9 + 0x14]
mov rcx, rax
call fcn.180020968
mov dword [rsp + 0x3c], eax
mov r9d, dword [rsp + 0x40]
lea ecx, [r13 + 1]
add ecx, ebp
mov r8d, esi
mov dword [rsp + 0x20], ecx
mov edx, 0x6c
mov rcx, rbx
call fcn.180020968
mov edx, dword [rsp + 0x3c]
test edx, edx
je 0x18003bd14
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov rcx, rbx
call fcn.180020dec
mov ecx, dword [rbx + 0x3c]
mov dword [rax + 8], ecx
mov r9d, dword [rsp + 0x38]
mov r8d, r14d
and dword [rsp + 0x20], 0
mov edx, Ordinal_54
mov rcx, rbx
call fcn.180020968
lea r14d, [rax + 1]
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0x14]
test r8d, r8d
jle 0x18003bd5d
mov r9d, dword [rsp + 0x34]
mov edx, 0x40
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.180020968
mov r9d, dword [rsp + 0x40]
mov edx, 0x76
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.180020968
mov esi, dword [rsp + 0xb0]
xor eax, eax
jmp 0x18003bdd9
mov r9d, dword [rsp + 0x38]
mov r8d, r14d
and dword [rsp + 0x20], 0
mov edx, reloc.WLDAP32.dll_Ordinal_54
mov rcx, rbx
call fcn.180020968
lea r14d, [rax + 1]
mov rax, qword [rsp + 0xb8]
mov r8d, dword [rax + 0x14]
test r8d, r8d
jle 0x18003bdcc
mov r9d, dword [rsp + 0x34]
mov edx, 0x40
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.180020968
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
mov eax, 1
test r13d, r13d
jle 0x18003be15
mov r15d, dword [rsp + 0x44]
add ebp, eax
sub esi, eax
sub esi, dword [rsp + 0x48]
lea eax, [rsi + rbp]
mov r9d, ebp
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov edx, 0x5e
mov rcx, rbx
call fcn.180020968
inc ebp
sub r13, 1
jne 0x18003bdeb
mov r15, qword [rsp + 0xc0]
and dword [rsp + 0x20], 0
mov rcx, rbx
mov eax, dword [rsp + 0x4c]
cmp eax, 0xc
je 0x18003be75
mov rsi, qword [rsp + 0xd0]
cmp eax, 9
jne 0x18003be5c
mov r9d, dword [rsp + 0xc8]
lea edx, [rax + 0x4c]
mov r8d, dword [rsi + 8]
call fcn.180020968
mov r8d, dword [rsp + 0xc8]
mov rcx, rdi
mov edx, dword [rsi + 8]
call fcn.18002db74
jmp 0x18003be6c
mov r8d, dword [rsi + 4]
xor r9d, r9d
lea edx, [r9 + 0x11]
call fcn.180020968
mov esi, dword [rsp + 0xb0]
jmp 0x18003bec5
mov r8d, dword [rsp + 0x50]
mov r9d, r12d
mov edx, 0x70
call fcn.180020968
mov esi, dword [rsp + 0xb0]
mov edx, 0x71
mov r8d, dword [rsp + 0x50]
mov r9d, esi
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.180020968
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x18003bec5
mov eax, dword [rbx + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 8
test r12d, r12d
je 0x18003bedc
mov edx, esi
mov rcx, rdi
call fcn.18002fbd0
mov edx, r12d
call fcn.18002fbd0
mov rdx, qword [rbx + 0x30]
xor edi, edi
mov r10, qword [rdx + 0x88]
test r10, r10
je 0x18003beff
or eax, 0xffffffff
sub eax, dword [rsp + 0x34]
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [r10 + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov r9d, r14d
mov r8d, dword [rsp + 0x30]
dec eax
test byte [r15 + 0x20], 1
mov rcx, rbx
mov dword [rdx + 0x6c], eax
mov edx, 3
mov dword [rsp + 0x20], edi
jne 0x18003bf27
mov edx, 7
call fcn.180020968
mov r8d, dword [r15 + 0x10]
test r8d, r8d
je 0x18003bf48
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rbx
lea edx, [r9 + 0x46]
call fcn.180020968
mov rdx, qword [rbx + 0x30]
mov r8, qword [rdx + 0x88]
test r8, r8
je 0x18003bf68
mov eax, dword [rsp + 0x38]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret