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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
dec dword [rcx + 0x44]
mov r13, rdx
mov eax, dword [rcx + 0x44]
xor edx, edx
mov rsi, qword [rcx + 0x10]
mov rdi, rcx
mov rcx, qword [rsp + 0xc0]
mov r12d, r9d
mov r9d, dword [r8 + 0x14]
mov r11, r8
mov r14d, dword [r8 + 0x1c]
mov r15d, edx
mov rbx, qword [r8]
movzx ebp, byte [rcx]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x3c], eax
mov rax, qword [r13]
add rax, 8
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x44], ebp
mov qword [rsp + 0x48], rax
test r9d, r9d
je 0x1400627d7
mov r8d, dword [r8 + 0x10]
mov rcx, rsi
mov dword [rsp + 0x20], edx
mov edx, reloc.WLDAP32.dll_Ordinal_12
call fcn.14003153c
xor ecx, ecx
mov r9d, r14d
mov dword [rsp + 0x20], ecx
xor r8d, r8d
lea edx, [rcx + 0xb]
mov rcx, rsi
call fcn.14003153c
mov r14, qword [rsp + 0xb0]
mov rcx, rsi
mov edx, dword [r14 + 0x14]
call fcn.140031930
mov rcx, qword [rsp + 0xc0]
mov r11, r14
xor edx, edx
mov eax, dword [r11 + 0xc]
mov dword [rsp + 0x30], eax
cmp ebp, 9
je 0x140062861
cmp bpl, 0xd
je 0x140062861
cmp bpl, 0xa
je 0x140062861
mov al, byte [rdi + 0x1f]
test al, al
jne 0x140062802
inc dword [rdi + 0x38]
mov cl, dl
mov r10d, dword [rdi + 0x38]
jmp 0x140062812
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov r10d, dword [rdi + rcx*4 + 0xbc]
lea eax, [rbp - 0xc]
mov dword [rsp + 0xa0], r10d
test al, 0xfd
je 0x140062836
mov edx, r12d
mov rcx, rdi
call fcn.140047d0c
mov ebp, eax
xor edx, edx
mov eax, dword [rsp + 0x30]
jmp 0x14006286b
test cl, cl
jne 0x140062842
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x140062851
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xbc]
mov eax, dword [rsp + 0x30]
mov r12d, edx
mov dword [rsp + 0xb8], edx
jmp 0x14006286b
mov ebp, dword [rcx + 8]
mov dword [rsp + 0xa0], edx
mov r14d, dword [rbx]
sub r14d, dword [r11 + 8]
test byte [r11 + 0x24], 1
je 0x140062959
mov r13d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebx, dword [rdi + 0x38]
lea eax, [r13 + 1]
mov dword [rdi + 0x34], eax
cmp dword [r11 + 0x14], edx
je 0x1400628ad
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x11]
call fcn.14003153c
mov r15d, eax
lea ecx, [r12 + 1]
mov r9d, ebx
add ecx, r14d
mov r8d, r13d
mov dword [rsp + 0x20], ecx
mov edx, 0x74
mov rcx, rsi
call fcn.14003153c
xor r9d, r9d
test r15d, r15d
je 0x1400628e8
mov edx, r15d
mov rcx, rsi
call fcn.140031f18
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
mov r8d, dword [rsp + 0x30]
mov edx, Ordinal_36
mov dword [rsp + 0x20], r9d
mov rcx, rsi
mov r9d, dword [rsp + 0x38]
call fcn.14003153c
lea r15d, [rax + 1]
mov rax, qword [rsp + 0xa8]
mov dword [rsp + 0x40], r15d
xor r15d, r15d
mov r8d, dword [rax + 0x14]
test r8d, r8d
jle 0x14006293a
mov r9d, dword [rsp + 0x34]
lea edx, [r15 + 0x2f]
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.14003153c
mov r8d, dword [rsp + 0x30]
mov r9d, ebx
mov edx, Ordinal_127
mov dword [rsp + 0x20], r13d
mov rcx, rsi
call fcn.14003153c
mov eax, r15d
jmp 0x1400629a5
mov r9d, dword [rsp + 0x38]
mov r8d, eax
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov edx, Ordinal_36
call fcn.14003153c
mov r8d, dword [r13 + 0x14]
inc eax
mov dword [rsp + 0x40], eax
test r8d, r8d
jle 0x14006299b
mov r9d, dword [rsp + 0x34]
mov edx, 0x2f
mov rcx, rsi
mov dword [rsp + 0x20], 1
call fcn.14003153c
mov r13d, dword [rsp + 0x30]
mov eax, 1
mov r9, qword [rsp + 0x48]
lea r8d, [rax + r14]
mov dword [rsp + 0xa8], r8d
lea ebx, [r8 - 1]
movsxd rcx, r12d
test r12d, r12d
jle 0x1400629dc
lea rdx, [r9 + 0x20]
cmp word [rdx], r15w
lea eax, [rbx + 1]
lea rdx, [rdx + 0x28]
cmovne eax, ebx
mov ebx, eax
sub rcx, 1
jne 0x1400629c6
lea eax, [r12 - 1]
movsxd r14, eax
test eax, eax
js 0x140062a45
lea r12d, [rax + rbp]
lea rax, [r14 + 1]
lea rax, [r14 + rax*4]
lea r15, [r9 + rax*8]
xor eax, eax
cmp word [r15], ax
je 0x140062a09
movzx r9d, word [r15]
dec r9d
jmp 0x140062a0e
mov r9d, ebx
dec ebx
mov r8d, r13d
mov dword [rsp + 0x20], r12d
mov edx, 0x5a
mov rcx, rsi
call fcn.14003153c
xor eax, eax
dec r12d
sub r15, 0x28
sub r14, 1
jns 0x1400629fa
mov r8d, dword [rsp + 0xa8]
xor r15d, r15d
mov r12d, dword [rsp + 0xb8]
mov r14d, dword [rsp + 0x44]
mov ecx, r14d
sub ecx, 0xa
je 0x140062a8c
sub ecx, 1
je 0x140062b4a
sub ecx, 1
je 0x140062acc
cmp ecx, 2
je 0x140062acc
mov rbx, qword [rsp + 0xc0]
mov rcx, rsi
mov dword [rsp + 0x20], r15d
cmp r14b, 9
jne 0x140062abf
mov r8d, dword [rbx + 8]
mov r9d, r12d
mov edx, 0x51
call fcn.14003153c
mov r15d, dword [rsp + 0xa0]
mov r9d, 8
test r15d, r15d
je 0x140062bd6
cmp r14b, 0xb
jne 0x140062ba9
mov r8d, r12d
mov edx, ebp
mov rcx, rdi
call fcn.140047d60
jmp 0x140062bc1
mov r8d, dword [rbx + 4]
xor r9d, r9d
lea edx, [r9 + 0xe]
jmp 0x140062a87
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x5a
mov rcx, rsi
call fcn.14003153c
mov r8d, dword [rsp + 0x3c]
mov edx, Ordinal_122
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov r15d, dword [rsp + 0xa0]
mov r9d, r15d
call fcn.14003153c
mov r8d, dword [rsp + 0x3c]
mov r9d, ebp
mov edx, reloc.WLDAP32.dll_Ordinal_122
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.14003153c
movsxd rax, dword [rsi + 0x90]
test eax, eax
jle 0x140062a94
lea rcx, [rax + rax*2]
mov r9d, 8
mov rax, qword [rsi + 0x88]
mov word [rax + rcx*8 - 0x16], r9w
jmp 0x140062a9a
mov rbx, qword [rsp + 0xc0]
mov r9d, r12d
mov r15d, dword [rsp + 0xa0]
mov r8d, ebp
mov edx, Ordinal_96
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov rbx, qword [rbx + 0x10]
call fcn.14003153c
mov r9d, r12d
mov r8, rbx
mov edx, eax
mov rcx, rsi
call fcn.140031e2c
mov r8d, dword [rsp + 0x3c]
mov r9d, r15d
mov edx, Ordinal_133
mov dword [rsp + 0x28], r12d
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.14003184c
jmp 0x140062a94
test ebp, ebp
je 0x140062bc1
cmp byte [rdi + 0x1f], r9b
jae 0x140062bd6
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ebp
inc byte [rdi + 0x1f]
cmp byte [rdi + 0x1f], r9b
jae 0x140062bd6
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r15d
inc byte [rdi + 0x1f]
mov edx, dword [rsp + 0x34]
mov rcx, rsi
call fcn.140031930
mov r14, qword [rsp + 0xb0]
xor edi, edi
mov r9d, dword [rsp + 0x40]
mov rcx, rsi
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x20], edi
mov dl, byte [r14 + 0x24]
not dl
and edx, 1
lea edx, [rdx*2 + 3]
call fcn.14003153c
mov r8d, dword [r14 + 0x10]
test r8d, r8d
je 0x140062c2d
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x42]
mov rcx, rsi
call fcn.14003153c
mov edx, dword [rsp + 0x38]
mov rcx, rsi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140031930