Function at 0x14005c4a0
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 rax, qword [rcx]
xor ebp, ebp
mov r13d, r9d
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x40], ebp
mov r12d, ebp
mov dword [rsp + 0x30], ebp
test r8, r8
je 0x14005cdfb
cmp qword [rcx + 0x178], rbp
jne 0x14005cdfb
cmp qword [r8 + 0x68], rbp
jne 0x14005cdfb
call fcn.14006a1d0
test rax, rax
jne 0x14005cdfb
cmp dword [rsi + 0x54], ebp
jne 0x14005cdfb
cmp r13d, 0xb
jne 0x14005c52d
cmp word [rsi + 0x44], bp
jl 0x14005c527
movzx r13d, byte [rsi + 0x4c]
cmp r13d, 0xb
jne 0x14005c52d
mov r13d, 2
mov r8, qword [rbx + 0x28]
mov r15d, 1
cmp dword [r8], r15d
jne 0x14005cdfb
cmp qword [r8 + 0x30], rbp
jne 0x14005cdfb
cmp qword [rbx + 0x30], rbp
jne 0x14005cdfb
cmp qword [rbx + 0x48], rbp
jne 0x14005cdfb
cmp qword [rbx + 0x38], rbp
jne 0x14005cdfb
cmp qword [rbx + 0x60], rbp
jne 0x14005cdfb
cmp qword [rbx + 0x50], rbp
jne 0x14005cdfb
test byte [rbx + 0xc], r15b
jne 0x14005cdfb
mov rax, qword [rbx]
cmp dword [rax], r15d
jne 0x14005cdfb
mov rax, qword [rax + 8]
cmp byte [rax], 0xaf
jne 0x14005cdfb
add r8, 8
xor edx, edx
mov rcx, rdi
call fcn.14004d6d4
xor r9d, r9d
mov r14, rax
test rax, rax
je 0x14005cdfb
mov eax, dword [rsi + 0x38]
cmp dword [r14 + 0x38], eax
jne 0x14005c5d3
mov rax, qword [rsi + 0x70]
cmp qword [r14 + 0x70], rax
je 0x14005cdfb
mov ecx, dword [rsi + 0x40]
mov eax, dword [r14 + 0x40]
shr ecx, 5
shr eax, 5
not ecx
not eax
xor ecx, eax
test r15b, cl
jne 0x14005cdfb
cmp dword [r14 + 0x54], r9d
jne 0x14005cdfb
cmp qword [r14 + 0x18], r9
jne 0x14005cdfb
movzx ecx, word [rsi + 0x46]
cmp cx, word [r14 + 0x46]
jne 0x14005cdfb
movzx eax, word [r14 + 0x44]
cmp word [rsi + 0x44], ax
jne 0x14005cdfb
movsx rax, cx
mov r15, rax
test eax, eax
jle 0x14005c6fa
mov rbx, qword [rsi + 8]
mov r11, qword [r14 + 8]
add rbx, 8
add r11, 0x10
mov al, byte [r11 + 9]
cmp byte [rbx + 0x11], al
jne 0x14005cdfb
mov rcx, qword [rbx + 8]
mov rdx, qword [r11]
test rcx, rcx
jne 0x14005c660
neg rdx
sbb eax, eax
jmp 0x14005c671
test rdx, rdx
je 0x14005cdfb
call fcn.140018f84
xor r9d, r9d
test eax, eax
jne 0x14005cdfb
cmp byte [rbx + 0x10], r9b
je 0x14005c689
cmp byte [r11 + 8], r9b
je 0x14005cdfb
test rbp, rbp
jle 0x14005c6e0
mov r8, qword [r11 - 8]
mov rdx, qword [rbx]
mov ecx, r9d
test r8, r8
mov eax, r9d
sete cl
test rdx, rdx
sete al
cmp eax, ecx
jne 0x14005cdfb
test rdx, rdx
je 0x14005c6e0
mov rax, qword [rdx + 8]
mov r8, qword [r8 + 8]
mov r10d, 1
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14005c6d8
add rax, r10
test ecx, ecx
jne 0x14005c6c5
test edx, edx
jne 0x14005cdfb
mov eax, 1
add rbx, 0x20
add r11, 0x20
add rbp, rax
cmp rbp, r15
jge 0x14005c6ff
jmp 0x14005c640
mov eax, 1
mov rbp, qword [rsi + 0x10]
test rbp, rbp
je 0x14005c770
cmp byte [rbp + 0x62], r9b
mov rbx, qword [r14 + 0x10]
cmovne r12d, eax
mov dword [rsp + 0x30], r12d
test rbx, rbx
je 0x14005cdfb
mov rdx, rbx
mov rcx, rbp
call fcn.14005c38c
test eax, eax
jne 0x14005c73a
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005c722
mov r12d, dword [rsp + 0x30]
test rbx, rbx
je 0x14005cdfb
mov eax, dword [rbp + 0x58]
cmp dword [rbx + 0x58], eax
jne 0x14005c75e
mov rax, qword [rsi + 0x70]
cmp qword [r14 + 0x70], rax
je 0x14005cdfb
mov rbp, qword [rbp + 0x28]
xor r9d, r9d
test rbp, rbp
je 0x14005c770
lea eax, [r9 + 1]
jmp 0x14005c708
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x14005c791
mov rcx, qword [r14 + 0x30]
or r8d, 0xffffffff
call fcn.140048340
xor r9d, r9d
test eax, eax
jne 0x14005cdfb
mov rax, qword [rsp + 0x48]
test qword [rax + 0x30], 0x4000
je 0x14005c7aa
cmp qword [rsi + 0x20], r9
jne 0x14005cdfb
test byte [rax + 0x30], 0x80
jne 0x14005cdfb
mov rcx, qword [r14 + 0x70]
mov dword [rsp + 0x34], 0xfff0bdc0
mov r12d, 1
test rcx, rcx
je 0x14005c7ef
mov rax, qword [rax + 0x20]
mov edx, r9d
add rax, 0x18
mov dword [rsp + 0x34], edx
cmp qword [rax], rcx
je 0x14005c7ef
lea rax, [rax + 0x20]
add edx, r12d
cmp qword [rax], rcx
jne 0x14005c7df
mov dword [rsp + 0x34], edx
mov rcx, rdi
call fcn.14006430c
mov edx, dword [rsp + 0x34]
mov rcx, rdi
mov rbp, rax
call fcn.140052f7c
mov ebx, dword [rdi + 0x34]
mov edx, dword [rsp + 0xc0]
lea r15d, [rbx + 1]
mov r8, rsi
lea ecx, [r15 + 1]
mov dword [rsp + 0xa0], ebx
mov dword [rsp + 0x44], r15d
mov dword [rdi + 0x34], ecx
mov rcx, rdi
call fcn.140059a58
mov cl, byte [rdi + 0x1f]
mov dword [rsp + 0x38], eax
test cl, cl
jne 0x14005c84d
add dword [rdi + 0x38], r12d
mov ecx, dword [rdi + 0x38]
mov dword [rsp + 0xb0], ecx
jmp 0x14005c864
sub cl, r12b
movzx eax, cl
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0xbc]
mov dword [rsp + 0xb0], eax
mov al, byte [rdi + 0x1f]
test al, al
jne 0x14005c875
add dword [rdi + 0x38], r12d
mov r12d, dword [rdi + 0x38]
jmp 0x14005c886
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 rcx, rdi
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x20], 0x62
call fcn.1400596fc
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
jne 0x14005c922
xor ecx, ecx
cmp word [rsi + 0x44], cx
jge 0x14005c8c2
cmp qword [rsi + 0x10], rcx
jne 0x14005c8d5
cmp dword [rsp + 0x30], ecx
jne 0x14005c8d5
lea eax, [r13 - 1]
mov edx, 1
cmp eax, edx
jbe 0x14005c922
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, r15d
lea edx, [r9 + 0x24]
mov rcx, rbp
call fcn.140031f40
xor ecx, ecx
xor r9d, r9d
lea edx, [rcx + 0xb]
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov rcx, rbp
mov ebx, eax
call fcn.140031f40
mov edx, ebx
mov rcx, rbp
mov dword [rsp + 0x50], eax
call fcn.1400328fc
mov ecx, dword [rbp + 0x90]
mov ebx, dword [rsp + 0xa0]
mov dword [rax + 8], ecx
test byte [r14 + 0x40], 0x20
jne 0x14005cb0e
mov r8d, dword [rsp + 0x34]
mov r9, r14
mov edx, ebx
mov rcx, rdi
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_97
call fcn.1400596fc
xor eax, eax
xor r9d, r9d
lea edx, [rax + 0x24]
mov r8d, ebx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031f40
xor ecx, ecx
mov dword [rsp + 0x40], eax
cmp word [rsi + 0x44], cx
jl 0x14005ca38
mov dword [rsp + 0x20], ecx
mov r9d, r12d
mov r8d, ebx
mov rcx, rbp
mov edx, 0x80
call fcn.140031f40
xor r9d, r9d
mov r8d, r15d
lea edx, [r9 + 0x1f]
mov rcx, rbp
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x30], eax
call fcn.140031f40
mov r8, rsi
mov edx, r13d
mov rcx, rdi
mov ebx, eax
call fcn.1400532f4
mov edx, ebx
mov rcx, rbp
call fcn.1400328fc
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x38]
xor ecx, ecx
test eax, eax
jle 0x14005c9e5
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x10]
mov r9d, r12d
mov r8d, eax
mov edx, 0x97
call fcn.140031f40
mov ebx, dword [rsp + 0xa0]
mov r13d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0xb0]
mov eax, 1
mov r8d, ebx
lea edx, [rax + 0x7e]
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031f40
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005ca6f
xor eax, eax
xor r9d, r9d
mov r8d, r15d
mov edx, Ordinal_133
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031f40
mov bl, 0x39
jmp 0x14005ca71
cmp qword [rsi + 0x10], rcx
jne 0x14005ca65
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 8
jne 0x14005ca65
mov r8d, r15d
mov edx, Ordinal_122
mov dword [rsp + 0x20], ecx
mov r9d, r12d
mov rcx, rbp
call fcn.140031f40
mov r13d, eax
jmp 0x14005c9f1
mov r8d, ebx
mov edx, 0x80
jmp 0x14005ca51
mov bl, reloc.WLDAP32.dll_Ordinal_41
mov r9d, dword [rsp + 0xb0]
mov r8d, r15d
mov edx, reloc.WLDAP32.dll_Ordinal_122
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.140031f40
mov r9d, 0xfffffffa
mov r8, rsi
mov edx, eax
mov rcx, rbp
call fcn.14003280c
movsxd rax, dword [rbp + 0x90]
test eax, eax
jle 0x14005cabf
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
movzx edx, bl
mov word [rax + rcx*8 - 0x16], dx
mov r12d, dword [rsp + 0xa0]
xor ebx, ebx
mov r9d, r13d
lea edx, [rbx + 5]
mov r8d, r12d
mov rcx, rbp
mov dword [rsp + 0x20], ebx
call fcn.140031f40
lea r13d, [rbx + 0x75]
mov edx, r13d
xor r9d, r9d
mov r8d, r12d
mov rcx, rbp
mov dword [rsp + 0x20], ebx
call fcn.140031f40
xor r9d, r9d
mov r8d, r15d
mov edx, r13d
mov rcx, rbp
mov dword [rsp + 0x20], ebx
call fcn.140031f40
jmp 0x14005cb16
mov r12d, dword [rsp + 0xa0]
mov r13, qword [rsi + 0x10]
xor esi, esi
test r13, r13
je 0x14005cd41
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x14005cb4b
mov rdx, rbx
mov rcx, r13
call fcn.14005c38c
test eax, eax
jne 0x14005cb46
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005cb2e
lea r15d, [r12 + 1]
mov eax, dword [rsp + 0x34]
mov r9d, dword [rbx + 0x58]
mov r8d, r12d
mov edx, reloc.WLDAP32.dll_Ordinal_97
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031f40
mov rdx, rbx
mov rcx, rdi
call fcn.1400328d0
mov eax, dword [rsp + 0xc0]
mov r9d, dword [r13 + 0x58]
mov r8d, r15d
mov edx, 0x62
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031f40
mov rdx, r13
mov rcx, rdi
call fcn.1400328d0
movsxd rax, dword [rbp + 0x90]
xor edx, edx
test eax, eax
jle 0x14005cbbe
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
lea r10d, [rdx + 1]
mov word [rax + rcx*8 - 0x16], r10w
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, r12d
lea edx, [r9 + 0x24]
mov rcx, rbp
call fcn.140031f40
mov r9d, dword [rsp + 0xb0]
mov r8d, r12d
mov dword [rsp + 0x30], eax
mov eax, 1
mov rcx, rbp
lea edx, [rax + 0x7e]
mov dword [rsp + 0x20], eax
call fcn.140031f40
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005cc7b
movzx ecx, word [rbx + 0x60]
xor r8d, r8d
mov r12d, r8d
mov r15d, r8d
mov qword [rsp + 0x58], rcx
test ecx, ecx
jle 0x14005cc4e
mov r11, qword [rbx + 0x40]
mov ebx, ecx
mov rdx, qword [r11]
test rdx, rdx
je 0x14005cc4c
lea rcx, [0x1400e3298]
call fcn.140018f84
xor r8d, r8d
test eax, eax
jne 0x14005cc4c
lea eax, [r8 + 1]
add r11, 8
add r15, rax
add r12d, eax
cmp r15, rbx
jl 0x14005cc1e
mov ecx, ebx
mov r15d, dword [rsp + 0x44]
cmp r12d, ecx
jne 0x14005cc73
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, Ordinal_133
mov r8d, r15d
mov rcx, rbp
mov sil, 0x10
call fcn.140031f40
mov r12d, dword [rsp + 0xa0]
test byte [r14 + 0x40], 0x20
je 0x14005cc90
mov eax, dword [r13 + 0x64]
and al, 3
cmp al, 2
jne 0x14005cc90
or sil, 1
mov ebx, dword [rsp + 0xb0]
xor eax, eax
mov r8d, r15d
mov edx, Ordinal_133
mov rcx, rbp
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.140031f40
movsxd rax, dword [rbp + 0x90]
xor r8d, r8d
test eax, eax
jle 0x14005ccd6
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
or sil, 8
movzx edx, sil
mov word [rax + rcx*8 - 0x16], dx
mov esi, dword [rsp + 0x30]
mov dword [rsp + 0x20], r8d
mov edx, 5
lea r9d, [rsi + 1]
mov r8d, r12d
mov rcx, rbp
call fcn.140031f40
mov edx, esi
mov rcx, rbp
call fcn.1400328fc
mov ecx, dword [rbp + 0x90]
xor esi, esi
mov dword [rax + 8], ecx
lea edx, [rsi + 0x75]
xor r9d, r9d
mov rcx, rbp
mov r8d, r12d
mov dword [rsp + 0x20], esi
call fcn.140031f40
lea edx, [rsi + 0x75]
xor r9d, r9d
mov r8d, r15d
mov rcx, rbp
mov dword [rsp + 0x20], esi
call fcn.140031f40
mov r13, qword [r13 + 0x28]
test r13, r13
jne 0x14005cb25
jmp 0x14005cd48
mov ebx, dword [rsp + 0xb0]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14005cd63
mov edx, eax
mov rcx, rbp
call fcn.1400328fc
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x3c]
test ecx, ecx
je 0x14005cd86
cmp byte [rdi + 0x1f], 8
jae 0x14005cd86
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ecx
mov ecx, 1
add byte [rdi + 0x1f], cl
jmp 0x14005cd8b
mov ecx, 1
test ebx, ebx
je 0x14005cda3
cmp byte [rdi + 0x1f], 8
jae 0x14005cda3
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ebx
add byte [rdi + 0x1f], cl
mov ebx, dword [rsp + 0x50]
test ebx, ebx
je 0x14005ce15
cmp qword [rdi + 0x88], rsi
je 0x14005cdbc
mov rcx, rdi
call fcn.140059c68
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x45]
mov dword [rsp + 0x20], esi
call fcn.140031f40
mov edx, ebx
mov rcx, rbp
call fcn.1400328fc
mov ecx, dword [rbp + 0x90]
xor r9d, r9d
mov dword [rax + 8], ecx
lea edx, [r9 + 0x75]
mov r8d, r15d
mov rcx, rbp
mov dword [rsp + 0x20], esi
call fcn.140031f40
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 0x14005cdfd