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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov qword [rsp + 0x78], r9
mov rbp, r8
mov rbx, rcx
mov rdi, qword [rcx]
mov rcx, qword [rcx + 0x10]
mov r14, qword [r8 + 0x50]
jmp 0x140376404
cmp qword [r14], rdi
je 0x14037640c
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x1403763fb
xor r14d, r14d
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0xa4], eax
mov r12, qword [rsp + 0x130]
mov r13, qword [rsp + 0x128]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xa8], rax
movsx esi, word [rbp + 0x36]
lea r9d, [rsi + 2]
mov eax, dword [rdx + 0x4c]
mov dword [rsp + 0x48], eax
mov r15d, dword [rbx + 0x34]
lea eax, [r15 + 1]
mov dword [rbx + 0x34], eax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x98], rdx
mov edx, 0x76
mov r8d, r15d
mov dword [rsp + 0x5c], r9d
call fcn.140364e30
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x90], rax
mov ecx, dword [rbx + 0x38]
lea eax, [rcx + 1]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], rsi
add esi, ecx
add esi, 2
mov dword [rbx + 0x38], esi
cmp dword [rdx], 2
jge 0x1403765b2
mov qword [rsp + 0x80], rcx
lea edi, [rsi + 2]
mov dword [rbx + 0x38], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0
mov word [rsp + 0x30], 4
mov rcx, rbx
mov r8, r12
xor r9d, r9d
call fcn.14026eca0
test rax, rax
jne 0x1403764fb
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], r15
mov rsi, rbp
cmp word [rbp + 0x36], 0
jle 0x1403768e9
mov rax, qword [rsp + 0x80]
lea r15d, [rax + 3]
add qword [rsp + 0x78], 8
xor ebp, ebp
jmp 0x14037655b
shl rax, 5
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + rax]
lea r8d, [r15 + rbp]
mov rcx, rbx
call fcn.1401d78c0
inc rbp
movsx rax, word [rsi + 0x36]
cmp rbp, rax
jge 0x1403768e9
movsxd rax, dword [r13 + rbp*4]
test rax, rax
jns 0x140376531
lea eax, [r15 + rbp]
mov dword [rsp + 0x20], eax
mov r12d, edi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
mov edx, 0xb0
mov r8d, dword [rsp + 0x48]
mov r9d, ebp
call fcn.140364e30
movsxd rax, dword [rdi + 0x90]
mov edi, r12d
test rax, rax
jle 0x14037654a
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x88]
lea rax, [rax + rax*2]
mov word [rcx + rax*8 - 0x16], 1
jmp 0x14037654a
mov qword [rsp + 0x48], rdi
mov rdi, r12
test byte [rbp + 0x30], 0x80
mov qword [rsp + 0x50], r15
je 0x140376618
mov r12, qword [rbp + 0x10]
jmp 0x1403765d0
mov r12, qword [r12 + 0x28]
test r12, r12
je 0x1403765e4
mov eax, dword [r12 + 0x64]
and eax, 3
cmp eax, 2
jne 0x1403765cb
jmp 0x1403765e7
xor r12d, r12d
mov rax, qword [r12 + 8]
movsx r15, word [rax]
movsxd rax, dword [r13 + r15*4]
mov rsi, rbp
test rax, rax
js 0x140376ab8
shl rax, 5
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + rax + 8]
test rdx, rdx
jne 0x140376640
xor ebp, ebp
jmp 0x140376653
mov rsi, rbp
mov rdx, qword [rsp + 0xa8]
xor r12d, r12d
test rdx, rdx
jne 0x140376640
mov rcx, rbx
mov edx, Ordinal_79
xor r8d, r8d
xor r9d, r9d
call fcn.1401cce80
jmp 0x140376650
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
xor r9d, r9d
call fcn.1402698b0
mov rbp, rax
mov rcx, qword [rbx]
mov rdx, rbp
call fcn.140277430
mov rbp, rax
cmp word [rsi + 0x36], 0
jle 0x1403766f4
add qword [rsp + 0x78], 8
xor r15d, r15d
jmp 0x1403766d3
mov rcx, rbx
mov edx, Ordinal_79
xor r8d, r8d
xor r9d, r9d
call fcn.1401cce80
mov r8, rax
test rax, rax
je 0x1403766b5
lea eax, [r15 + 1]
mov word [r8 + 0x30], ax
mov byte [r8 + 2], 1
jmp 0x1403766b5
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
xor r9d, r9d
call fcn.1402698b0
mov r8, rax
mov rcx, rbx
mov rdx, rbp
call fcn.1401d5840
mov rbp, rax
inc r15
movsx rax, word [rsi + 0x36]
cmp r15, rax
mov rax, rdi
jge 0x1403766f7
movsxd rax, dword [r13 + r15*4]
test rax, rax
js 0x140376677
shl rax, 5
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx + rax]
test rdx, rdx
jne 0x1403766a2
xor r8d, r8d
jmp 0x1403766b5
mov rax, rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov r15, qword [rsp + 0x50]
mov edx, r15d
mov r8, r12
mov r9, rbp
call fcn.140376af0
test rbp, rbp
je 0x140376731
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
call fcn.140256bc0
mov qword [rsp + 0x68], 0
mov r12, qword [rsp + 0x60]
mov r13d, dword [rsp + 0x5c]
mov rbp, qword [rsp + 0x88]
mov rax, qword [rsp + 0x98]
cmp dword [rax], 1
jne 0x140376763
mov rcx, qword [rsp + 0x68]
call fcn.140274040
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, r12
mov edx, 0x24
mov r8d, r15d
xor r9d, r9d
call fcn.140364e30
mov qword [rsp + 0x90], rax
cmp bp, 0xffff
jl 0x1403767b4
mov rbp, qword [rsp + 0x70]
lea eax, [rdi + rbp]
mov dword [rsp + 0x20], eax
mov rcx, r12
mov edx, 0x69
mov r8d, r15d
mov r9d, edi
call fcn.140364e30
inc edi
cmp r13d, edi
jne 0x140376793
mov dil, 1
mov rcx, rbx
mov rdx, rsi
call fcn.140374880
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov rcx, r12
mov edx, 7
xor r8d, r8d
mov r9d, r13d
call fcn.140364e30
mov rcx, r12
mov edx, eax
mov r8, r14
mov r9d, 0xfffffff5
call fcn.1401d79c0
movsxd rax, dword [r12 + 0x90]
test rax, rax
jle 0x140376821
mov edx, dword [rsp + 0xa4]
cmp edx, 0xb
mov ecx, 2
cmovne ecx, edx
mov rdx, qword [r12 + 0x88]
lea rax, [rax + rax*2]
mov word [rdx + rax*8 - 0x16], cx
mov rax, qword [rbx + 0xa0]
test rax, rax
cmove rax, rbx
mov byte [rax + 0x21], 1
test dil, dil
jne 0x140376855
mov rcx, qword [rsp + 0x68]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140274040
mov rsi, qword [rsp + 0x90]
lea r9d, [rsi + 1]
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, Ordinal_41
mov r8d, r15d
call fcn.140364e30
mov eax, dword [r12 + 0x90]
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
je 0x1403768b5
lea rcx, [0x14044c9a0]
mov dword [rcx + 8], eax
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x7a
mov r8d, r15d
xor r9d, r9d
call fcn.140364e30
jmp 0x1403764e7
movsxd rcx, esi
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, qword [r12 + 0x88]
jmp 0x140376892
mov r15, qword [rsp + 0x50]
mov ecx, dword [rax + 0x64]
and ecx, 3
cmp ecx, 2
je 0x140376960
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1403768cf
jmp 0x14037695a
test byte [rsi + 0x30], 0x80
jne 0x140376964
mov dword [rsp + 0x20], 0
mov r12, qword [rsp + 0x60]
mov rcx, r12
mov edx, 0x87
mov ebp, dword [rsp + 0x48]
mov r8d, ebp
mov r9, qword [rsp + 0x70]
call fcn.140364e30
mov r9, qword [rsp + 0x80]
add r9d, 2
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14037693b
mov rcx, rbx
mov r8d, r9d
call fcn.1401d78c0
jmp 0x140376953
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x87
mov r8d, ebp
call fcn.140364e30
mov r15, qword [rsp + 0x50]
jmp 0x1403769d3
mov ebp, edi
xor eax, eax
jmp 0x14037697f
mov ebp, edi
jmp 0x14037697f
mov rax, qword [rsi + 0x10]
test rax, rax
mov rdx, qword [rsp + 0x70]
jne 0x1403768ca
mov ebp, edi
xor eax, eax
mov r15, qword [rsp + 0x50]
mov rax, qword [rax + 8]
movsx r13d, word [rax]
mov dword [rsp + 0x20], edx
mov r12, qword [rsp + 0x60]
mov rcx, r12
mov edx, 0xb0
mov r8d, dword [rsp + 0x48]
mov r9d, r13d
call fcn.140364e30
mov rax, qword [rsp + 0x80]
mov r9d, eax
add r9d, 2
lea r8d, [rax + r13]
add r8d, 3
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x51
call fcn.140364e30
mov edi, ebp
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x42], 0
mov r13d, dword [rsp + 0x5c]
je 0x140376a4a
mov rcx, qword [r12]
cmp byte [rcx + 0x67], 0
jne 0x140376a26
mov rdi, qword [r12 + 0x88]
movsxd rax, dword [rsp + 0x90]
lea r15, [rax + rax*2]
mov r8, qword [rdi + r15*8 + 0x10]
movsx edx, byte [rdi + r15*8 + 1]
call fcn.1401c0e80
mov qword [rdi + r15*8 + 0x10], 0
mov word [rdi + r15*8], ILCreateFromPathW
mov r15, qword [rsp + 0x50]
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, r12
mov edx, 0x7a
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
call fcn.140364e30
jmp 0x1403767b7
mov ebp, edi
mov rdi, qword [rsp + 0xb0]
inc edi
mov rax, qword [rbx + 0xa0]
test rax, rax
cmove rax, rbx
mov byte [rax + 0x20], 1
mov dword [rsp + 0x20], edi
mov rcx, r12
mov edx, WSASetLastError
mov r8, qword [rsp + 0x70]
mov r9d, r13d
call fcn.140364e30
mov dword [rsp + 0x20], 0
mov rcx, r12
mov edx, reloc.WLDAP32.dll_Ordinal_127
mov r8d, r15d
mov r9d, ebp
call fcn.140364e30
mov dword [rsp + 0x20], ebp
mov rcx, r12
mov edx, 0x80
mov r8d, r15d
mov r9d, edi
call fcn.140364e30
jmp 0x140376744
xor ebp, ebp
mov rcx, rbx
mov edx, Ordinal_79
xor r8d, r8d
xor r9d, r9d
call fcn.1401cce80
test rax, rax
je 0x140376653
inc r15d
mov word [rax + 0x30], r15w
jmp 0x140376650