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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r12, qword [rcx]
xor ebp, ebp
mov qword [rsp + 0x48], r12
mov r13d, r9d
mov dword [rsp + 0x40], ebp
mov rbx, r8
mov dword [rsp + 0x38], ebp
mov rsi, rdx
mov dword [rsp + 0x34], ebp
mov rdi, rcx
mov r15d, ebp
test r8, r8
je 0x14005c562
cmp qword [rcx + 0x178], rbp
jne 0x14005c562
cmp qword [r8 + 0x68], rbp
jne 0x14005c562
call fcn.14006979c
test rax, rax
jne 0x14005c562
cmp dword [rsi + 0x54], ebp
jne 0x14005c562
cmp r13d, 0xb
jne 0x14005bc91
cmp word [rsi + 0x44], bp
jl 0x14005bc8b
movzx r13d, byte [rsi + 0x4c]
cmp r13d, 0xb
jne 0x14005bc91
mov r13d, 2
mov r8, qword [rbx + 0x28]
mov ecx, 1
cmp dword [r8], ecx
jne 0x14005c562
cmp qword [r8 + 0x30], rbp
jne 0x14005c562
cmp qword [rbx + 0x30], rbp
jne 0x14005c562
cmp qword [rbx + 0x48], rbp
jne 0x14005c562
cmp qword [rbx + 0x38], rbp
jne 0x14005c562
cmp qword [rbx + 0x60], rbp
jne 0x14005c562
cmp qword [rbx + 0x50], rbp
jne 0x14005c562
test byte [rbx + 0xc], cl
jne 0x14005c562
mov rax, qword [rbx]
cmp dword [rax], ecx
jne 0x14005c562
mov rax, qword [rax + 8]
cmp byte [rax], 0xaf
jne 0x14005c562
add r8, 8
xor edx, edx
mov rcx, rdi
call fcn.14004cf58
xor r9d, r9d
mov r14, rax
test rax, rax
je 0x14005c562
mov ecx, dword [rsi + 0x38]
cmp dword [rax + 0x38], ecx
jne 0x14005bd33
mov rcx, qword [rsi + 0x70]
cmp qword [rax + 0x70], rcx
je 0x14005c562
mov eax, dword [rax + 0x40]
mov r10d, 1
mov ecx, dword [rsi + 0x40]
shr ecx, 5
shr eax, 5
not ecx
not eax
xor ecx, eax
test r10b, cl
jne 0x14005c562
cmp dword [r14 + 0x54], r9d
jne 0x14005c562
cmp qword [r14 + 0x18], r9
jne 0x14005c562
movzx ecx, word [rsi + 0x46]
cmp cx, word [r14 + 0x46]
jne 0x14005c562
movzx eax, word [r14 + 0x44]
cmp word [rsi + 0x44], ax
jne 0x14005c562
cmp r9w, cx
jge 0x14005be5b
mov r11, qword [rsi + 8]
mov rbx, qword [r14 + 8]
add r11, 0x10
add rbx, 0x10
movsx r12, cx
mov al, byte [rbx + 9]
cmp byte [r11 + 9], al
jne 0x14005c562
mov rcx, qword [r11]
mov rdx, qword [rbx]
test rcx, rcx
jne 0x14005bdc3
neg rdx
sbb eax, eax
jmp 0x14005bdd8
test rdx, rdx
je 0x14005c562
call fcn.140018e5c
xor r9d, r9d
lea r10d, [r9 + 1]
test eax, eax
jne 0x14005c562
cmp byte [r11 + 8], r9b
je 0x14005bdf0
cmp byte [rbx + 8], r9b
je 0x14005c562
test rbp, rbp
jle 0x14005be42
mov rdx, qword [r11 - 8]
mov ecx, r9d
mov r8, qword [rbx - 8]
test rdx, rdx
mov eax, r9d
sete cl
test r8, r8
sete al
cmp ecx, eax
jne 0x14005c562
test rdx, rdx
je 0x14005be42
mov rax, qword [rdx + 8]
mov r8, qword [r8 + 8]
sub r8, rax
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x14005be3a
add rax, r10
test edx, edx
jne 0x14005be27
test ecx, ecx
jne 0x14005c562
add rbp, r10
add r11, 0x20
add rbx, 0x20
cmp rbp, r12
jl 0x14005bda4
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsi + 0x10]
jmp 0x14005bec2
cmp byte [rbp + 0x62], r9b
mov rbx, qword [r14 + 0x10]
cmovne r15d, r10d
mov dword [rsp + 0x34], r15d
test rbx, rbx
je 0x14005c562
mov rdx, rbx
mov rcx, rbp
call fcn.14005baf0
test eax, eax
jne 0x14005be93
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005be7b
mov r12, qword [rsp + 0x48]
test rbx, rbx
je 0x14005c562
mov eax, dword [rbp + 0x58]
cmp dword [rbx + 0x58], eax
jne 0x14005beb7
mov rax, qword [rsi + 0x70]
cmp qword [r14 + 0x70], rax
je 0x14005c562
mov rbp, qword [rbp + 0x28]
xor r9d, r9d
lea r10d, [r9 + 1]
test rbp, rbp
jne 0x14005be61
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x14005bee8
mov rcx, qword [r14 + 0x30]
or r8d, 0xffffffff
call fcn.140047bb8
xor r9d, r9d
test eax, eax
jne 0x14005c562
test qword [r12 + 0x30], 0x4000
je 0x14005befd
cmp qword [rsi + 0x20], r9
jne 0x14005c562
test byte [r12 + 0x30], 0x80
jne 0x14005c562
mov rcx, qword [r14 + 0x70]
mov dword [rsp + 0x30], 0xfff0bdc0
test rcx, rcx
je 0x14005bf47
mov rax, qword [r12 + 0x20]
mov edx, r9d
add rax, 0x18
mov dword [rsp + 0x30], edx
mov r12d, 1
cmp qword [rax], rcx
je 0x14005bf4d
add edx, r12d
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x14005bf35
mov dword [rsp + 0x30], edx
jmp 0x14005bf4d
mov r12d, 1
mov rcx, rdi
call fcn.140063b58
mov edx, dword [rsp + 0x30]
mov rcx, rdi
mov rbp, rax
call fcn.1400526f8
mov ebx, dword [rdi + 0x34]
mov r8, rsi
mov edx, dword [rsp + 0xc0]
mov dword [rsp + 0xa0], ebx
lea r15d, [rbx + 1]
lea ecx, [r15 + 1]
mov dword [rdi + 0x34], ecx
mov rcx, rdi
call fcn.1400591a8
mov cl, byte [rdi + 0x1f]
mov dword [rsp + 0x44], eax
test cl, cl
jne 0x14005bfa6
add dword [rdi + 0x38], r12d
mov ecx, dword [rdi + 0x38]
mov dword [rsp + 0xb0], ecx
jmp 0x14005bfc1
sub cl, r12b
movzx eax, cl
mov byte [rdi + 0x1f], al
mov ecx, dword [rdi + rax*4 + 0xbc]
mov dword [rsp + 0xb0], ecx
test al, al
jne 0x14005bfcb
add dword [rdi + 0x38], r12d
mov r12d, dword [rdi + 0x38]
jmp 0x14005bfdc
sub al, r12b
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xbc]
mov r8d, dword [rsp + 0xc0]
mov r9, rsi
mov edx, r15d
mov dword [rsp + 0x3c], r12d
mov rcx, rdi
mov dword [rsp + 0x20], 0x62
call fcn.140058e54
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
jne 0x14005c078
xor ecx, ecx
cmp word [rsi + 0x44], cx
jge 0x14005c018
cmp qword [rsi + 0x10], rcx
jne 0x14005c02b
cmp dword [rsp + 0x34], ecx
jne 0x14005c02b
lea eax, [r13 - 1]
mov edx, 1
cmp eax, edx
jbe 0x14005c078
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, r15d
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.140031c88
xor ecx, ecx
xor r9d, r9d
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov ebx, eax
lea edx, [rcx + 0xb]
mov rcx, rbp
call fcn.140031c88
mov edx, ebx
mov dword [rsp + 0x40], eax
mov rcx, rbp
call fcn.140032664
mov ecx, dword [rbp + 0x90]
mov ebx, dword [rsp + 0xa0]
mov dword [rax + 8], ecx
test byte [r14 + 0x40], 0x20
jne 0x14005c267
mov r8d, dword [rsp + 0x30]
mov r9, r14
mov edx, ebx
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_97
mov rcx, rdi
call fcn.140058e54
xor eax, eax
xor r9d, r9d
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rcx, rbp
lea edx, [rax + 0x24]
call fcn.140031c88
xor ecx, ecx
mov dword [rsp + 0x38], eax
cmp word [rsi + 0x44], cx
jl 0x14005c191
mov dword [rsp + 0x20], ecx
mov r9d, r12d
mov rcx, rbp
mov r8d, ebx
mov edx, 0x80
call fcn.140031c88
xor r9d, r9d
mov dword [rsp + 0x34], eax
mov r8d, r15d
mov dword [rsp + 0x20], r12d
mov rcx, rbp
lea edx, [r9 + 0x1f]
call fcn.140031c88
mov r8, rsi
mov edx, r13d
mov rcx, rdi
mov ebx, eax
call fcn.140052a5c
mov edx, ebx
mov rcx, rbp
call fcn.140032664
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
xor ecx, ecx
mov eax, dword [rsp + 0x44]
test eax, eax
jle 0x14005c13b
mov dword [rsp + 0x20], ecx
mov r9d, r12d
mov rcx, qword [rdi + 0x10]
mov r8d, eax
mov edx, 0x97
call fcn.140031c88
mov ebx, dword [rsp + 0xa0]
mov r13d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0xb0]
mov eax, 1
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rcx, rbp
lea edx, [rax + 0x7e]
call fcn.140031c88
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005c1c8
xor eax, eax
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov edx, Ordinal_133
mov rcx, rbp
call fcn.140031c88
mov ebx, Ordinal_59
jmp 0x14005c1cd
cmp qword [rsi + 0x10], rcx
jne 0x14005c1be
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 8
jne 0x14005c1be
mov r8d, r15d
mov edx, Ordinal_122
mov dword [rsp + 0x20], ecx
mov r9d, r12d
mov rcx, rbp
call fcn.140031c88
mov r13d, eax
jmp 0x14005c147
mov r8d, ebx
mov edx, 0x80
jmp 0x14005c1aa
mov ebx, reloc.WLDAP32.dll_Ordinal_41
mov r9d, dword [rsp + 0xb0]
mov r8d, r15d
mov edx, reloc.WLDAP32.dll_Ordinal_122
mov dword [rsp + 0x20], r12d
mov rcx, rbp
call fcn.140031c88
mov r9d, 0xfffffffa
mov r8, rsi
mov edx, eax
mov rcx, rbp
call fcn.140032578
movsxd rax, dword [rbp + 0x90]
test eax, eax
jle 0x14005c218
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
mov word [rax + rcx*8 - 0x16], bx
mov r12d, dword [rsp + 0xa0]
xor ebx, ebx
mov r9d, r13d
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov rcx, rbp
lea edx, [rbx + 5]
call fcn.140031c88
lea r13d, [rbx + 0x75]
mov dword [rsp + 0x20], ebx
mov edx, r13d
xor r9d, r9d
mov r8d, r12d
mov rcx, rbp
call fcn.140031c88
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r15d
mov edx, r13d
mov rcx, rbp
call fcn.140031c88
jmp 0x14005c26f
mov r12d, dword [rsp + 0xa0]
mov r13, qword [rsi + 0x10]
xor esi, esi
mov qword [rsp + 0x50], r13
test r13, r13
je 0x14005c4a8
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x14005c2a9
mov rdx, rbx
mov rcx, r13
call fcn.14005baf0
test eax, eax
jne 0x14005c2a4
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005c28c
lea r15d, [r12 + 1]
mov eax, dword [rsp + 0x30]
mov r8d, r12d
mov r9d, dword [rbx + 0x58]
mov edx, reloc.WLDAP32.dll_Ordinal_97
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031c88
mov rdx, rbx
mov rcx, rdi
call fcn.140032638
mov eax, dword [rsp + 0xc0]
mov r8d, r15d
mov r9d, dword [r13 + 0x58]
mov edx, 0x62
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031c88
mov rdx, r13
mov rcx, rdi
call fcn.140032638
movsxd rax, dword [rbp + 0x90]
xor edx, edx
test eax, eax
jle 0x14005c31c
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
lea r8d, [rdx + 1]
mov word [rax + rcx*8 - 0x16], r8w
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, r12d
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.140031c88
mov r9d, dword [rsp + 0xb0]
mov r8d, r12d
mov dword [rsp + 0x44], eax
mov rcx, rbp
mov eax, 1
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x7e]
call fcn.140031c88
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005c3dd
movzx r13d, word [rbx + 0x60]
xor r8d, r8d
mov eax, r8d
mov r12d, r8d
mov dword [rsp + 0x34], eax
test r13d, r13d
je 0x14005c3b0
mov r11, qword [rbx + 0x40]
mov rdx, qword [r11]
test rdx, rdx
je 0x14005c3b0
lea rcx, [0x1400f19d4]
call fcn.140018e5c
xor r8d, r8d
test eax, eax
mov eax, dword [rsp + 0x34]
jne 0x14005c3b0
lea ecx, [r8 + 1]
add r11, 8
add eax, ecx
add r12, rcx
mov dword [rsp + 0x34], eax
cmp r12, r13
jl 0x14005c37b
cmp eax, r13d
jne 0x14005c3d0
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, r15d
mov edx, Ordinal_133
mov rcx, rbp
mov sil, 0x10
call fcn.140031c88
mov r12d, dword [rsp + 0xa0]
mov r13, qword [rsp + 0x50]
test byte [r14 + 0x40], 0x20
je 0x14005c3f2
mov eax, dword [r13 + 0x64]
and al, 3
cmp al, 2
jne 0x14005c3f2
or sil, 1
mov ebx, dword [rsp + 0xb0]
xor eax, eax
mov r9d, ebx
mov dword [rsp + 0x20], eax
mov r8d, r15d
mov edx, Ordinal_133
mov rcx, rbp
call fcn.140031c88
movsxd rax, dword [rbp + 0x90]
xor r8d, r8d
test eax, eax
jle 0x14005c438
lea rcx, [rax + rax*2]
or sil, 8
mov rax, qword [rbp + 0x88]
movzx edx, sil
mov word [rax + rcx*8 - 0x16], dx
mov esi, dword [rsp + 0x44]
mov edx, 5
mov dword [rsp + 0x20], r8d
mov rcx, rbp
mov r8d, r12d
lea r9d, [rsi + 1]
call fcn.140031c88
mov edx, esi
mov rcx, rbp
call fcn.140032664
mov ecx, dword [rbp + 0x90]
xor esi, esi
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov dword [rax + 8], ecx
mov rcx, rbp
lea edx, [rsi + 0x75]
call fcn.140031c88
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r15d
lea edx, [rsi + 0x75]
mov rcx, rbp
call fcn.140031c88
mov r13, qword [r13 + 0x28]
mov qword [rsp + 0x50], r13
test r13, r13
jne 0x14005c283
jmp 0x14005c4af
mov ebx, dword [rsp + 0xb0]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14005c4ca
mov edx, eax
mov rcx, rbp
call fcn.140032664
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
je 0x14005c4ed
cmp byte [rdi + 0x1f], 8
jae 0x14005c4ed
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ecx
mov ecx, 1
add byte [rdi + 0x1f], cl
jmp 0x14005c4f2
mov ecx, 1
test ebx, ebx
je 0x14005c50a
cmp byte [rdi + 0x1f], 8
jae 0x14005c50a
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ebx
add byte [rdi + 0x1f], cl
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x14005c57c
cmp qword [rdi + 0x88], rsi
je 0x14005c523
mov rcx, rdi
call fcn.1400593b8
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x45]
call fcn.140031c88
mov edx, ebx
mov rcx, rbp
call fcn.140032664
mov ecx, dword [rbp + 0x90]
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], esi
mov dword [rax + 8], ecx
mov rcx, rbp
lea edx, [r9 + 0x75]
call fcn.140031c88
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, ecx
jmp 0x14005c564