Function at 0x1400642e4
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 0x1400643aa
mov r8d, dword [r8 + 0x10]
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_12
call fcn.140032058
and dword [rsp + 0x20], r12d
xor r8d, r8d
lea edx, [r8 + 0xb]
mov r9d, ebp
mov rcx, rsi
call fcn.140032058
mov rbp, qword [rsp + 0xc0]
mov rcx, rsi
mov edx, dword [rbp + 0x14]
call fcn.140032480
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 0x14006443f
cmp r15d, 0xd
je 0x14006443f
cmp r15d, 0xa
je 0x14006443f
mov al, byte [rdi + 0x1f]
cmp al, dl
jne 0x1400643d7
inc dword [rdi + 0x38]
mov eax, dword [rdi + 0x38]
jmp 0x1400643e6
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 0x14006440f
cmp r15d, 0xe
je 0x14006440f
mov edx, r11d
mov rcx, rdi
call fcn.140049318
xor edx, edx
mov r14d, eax
mov eax, dword [rsp + 0x30]
jmp 0x14006444a
mov al, byte [rdi + 0x1f]
cmp al, dl
jne 0x14006441f
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x14006442f
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 0x14006444a
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 0x140064538
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 0x140064494
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rsi
call fcn.140032058
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.140032058
xor r9d, r9d
cmp r12d, r9d
je 0x1400644ce
mov edx, r12d
mov rcx, rsi
call fcn.140032a28
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.140032058
mov r8d, dword [r13 + 0x14]
xor r13d, r13d
inc eax
cmp r8d, r13d
mov dword [rsp + 0x3c], eax
jle 0x140064518
mov r9d, dword [rsp + 0x38]
lea edx, [r13 + 0x2f]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140032058
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.140032058
mov r11d, r13d
jmp 0x14006458a
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x20], edx
mov r8d, eax
mov edx, Ordinal_36
mov rcx, rsi
call fcn.140032058
mov r8d, dword [r13 + 0x14]
xor r13d, r13d
inc eax
cmp r8d, r13d
mov dword [rsp + 0x3c], eax
jle 0x14006457c
mov r9d, dword [rsp + 0x38]
lea edx, [r13 + 0x2f]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.140032058
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 0x1400645c2
lea rax, [r8 + 0x20]
cmp word [rax], r13w
jne 0x1400645b8
inc r12d
add rax, 0x28
sub rcx, 1
jne 0x1400645af
lea eax, [rbp - 1]
movsxd rbx, eax
cmp rbx, r13
jl 0x140064632
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 0x1400645f0
movzx r9d, word [rbp]
dec r9d
jmp 0x1400645f6
mov r9d, r12d
dec r12d
mov r8d, edi
mov edx, 0x5a
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.140032058
dec rbx
xor eax, eax
dec r13d
sub rbp, 0x28
cmp rbx, rax
jge 0x1400645e0
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 0x140064673
sub ecx, 1
je 0x140064736
sub ecx, 1
je 0x1400646b4
cmp ecx, 2
je 0x1400646b4
mov rbx, qword [rsp + 0xd0]
mov dword [rsp + 0x20], r13d
mov rcx, rsi
cmp r15d, 9
jne 0x1400646a7
mov r8d, dword [rbx + 8]
mov r9d, ebp
lea edx, [r15 + 0x48]
call fcn.140032058
mov r12d, dword [rsp + 0xb8]
mov r9d, 8
cmp r12d, r13d
je 0x1400647c4
cmp r15d, 0xb
jne 0x140064795
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.14004936c
jmp 0x1400647af
mov r8d, dword [rbx + 4]
xor r9d, r9d
lea edx, [r9 + 0xe]
jmp 0x14006466e
mov r8d, dword [rsp + 0x34]
mov r9d, edx
mov rcx, rsi
mov edx, 0x5a
mov dword [rsp + 0x20], r14d
call fcn.140032058
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.140032058
mov r9d, r14d
mov r8d, ebx
mov edx, reloc.WLDAP32.dll_Ordinal_122
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.140032058
movsxd r11, dword [rsi + 0x90]
cmp r11d, r13d
jle 0x14006467b
mov rax, qword [rsi + 0x88]
lea rcx, [r11 + r11*2]
mov r9d, 8
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x140064681
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.140032058
mov r9d, ebp
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.140032934
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.14003236c
jmp 0x14006467b
cmp r14d, r13d
je 0x1400647af
cmp byte [rdi + 0x1f], r9b
jae 0x1400647c4
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r14d
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x1400647c4
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.140032480
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 0x1400647fa
mov edx, 5
call fcn.140032058
mov r8d, dword [rbp + 0x10]
cmp r8d, r13d
je 0x14006481c
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x42]
call fcn.140032058
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.140032480