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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r13, qword [rcx]
xor r14d, r14d
mov qword [rsp + 0x48], r13
mov ebp, r9d
mov dword [rsp + 0x40], r14d
mov rbx, r8
mov dword [rsp + 0x3c], r14d
mov rsi, rdx
mov dword [rsp + 0x38], r14d
mov rdi, rcx
mov r15d, r14d
test r8, r8
je 0x14005c813
cmp qword [rcx + 0x178], r14
jne 0x14005c813
cmp qword [r8 + 0x68], r14
jne 0x14005c813
call fcn.14006ab3c
test rax, rax
jne 0x14005c813
cmp dword [rsi + 0x54], r14d
jne 0x14005c813
cmp ebp, 0xb
jne 0x14005c60e
cmp word [rsi + 0x44], r14w
jl 0x14005c603
movzx ebp, byte [rsi + 0x4c]
mov dword [rsp + 0xb8], ebp
cmp ebp, 0xb
jne 0x14005c60e
mov dword [rsp + 0xb8], 2
mov r8, qword [rbx + 0x28]
mov ebp, 1
cmp dword [r8], ebp
jne 0x14005c813
cmp qword [r8 + 0x30], r14
jne 0x14005c813
cmp qword [rbx + 0x30], r14
jne 0x14005c813
cmp qword [rbx + 0x48], r14
jne 0x14005c813
cmp qword [rbx + 0x38], r14
jne 0x14005c813
cmp qword [rbx + 0x60], r14
jne 0x14005c813
cmp qword [rbx + 0x50], r14
jne 0x14005c813
test byte [rbx + 0xc], bpl
jne 0x14005c813
mov rax, qword [rbx]
cmp dword [rax], ebp
jne 0x14005c813
mov rax, qword [rax + 8]
cmp byte [rax], 0xaf
jne 0x14005c813
add r8, 8
xor edx, edx
mov rcx, rdi
call fcn.14004d4c4
xor r9d, r9d
mov r14, rax
test rax, rax
je 0x14005c813
mov ecx, dword [rsi + 0x38]
cmp dword [rax + 0x38], ecx
jne 0x14005c6b1
mov rcx, qword [rsi + 0x70]
cmp qword [rax + 0x70], rcx
je 0x14005c813
mov ecx, dword [rax + 0x40]
mov eax, dword [rsi + 0x40]
shr ecx, 5
shr eax, 5
not ecx
not eax
xor ecx, eax
test bpl, cl
jne 0x14005c813
cmp dword [r14 + 0x54], r9d
jne 0x14005c813
cmp qword [r14 + 0x18], r9
jne 0x14005c813
movsx ebp, word [rsi + 0x46]
cmp bp, word [r14 + 0x46]
jne 0x14005c813
movzx eax, word [r14 + 0x44]
cmp word [rsi + 0x44], ax
jne 0x14005c813
mov r12d, r9d
cmp r9w, bp
jge 0x14005c7da
mov r11, qword [rsi + 8]
mov rbx, qword [r14 + 8]
add r11, 0x10
add rbx, 0x10
mov al, byte [rbx + 9]
cmp byte [r11 + 9], al
jne 0x14005c813
mov rcx, qword [r11]
mov rdx, qword [rbx]
test rcx, rcx
jne 0x14005c73a
neg rdx
sbb eax, eax
jmp 0x14005c74b
test rdx, rdx
je 0x14005c813
call fcn.140019768
xor r9d, r9d
test eax, eax
jne 0x14005c813
cmp byte [r11 + 8], r9b
je 0x14005c763
cmp byte [rbx + 8], r9b
je 0x14005c813
test r15, r15
jle 0x14005c7b7
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 0x14005c813
test rdx, rdx
je 0x14005c7b7
mov rax, qword [rdx + 8]
mov r10d, 1
mov r8, qword [r8 + 8]
sub r8, rax
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x14005c7b3
add rax, r10
test edx, edx
jne 0x14005c7a0
test ecx, ecx
jne 0x14005c813
mov ecx, 1
add r11, 0x20
add r12d, ecx
add r15, rcx
add rbx, 0x20
cmp r12d, ebp
jl 0x14005c71b
mov r15d, dword [rsp + 0x38]
jmp 0x14005c7df
mov ecx, 1
mov rbx, qword [rsi + 0x10]
jmp 0x14005c848
cmp byte [rbx + 0x62], r9b
mov rbp, qword [r14 + 0x10]
cmovne r15d, ecx
mov dword [rsp + 0x38], r15d
jmp 0x14005c80e
mov rdx, rbp
mov rcx, rbx
call fcn.14005c454
xor r9d, r9d
test eax, eax
jne 0x14005c82d
mov rbp, qword [rbp + 0x28]
test rbp, rbp
jne 0x14005c7f8
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, dword [rbx + 0x58]
cmp dword [rbp + 0x58], eax
jne 0x14005c83f
mov rax, qword [rsi + 0x70]
cmp qword [r14 + 0x70], rax
je 0x14005c813
mov rbx, qword [rbx + 0x28]
mov ecx, 1
test rbx, rbx
jne 0x14005c7e5
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x14005c86a
mov rcx, qword [r14 + 0x30]
or r8d, 0xffffffff
call fcn.1400480c4
xor r9d, r9d
test eax, eax
jne 0x14005c813
test qword [r13 + 0x30], 0x4000
je 0x14005c87a
cmp qword [rsi + 0x20], r9
jne 0x14005c813
test byte [r13 + 0x30], 0x80
jne 0x14005c813
mov rcx, qword [r14 + 0x70]
mov dword [rsp + 0x34], 0xfff0bdc0
test rcx, rcx
je 0x14005c8bc
mov rax, qword [r13 + 0x20]
mov edx, r9d
add rax, 0x18
mov dword [rsp + 0x34], edx
cmp qword [rax], rcx
je 0x14005c8bc
mov r10d, 1
add edx, r10d
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x14005c8ac
mov dword [rsp + 0x34], edx
mov rcx, rdi
call fcn.140064918
mov edx, dword [rsp + 0x34]
mov rcx, rdi
mov rbp, rax
call fcn.140052c90
mov eax, dword [rdi + 0x34]
mov r8, rsi
mov r12d, dword [rsp + 0xc0]
mov edx, r12d
mov dword [rsp + 0xb0], eax
lea r13d, [rax + 1]
lea ecx, [r13 + 1]
mov dword [rdi + 0x34], ecx
mov rcx, rdi
call fcn.140059a84
mov cl, byte [rdi + 0x1f]
xor ebx, ebx
mov dword [rsp + 0x44], eax
lea rax, [rdi + 0x38]
lea edx, [rbx + 1]
test cl, cl
jne 0x14005c91d
mov r15d, dword [rax]
inc r15d
mov dword [rax], r15d
jmp 0x14005c931
sub cl, dl
movzx ecx, cl
mov byte [rdi + 0x1f], cl
mov r15d, dword [rdi + rcx*4 + 0xbc]
test cl, cl
jne 0x14005c93d
add dword [rax], edx
mov ebx, dword [rax]
mov dword [rsp + 0x30], ebx
xor ebx, ebx
jmp 0x14005c950
sub cl, dl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0xbc]
mov dword [rsp + 0x30], eax
mov r9, rsi
mov dword [rsp + 0x20], 0x62
mov r8d, r12d
mov edx, r13d
mov rcx, rdi
call fcn.140059748
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
jne 0x14005c9ee
cmp word [rsi + 0x44], bx
jge 0x14005c980
cmp qword [rsi + 0x10], rbx
jne 0x14005c99e
mov r12d, dword [rsp + 0xb8]
cmp dword [rsp + 0x38], ebx
jne 0x14005c9a6
lea eax, [r12 - 1]
mov ecx, 1
cmp eax, ecx
jbe 0x14005c9f6
jmp 0x14005c9a6
mov r12d, dword [rsp + 0xb8]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r13d
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.1400321c0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov ebx, eax
lea edx, [r9 + 0xb]
call fcn.1400321c0
mov edx, ebx
mov dword [rsp + 0x40], eax
mov rcx, rbp
call fcn.140032bb0
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
jmp 0x14005c9f6
mov r12d, dword [rsp + 0xb8]
test byte [r14 + 0x40], 0x20
jne 0x14005cbf7
mov ebx, dword [rsp + 0xb0]
mov r9, r14
mov r8d, dword [rsp + 0x34]
mov edx, ebx
mov rcx, rdi
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_97
call fcn.140059748
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.1400321c0
xor ecx, ecx
mov dword [rsp + 0x3c], eax
cmp word [rsi + 0x44], cx
jl 0x14005cb1a
mov ebx, dword [rsp + 0x30]
mov edx, 0x80
mov r8d, dword [rsp + 0xb0]
mov r9d, ebx
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call fcn.1400321c0
xor r9d, r9d
mov dword [rsp + 0x38], eax
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov rcx, rbp
lea edx, [r9 + 0x1f]
call fcn.1400321c0
mov r8, rsi
mov edx, r12d
mov rcx, rdi
mov ebx, eax
call fcn.140052fe4
mov edx, ebx
mov rcx, rbp
call fcn.140032bb0
mov ecx, dword [rbp + 0x90]
mov r12d, dword [rsp + 0x30]
mov dword [rax + 8], ecx
xor ecx, ecx
mov eax, dword [rsp + 0x44]
test eax, eax
jle 0x14005cacd
mov dword [rsp + 0x20], ecx
mov r9d, r12d
mov rcx, qword [rdi + 0x10]
mov r8d, eax
mov edx, 0x97
call fcn.1400321c0
mov ebx, dword [rsp + 0xb0]
mov r9d, r15d
mov dword [rsp + 0x20], 1
mov r8d, ebx
mov edx, reloc.WLDAP32.dll_Ordinal_127
mov rcx, rbp
call fcn.1400321c0
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005cb57
xor eax, eax
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov edx, Ordinal_133
mov rcx, rbp
call fcn.1400321c0
mov ebx, 0x39
jmp 0x14005cb5c
cmp qword [rsi + 0x10], rcx
jne 0x14005cb4d
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 8
jne 0x14005cb4d
mov r8d, r13d
mov edx, Ordinal_122
mov r12d, dword [rsp + 0x30]
mov r9d, r12d
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call fcn.1400321c0
mov dword [rsp + 0x38], eax
jmp 0x14005cad4
mov r8d, ebx
mov edx, 0x80
jmp 0x14005cb33
mov ebx, reloc.WLDAP32.dll_Ordinal_41
mov r9d, r15d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov edx, reloc.WLDAP32.dll_Ordinal_122
mov rcx, rbp
call fcn.1400321c0
mov r9d, 0xfffffffa
mov r8, rsi
mov edx, eax
mov rcx, rbp
call fcn.140032ac4
movsxd rax, dword [rbp + 0x90]
xor r12d, r12d
test eax, eax
jle 0x14005cba5
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
mov word [rax + rcx*8 - 0x16], bx
mov r9d, dword [rsp + 0x38]
mov edx, 5
mov r8d, dword [rsp + 0xb0]
mov rcx, rbp
mov dword [rsp + 0x20], r12d
call fcn.1400321c0
mov r8d, dword [rsp + 0xb0]
xor r9d, r9d
mov rcx, rbp
mov dword [rsp + 0x20], r12d
lea ebx, [r9 + 0x75]
mov edx, ebx
call fcn.1400321c0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov edx, ebx
mov rcx, rbp
call fcn.1400321c0
mov r12, qword [rsi + 0x10]
xor esi, esi
jmp 0x14005ce2d
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x14005cc2b
mov rdx, rbx
mov rcx, r12
call fcn.14005c454
test eax, eax
jne 0x14005cc23
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005cc0b
mov rdi, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x34]
mov edx, reloc.WLDAP32.dll_Ordinal_97
mov r9d, dword [rbx + 0x58]
mov rcx, rbp
mov r8d, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
call fcn.1400321c0
mov rdx, rbx
mov rcx, rdi
call fcn.140032b84
mov eax, dword [rsp + 0xc0]
mov r8d, r13d
mov r9d, dword [r12 + 0x58]
mov edx, 0x62
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.1400321c0
mov rdx, r12
mov rcx, rdi
call fcn.140032b84
movsxd rax, dword [rbp + 0x90]
xor edx, edx
test eax, eax
jle 0x14005cca1
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
mov word [rax + rcx*8 - 0x16], 1
mov r8d, dword [rsp + 0xb0]
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.1400321c0
mov r8d, dword [rsp + 0xb0]
mov r9d, r15d
mov edx, reloc.WLDAP32.dll_Ordinal_127
mov dword [rsp + 0x44], eax
mov rcx, rbp
mov dword [rsp + 0x20], 1
call fcn.1400321c0
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005cd70
xor r8d, r8d
mov ecx, r8d
mov r12d, r8d
mov dword [rsp + 0x38], ecx
cmp r8w, word [rbx + 0x60]
jae 0x14005cd48
mov r11, qword [rbx + 0x40]
lea edi, [r8 + 1]
mov rdx, qword [r11]
test rdx, rdx
je 0x14005cd40
lea rcx, [0x1400fb2c0]
call fcn.140019768
mov ecx, dword [rsp + 0x38]
xor r8d, r8d
test eax, eax
jne 0x14005cd40
movzx eax, word [rbx + 0x60]
add ecx, edi
add r12, rdi
mov dword [rsp + 0x38], ecx
add r11, 8
cmp r12, rax
jl 0x14005cd0b
mov rdi, qword [rsp + 0xa0]
movzx eax, word [rbx + 0x60]
cmp ecx, eax
jne 0x14005cd6b
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, r13d
mov edx, Ordinal_133
mov rcx, rbp
mov sil, 0x10
call fcn.1400321c0
mov r12, qword [rsp + 0x50]
test byte [r14 + 0x40], 0x20
je 0x14005cd86
mov eax, dword [r12 + 0x64]
and al, 3
cmp al, 2
jne 0x14005cd86
or sil, 1
xor ebx, ebx
mov r9d, r15d
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov edx, Ordinal_133
mov rcx, rbp
call fcn.1400321c0
movsxd rax, dword [rbp + 0x90]
test eax, eax
jle 0x14005cdc2
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 r8d, dword [rsp + 0xb0]
mov rcx, rbp
mov dword [rsp + 0x20], ebx
lea r9d, [rsi + 1]
call fcn.1400321c0
mov edx, esi
mov rcx, rbp
call fcn.140032bb0
mov ecx, dword [rbp + 0x90]
xor esi, esi
mov r8d, dword [rsp + 0xb0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov dword [rax + 8], ecx
mov rcx, rbp
lea ebx, [rsi + 0x75]
mov edx, ebx
call fcn.1400321c0
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r13d
mov edx, ebx
mov rcx, rbp
call fcn.1400321c0
mov r12, qword [r12 + 0x28]
mov qword [rsp + 0x50], r12
test r12, r12
jne 0x14005cc02
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14005ce56
mov edx, eax
mov rcx, rbp
call fcn.140032bb0
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x14005ce79
cmp byte [rdi + 0x1f], 8
jae 0x14005ce79
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ecx
mov ecx, 1
add byte [rdi + 0x1f], cl
jmp 0x14005ce7e
mov ecx, 1
test r15d, r15d
je 0x14005ce98
cmp byte [rdi + 0x1f], 8
jae 0x14005ce98
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r15d
add byte [rdi + 0x1f], cl
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x14005cef5
cmp qword [rdi + 0x88], rsi
je 0x14005ceb1
mov rcx, rdi
call fcn.140059c8c
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x45]
call fcn.1400321c0
mov edx, ebx
mov rcx, rbp
call fcn.140032bb0
mov ecx, dword [rbp + 0x90]
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], esi
mov dword [rax + 8], ecx
mov rcx, rbp
lea edx, [r9 + 0x75]
call fcn.1400321c0
jmp 0x14005c813
mov eax, ecx
jmp 0x14005c815