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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
dec dword [rcx + 0x44]
mov eax, dword [rcx + 0x44]
mov rsi, qword [rcx + 0x10]
mov ebp, dword [r8 + 0x1c]
mov rbx, qword [r8]
mov dword [rsp + 0x38], eax
mov r13, rdx
xor edx, edx
mov rdi, rcx
mov rcx, qword [rsp + 0xd0]
mov r11d, r9d
mov r9d, dword [r8 + 0x14]
mov eax, dword [rcx + 4]
movzx r15d, byte [rcx]
mov r10, r8
mov dword [rsp + 0x44], eax
mov rax, qword [r13]
mov dword [rsp + 0x40], ebp
add rax, 8
mov r12d, edx
mov qword [rsp + 0x50], rax
cmp r9d, edx
je 0x1400646b6
mov r8d, dword [r8 + 0x10]
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_12
call fcn.140032364
and dword [rsp + 0x20], r12d
xor r8d, r8d
lea edx, [r8 + 0xb]
mov r9d, ebp
mov rcx, rsi
call fcn.140032364
mov rbp, qword [rsp + 0xc0]
mov rcx, rsi
mov edx, dword [rbp + 0x14]
call fcn.14003278c
mov r11d, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov r10, rbp
xor edx, edx
mov eax, dword [r10 + 0xc]
mov dword [rsp + 0x30], eax
cmp r15d, 9
je 0x14006474b
cmp r15d, 0xd
je 0x14006474b
cmp r15d, 0xa
je 0x14006474b
mov al, byte [rdi + 0x1f]
cmp al, dl
jne 0x1400646e3
inc dword [rdi + 0x38]
mov eax, dword [rdi + 0x38]
jmp 0x1400646f2
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0xbc]
mov dword [rsp + 0xb8], eax
cmp r15d, 0xc
je 0x14006471b
cmp r15d, 0xe
je 0x14006471b
mov edx, r11d
mov rcx, rdi
call fcn.140049624
xor edx, edx
mov r14d, eax
mov eax, dword [rsp + 0x30]
jmp 0x140064756
mov al, byte [rdi + 0x1f]
cmp al, dl
jne 0x14006472b
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x14006473b
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xbc]
mov eax, dword [rsp + 0x30]
mov r11d, edx
mov dword [rsp + 0xc8], edx
jmp 0x140064756
mov r14d, dword [rcx + 8]
mov dword [rsp + 0xb8], edx
mov ebp, dword [rbx]
sub ebp, dword [r10 + 8]
test byte [r10 + 0x24], 1
je 0x140064844
mov eax, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
mov dword [rsp + 0x34], eax
inc eax
mov dword [rdi + 0x34], eax
cmp dword [r10 + 0x14], edx
je 0x1400647a0
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rsi
call fcn.140032364
mov r11d, dword [rsp + 0xc8]
mov r12d, eax
mov r8d, dword [rsp + 0x34]
lea ecx, [rbp + r11 + 1]
mov r9d, ebx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov edx, 0x74
call fcn.140032364
xor r9d, r9d
cmp r12d, r9d
je 0x1400647da
mov edx, r12d
mov rcx, rsi
call fcn.140032d34
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r12d, dword [rsp + 0x30]
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x40]
mov r8d, r12d
mov edx, Ordinal_36
mov rcx, rsi
call fcn.140032364
mov r8d, dword [r13 + 0x14]
xor r13d, r13d
inc eax
cmp r8d, r13d
mov dword [rsp + 0x3c], eax
jle 0x140064824
mov r9d, dword [rsp + 0x38]
lea edx, [r13 + 0x2f]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140032364
mov eax, dword [rsp + 0x34]
mov r9d, ebx
mov r8d, r12d
mov edx, Ordinal_127
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.140032364
mov r11d, r13d
jmp 0x140064896
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x20], edx
mov r8d, eax
mov edx, Ordinal_36
mov rcx, rsi
call fcn.140032364
mov r8d, dword [r13 + 0x14]
xor r13d, r13d
inc eax
cmp r8d, r13d
mov dword [rsp + 0x3c], eax
jle 0x140064888
mov r9d, dword [rsp + 0x38]
lea edx, [r13 + 0x2f]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140032364
mov eax, dword [rsp + 0x30]
mov r11d, 1
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x50]
lea edx, [r11 + rbp]
movsxd rbp, dword [rsp + 0xc8]
cmp rbp, r13
mov dword [rsp + 0x48], edx
lea r12d, [rdx - 1]
mov rcx, rbp
jle 0x1400648ce
lea rax, [r8 + 0x20]
cmp word [rax], r13w
jne 0x1400648c4
inc r12d
add rax, 0x28
sub rcx, 1
jne 0x1400648bb
lea eax, [rbp - 1]
movsxd rbx, eax
cmp rbx, r13
jl 0x14006493e
mov edi, dword [rsp + 0x34]
lea r13d, [rax + r14]
lea rax, [rbx + rbx*4]
lea rbp, [r8 + rax*8 + 0x20]
xor eax, eax
cmp word [rbp], ax
je 0x1400648fc
movzx r9d, word [rbp]
dec r9d
jmp 0x140064902
mov r9d, r12d
dec r12d
mov r8d, edi
mov edx, 0x5a
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.140032364
dec rbx
xor eax, eax
dec r13d
sub rbp, 0x28
cmp rbx, rax
jge 0x1400648ec
mov rdi, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x48]
mov ebp, dword [rsp + 0xc8]
xor r13d, r13d
mov ecx, r15d
sub ecx, 0xa
je 0x14006497f
sub ecx, 1
je 0x140064a42
sub ecx, 1
je 0x1400649c0
cmp ecx, 2
je 0x1400649c0
mov rbx, qword [rsp + 0xd0]
mov dword [rsp + 0x20], r13d
mov rcx, rsi
cmp r15d, 9
jne 0x1400649b3
mov r8d, dword [rbx + 8]
mov r9d, ebp
lea edx, [r15 + 0x48]
call fcn.140032364
mov r12d, dword [rsp + 0xb8]
mov r9d, 8
cmp r12d, r13d
je 0x140064ad0
cmp r15d, 0xb
jne 0x140064aa1
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.140049678
jmp 0x140064abb
mov r8d, dword [rbx + 4]
xor r9d, r9d
lea edx, [r9 + 0xe]
jmp 0x14006497a
mov r8d, dword [rsp + 0x34]
mov r9d, edx
mov rcx, rsi
mov edx, 0x5a
mov dword [rsp + 0x20], r14d
call fcn.140032364
mov r12d, dword [rsp + 0xb8]
mov ebx, dword [rsp + 0x44]
mov r9d, r12d
mov r8d, ebx
mov edx, Ordinal_122
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.140032364
mov r9d, r14d
mov r8d, ebx
mov edx, reloc.WLDAP32.dll_Ordinal_122
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.140032364
movsxd r11, dword [rsi + 0x90]
cmp r11d, r13d
jle 0x140064987
mov rax, qword [rsi + 0x88]
lea rcx, [r11 + r11*2]
mov r9d, 8
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x14006498d
mov rbx, qword [rsp + 0xd0]
mov r12d, dword [rsp + 0xb8]
mov r9d, ebp
mov rbx, qword [rbx + 0x10]
mov r8d, r14d
mov edx, Ordinal_96
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.140032364
mov r9d, ebp
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.140032c40
mov r8d, dword [rsp + 0x44]
mov r9d, r12d
mov edx, Ordinal_133
mov rcx, rsi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r14d
call fcn.140032678
jmp 0x140064987
cmp r14d, r13d
je 0x140064abb
cmp byte [rdi + 0x1f], r9b
jae 0x140064ad0
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r14d
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x140064ad0
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r12d
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x38]
mov rcx, rsi
call fcn.14003278c
mov rbp, qword [rsp + 0xc0]
mov r9d, dword [rsp + 0x3c]
test byte [rbp + 0x24], 1
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], r13d
mov rcx, rsi
mov edx, 3
jne 0x140064b06
mov edx, 5
call fcn.140032364
mov r8d, dword [rbp + 0x10]
cmp r8d, r13d
je 0x140064b28
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x42]
call fcn.140032364
mov edx, dword [rsp + 0x40]
mov rcx, rsi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.14003278c