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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rdx + 0x48]
mov r13, rcx
mov eax, dword [rcx + 0x54]
mov rdi, rdx
mov r12, qword [rcx + 0x10]
mov qword [rsp + 0x38], r12
movzx ecx, word [rbx + 0x18]
movzx r14d, word [rbx + 0x2e]
lea esi, [rax + 1]
mov rdx, qword [rbx + 0x20]
mov dword [rsp + 0xb8], ecx
lea r15d, [rcx + r9]
mov qword [rsp + 0x30], rbx
mov rcx, qword [r13]
add eax, r15d
mov dword [r13 + 0x54], eax
call fcn.140086cf0
mov rcx, qword [r13]
mov rdx, rax
call fcn.1400363b0
mov qword [rsp + 0xa0], rax
mov rcx, rax
test rax, rax
jne 0x1400a2013
mov rax, qword [r13]
mov byte [rax + 0x51], 1
mov qword [rsp + 0x58], rbp
test r14w, r14w
je 0x1400a211f
mov ebp, dword [rdi + 8]
mov edx, WSASetLastError
cmp dword [rsp + 0xb0], 0
mov eax, 0x6a
mov r8d, ebp
mov dword [rsp + 0x20], 0
cmovne edx, eax
mov rcx, r12
xor r9d, r9d
call fcn.140056030
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, r12
lea edx, [r9 + 0xe]
call fcn.140056030
cmp dword [rsp + 0xb0], 0
mov ebx, eax
mov eax, 0x3f
movzx edi, r14w
mov edx, 0x42
mov dword [rsp + 0x28], edi
cmovne edx, eax
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, ebp
mov rcx, r12
call fcn.140056360
mov r8, qword [rsp + 0xa8]
mov dword [r8 + 0x14], eax
mov ecx, dword [r12 + 0x3c]
mov rax, qword [r12 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov edx, dword [r12 + 0x3c]
test ebx, ebx
jns 0x1400a20c2
lea ebx, [rdx - 1]
mov rax, qword [r12]
cmp byte [rax + 0x51], 0
je 0x1400a20d5
lea rax, [0x140330198]
jmp 0x1400a20e5
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
lea rax, [rax + rcx*8]
xor ebx, ebx
mov dword [rax + 8], edx
test edi, edi
je 0x1400a21c2
lea eax, [rbx + rsi]
mov r9d, ebx
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov edx, Ordinal_50
mov rcx, r12
call fcn.140056030
inc ebx
cmp ebx, edi
jl 0x1400a20f2
mov rcx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x30]
mov r8, qword [rsp + 0xa8]
movzx r12d, r14w
cmp r12d, dword [rsp + 0xb8]
jae 0x1400a2395
movsxd rax, r15d
lea r14, [r12 + rcx]
mov r15, qword [rsp + 0x38]
lea rbp, [r12*8]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x38]
mov r9d, r12d
lea ebx, [r12 + rsi]
mov rcx, r13
mov dword [rsp + 0x28], ebx
mov rdi, qword [rax + rbp]
mov eax, dword [rsp + 0xb0]
mov rdx, rdi
mov dword [rsp + 0x20], eax
call fcn.1400a1db0
mov r8d, eax
cmp eax, ebx
je 0x1400a21f5
cmp qword [rsp + 0x40], 1
jne 0x1400a21dd
test esi, esi
je 0x1400a21d8
movzx edx, byte [r13 + 0x1f]
cmp dl, 8
jae 0x1400a21d8
xor ecx, ecx
lea rax, [r13 + 0x88]
cmp dword [rax + 0xc], esi
je 0x1400a21d4
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1400a21a1
movzx eax, dl
mov dword [r13 + rax*4 + 0x24], esi
mov esi, r8d
inc byte [r13 + 0x1f]
jmp 0x1400a21f5
mov rcx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x30]
jmp 0x1400a2127
mov byte [rax + 6], 1
mov esi, r8d
jmp 0x1400a21f5
mov r9d, ebx
mov dword [rsp + 0x20], 0
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, r15
call fcn.140056030
mov eax, 0x101
test word [rdi + 0x1a], ax
jne 0x1400a235b
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov eax, 0x800
test word [rdi + 0x1c], ax
jne 0x1400a22a3
mov rax, rbx
nop dword [rax]
movzx ecx, byte [rax]
add cl, 0x63
cmp cl, 1
ja 0x1400a2231
mov rax, qword [rax + 0x10]
jmp 0x1400a2220
movzx ecx, byte [rax]
cmp cl, 0x9f
jne 0x1400a223d
movzx ecx, byte [rax + 0x36]
cmp cl, 0x61
je 0x1400a22a3
cmp cl, 0x83
jbe 0x1400a227e
cmp cl, 0x86
jbe 0x1400a22a3
cmp cl, 0x9a
jne 0x1400a227e
test dword [rax + 4], 0x100000
jne 0x1400a227e
movzx ecx, word [rax + 0x30]
test cx, cx
js 0x1400a22a3
movsx rcx, cx
lea rdx, [rcx + rcx*2]
mov rcx, qword [rax + 0x40]
shl rdx, 4
mov rax, qword [rcx + 8]
cmp byte [rdx + rax + 0x28], 0
jne 0x1400a22a3
mov rdi, qword [rsp + 0xa8]
lea r8d, [r12 + rsi]
mov edx, Ordinal_79
mov dword [rsp + 0x20], 0
mov rcx, r15
mov r9d, dword [rdi + 0xc]
call fcn.140056030
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x1400a2363
movzx edi, byte [r14]
mov rcx, rbx
call fcn.14006b450
test al, al
je 0x1400a22d5
test dil, dil
je 0x1400a22da
cmp al, 0x43
jge 0x1400a22e5
cmp dil, 0x43
jl 0x1400a22e1
jmp 0x1400a22e5
test dil, dil
je 0x1400a22e1
add al, dil
cmp al, 0x41
jne 0x1400a22e5
mov byte [r14], 0x41
movzx edx, byte [r14]
cmp dl, 0x41
je 0x1400a2357
nop
movzx eax, byte [rbx]
add al, 0x63
cmp al, 1
ja 0x1400a22ff
mov rbx, qword [rbx + 0x10]
jmp 0x1400a22f0
movzx eax, byte [rbx]
cmp al, 0x9f
jne 0x1400a230a
movzx eax, byte [rbx + 0x36]
movzx ecx, al
sub ecx, 0x61
je 0x1400a234b
sub ecx, 0x23
je 0x1400a2341
sub ecx, 1
je 0x1400a2337
sub ecx, 1
je 0x1400a2357
cmp ecx, 0x14
jne 0x1400a235b
cmp word [rbx + 0x30], 0
jge 0x1400a235b
sub dl, 0x43
cmp dl, 1
jbe 0x1400a2357
jmp 0x1400a235b
sub dl, 0x43
test dl, 0xfd
jne 0x1400a235b
jmp 0x1400a2357
sub dl, 0x43
cmp dl, 1
ja 0x1400a235b
jmp 0x1400a2357
xor eax, eax
cmp dl, 0x42
sete al
test eax, eax
je 0x1400a235b
mov byte [r14], 0x41
mov rax, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
inc r12d
mov rbx, qword [rsp + 0x30]
add rbp, 8
inc r14
cmp r12d, dword [rsp + 0xb8]
jl 0x1400a2152
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
jmp 0x1400a23a0
mov rax, qword [rsp + 0xc0]
mov qword [rax], rcx
mov eax, esi
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret