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

Disassembly:
mov qword [rsp + 0x20], r9
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, 0xa8
mov rdi, qword [rcx + 0x10]
xor eax, eax
mov rsi, r8
mov qword [rsp + 0x40], rax
mov r15, rdx
mov dword [rsp + 0x64], eax
mov rbx, rcx
mov dword [rsp + 0x68], eax
lea edx, [rax + 0x11]
mov qword [rsp + 0x90], rdi
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov rcx, rdi
mov r12b, al
mov r14d, eax
call fcn.14007d9f8
mov rcx, qword [rsi + 0x20]
lea r10d, [r14 + 3]
mov rsi, qword [r15 + 0x20]
xor r11d, r11d
mov dword [rsp + 0x78], eax
mov r13d, r11d
movsxd rax, dword [r15 + 0x14]
mov r9d, r11d
imul r15, rax, 0x38
mov rax, qword [rsp + 0x110]
movabs r8, 0x8000000000000000
add r15, rsi
mov dword [rsp + 0xf0], r11d
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x48], r15
mov rdx, qword [rax + 0x50]
lea eax, [r14 + 1]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], r11
cmp rsi, r15
jae 0x1400ca7ed
jmp 0x1400ca5e3
mov r14, qword [rsp + 0x40]
mov rbp, qword [rsi]
cmp qword [rdx], r11
jne 0x1400ca6f7
test byte [rsi + 0x12], 2
jne 0x1400ca6f7
test byte [rbp + 4], al
jne 0x1400ca6f7
mov rax, qword [rsp + 0x100]
mov edx, r10d
mov rcx, rbp
mov r8d, dword [rax + 0x44]
call fcn.140092574
test eax, eax
je 0x1400ca6f7
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
call fcn.140091588
mov r15, qword [rbx]
mov rbp, rax
test r14, r14
jne 0x1400ca647
mov qword [rsp + 0x40], rax
jmp 0x1400ca6f2
test rbp, rbp
je 0x1400ca6f2
mov eax, dword [r14 + 4]
mov ecx, 0x20000001
and eax, ecx
lea edx, [rcx - 1]
cmp eax, edx
je 0x1400ca66b
mov eax, dword [rbp + 4]
and eax, ecx
cmp eax, edx
jne 0x1400ca6da
cmp byte [rbx + 0x10c], 2
jae 0x1400ca6da
mov rdx, qword [rbx + 0x58]
mov r8, r14
mov rcx, rbx
call fcn.140092098
mov r8, rbp
mov qword [rbx + 0x58], rax
mov rdx, rax
mov rcx, rbx
call fcn.140092098
mov qword [rbx + 0x58], rax
lea r8, [rsp + 0x80]
lea rax, str.0_:_n
mov r14d, 1
xor r9d, r9d
mov qword [rsp + 0x80], rax
mov edx, 0x9a
mov dword [rsp + 0x88], r14d
mov rcx, r15
call fcn.140090cf4
mov r15, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x1400ca6fd
mov r9, rbp
mov r8, r14
mov edx, Ordinal_45
mov rcx, rbx
call fcn.140090eb0
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x48]
mov r14d, 1
mov r8, qword [rsp + 0x108]
mov rcx, rsi
mov rdx, qword [rsp + 0x100]
call fcn.1400ca4ac
xor r11d, r11d
test eax, eax
je 0x1400ca7be
movsxd rcx, dword [rsi + 0x20]
mov rbp, r14
shl rbp, cl
movabs rax, 0x8000000000000000
cmp ecx, 0x40
cmovge rbp, rax
test r12b, r12b
jne 0x1400ca76b
mov rax, qword [rsp + 0x70]
lea rcx, [rcx + rcx*2]
lea rdx, str.automatic_index_on__s__s_
mov r9, qword [rax + 8]
mov r8, qword [rax]
mov r9, qword [r9 + rcx*8]
mov ecx, 0x11c
call fcn.140061ec0
xor r11d, r11d
mov r12b, r14b
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
test r9, rbp
jne 0x1400ca7c8
mov rcx, qword [rbx]
lea r14d, [r13 + 1]
mov r8d, r14d
call fcn.1400cb0e4
xor r11d, r11d
test eax, eax
jne 0x1400cacf4
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
or r9, rbp
movsxd rcx, r13d
mov r13d, r14d
mov dword [rsp + 0xf0], r14d
mov qword [rsp + 0x50], r9
mov rax, qword [rdx + 0x38]
mov qword [rax + rcx*8], rsi
jmp 0x1400ca7c8
mov r9, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov eax, 1
add rsi, 0x38
lea r10d, [rax + 2]
cmp rsi, r15
jb 0x1400ca5de
mov rcx, qword [rsp + 0x70]
movabs r8, 0x8000000000000000
mov r10, qword [rsp + 0x100]
not r9
or r9, r8
mov word [rdx + 0x2c], r13w
mov word [rdx + 0x18], r13w
mov r15d, 0x3f
mov dword [rdx + 0x28], 0x4241
mov edx, r11d
and r9, qword [r10 + 0x58]
movsx r8d, word [rcx + 0x36]
mov qword [rsp + 0x50], r9
cmp r15w, r8w
jge 0x1400ca82e
mov ebp, r15d
jmp 0x1400ca83c
mov dword [rsp + 0x60], r8d
mov ebp, r8d
cmp r11w, r8w
jge 0x1400ca863
mov eax, edx
mov ecx, r13d
inc r13d
bt r9, rax
mov eax, 1
cmovae r13d, ecx
add edx, eax
cmp edx, ebp
jl 0x1400ca83c
mov dword [rsp + 0xf0], r13d
mov dword [rsp + 0x60], ebp
cmp qword [r10 + 0x58], r11
jge 0x1400ca87d
lea eax, [r8 - 0x3f]
add r13d, eax
mov eax, 1
mov dword [rsp + 0xf0], r13d
mov rcx, qword [rbx]
lea edx, [rax + r13]
lea r9, [rsp + 0x80]
xor r8d, r8d
call fcn.1400a1c14
xor r11d, r11d
mov r14, rax
test rax, rax
je 0x1400cacf4
mov rax, qword [rsp + 0x58]
mov r12d, r11d
mov rsi, qword [rsp + 0xf8]
mov r10, qword [rsp + 0x70]
mov qword [rax + 0x20], r14
lea rax, str.auto_index
mov qword [r14], rax
mov qword [r14 + 0x18], r10
mov rsi, qword [rsi + 0x20]
cmp rsi, qword [rsp + 0x48]
jae 0x1400ca9b6
mov r13, qword [rsp + 0x48]
mov edi, r11d
mov r15d, r11d
mov ebp, r11d
mov r8, qword [rsp + 0x108]
mov rcx, rsi
mov rdx, qword [rsp + 0x100]
call fcn.1400ca4ac
xor r11d, r11d
test eax, eax
je 0x1400ca98a
mov ecx, dword [rsi + 0x20]
lea eax, [r11 + 1]
shl rax, cl
cmp ecx, 0x40
movabs rcx, 0x8000000000000000
cmovge rax, rcx
test rbp, rax
jne 0x1400ca98a
mov rdx, qword [rsi]
or rbp, rax
mov rcx, qword [r14 + 8]
movzx eax, word [rsi + 0x20]
mov word [r15 + rcx], ax
test dword [rdx + 4], 0x200
je 0x1400ca950
mov rax, qword [rdx + 0x18]
mov r8, qword [rdx + 0x10]
jmp 0x1400ca958
mov rax, qword [rdx + 0x10]
mov r8, qword [rdx + 0x18]
mov rdx, rax
mov rcx, rbx
call fcn.14009050c
xor r11d, r11d
test rax, rax
je 0x1400ca970
mov rcx, qword [rax]
jmp 0x1400ca977
lea rcx, str.BINARY
mov rax, qword [r14 + 0x40]
inc r12d
add r15, 2
mov qword [rdi + rax], rcx
add rdi, 8
add rsi, 0x38
cmp rsi, r13
jb 0x1400ca8e7
mov rdi, qword [rsp + 0x90]
mov r15d, 0x3f
mov ebp, dword [rsp + 0x60]
mov r13d, dword [rsp + 0xf0]
mov r10, qword [rsp + 0x70]
mov ecx, r11d
mov esi, 1
test ebp, ebp
jle 0x1400caa0a
mov r9, qword [rsp + 0x50]
lea r11, str.BINARY
movsxd rax, r12d
lea rdx, [rax*8]
lea r8, [rax + rax]
mov eax, ecx
bt r9, rax
jae 0x1400caa01
mov rax, qword [r14 + 8]
add r12d, esi
mov word [r8 + rax], cx
add r8, 2
mov rax, qword [r14 + 0x40]
mov qword [rdx + rax], r11
add rdx, 8
add ecx, esi
cmp ecx, ebp
jl 0x1400ca9dd
xor r11d, r11d
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x58], r11
jge 0x1400caa5e
cmp r15w, word [r10 + 0x36]
jge 0x1400caa5e
movsxd rax, r12d
lea r8, str.BINARY
lea rcx, [rax*8]
lea rdx, [rax + rax]
mov rax, qword [r14 + 8]
add r12d, esi
mov word [rdx + rax], r15w
add r15d, esi
mov rax, qword [r14 + 0x40]
lea rdx, [rdx + 2]
mov qword [rcx + rax], r8
lea rcx, [rcx + 8]
movsx eax, word [r10 + 0x36]
cmp r15d, eax
jl 0x1400caa35
mov rax, qword [r14 + 8]
lea r9d, [r13 + 1]
mov rsi, qword [rsp + 0x110]
or edx, 0xffffffff
movsxd rcx, r12d
mov dword [rsp + 0x20], r11d
mov word [rax + rcx*2], dx
lea rdx, str.BINARY
mov rax, qword [r14 + 0x40]
mov qword [rax + rcx*8], rdx
mov edx, WSAStartup
mov eax, dword [rbx + 0x34]
mov rcx, rdi
mov dword [rsi + 8], eax
inc dword [rbx + 0x34]
mov r8d, dword [rsi + 8]
call fcn.14007d9f8
mov rdx, r14
mov rcx, rbx
call fcn.14007e500
movzx eax, byte [rsi + 0x34]
imul rbp, rax, 0x70
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov r15, qword [rax + 8]
mov eax, reloc.WS2_32.dll_recv
test byte [r15 + rbp + 0x48], al
je 0x1400cab16
mov esi, dword [r15 + rbp + 0x3c]
lea edx, [rax + 0x36]
xor ecx, ecx
xor r9d, r9d
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov rcx, rdi
call fcn.14007d9f8
mov ecx, dword [r15 + rbp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], ecx
mov r8d, esi
mov rcx, rdi
mov dword [rsp + 0x68], eax
lea edx, [r9 + 0xd]
call fcn.14007d9f8
mov edx, reloc.WS2_32.dll_ntohl
jmp 0x1400cab1e
mov esi, dword [rsi + 4]
mov edx, Ordinal_41
xor eax, eax
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.14007d9f8
mov r13d, eax
xor ecx, ecx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400cab6b
dec dword [rbx + 0x44]
mov r9d, reloc.WS2_32.dll_recv
mov ecx, dword [rbx + 0x44]
mov rdx, rax
mov dword [rsp + 0x64], ecx
mov r8d, ecx
mov rcx, rbx
call fcn.14009623c
mov rax, qword [rsp + 0x58]
bts dword [rax + 0x28], 0x11
xor ecx, ecx
mov al, byte [rbx + 0x1f]
test al, al
jne 0x1400cab7a
inc dword [rbx + 0x38]
mov esi, dword [rbx + 0x38]
jmp 0x1400cab89
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0xc8]
mov rax, qword [rsp + 0x110]
mov r9d, esi
mov dword [rsp + 0x38], ecx
mov rdx, r14
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov r8d, dword [rax + 4]
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.1400a5d7c
mov r14d, eax
mov r9d, esi
xor eax, eax
mov edx, 0x88
mov dword [rsp + 0x20], eax
mov rcx, rdi
mov rax, qword [rsp + 0x110]
mov r8d, dword [rax + 8]
call fcn.14007d9f8
movsxd rcx, dword [rdi + 0x98]
xor r8d, r8d
test ecx, ecx
jle 0x1400cabfc
mov rax, qword [rdi + 0x90]
lea rdx, [rcx + rcx*2]
lea ecx, [r8 + 0x10]
mov word [rax + rdx*8 - 0x16], cx
cmp qword [rsp + 0x40], r8
je 0x1400cac12
mov edx, dword [rsp + 0x64]
mov rcx, rdi
call fcn.14007df4c
xor r8d, r8d
mov eax, reloc.WS2_32.dll_recv
mov rcx, rdi
test byte [r15 + rbp + 0x48], al
je 0x1400cac74
mov edx, dword [rsp + 0x68]
lea r9d, [r14 + r12]
call fcn.14007e52c
mov rcx, qword [rsp + 0x110]
mov edx, r13d
mov dword [rax + 8], r9d
mov eax, dword [rcx + 8]
mov r8d, dword [rcx + 4]
mov rcx, rbx
mov r9d, dword [r15 + rbp + 0x40]
mov dword [rsp + 0x20], eax
call fcn.1400ca418
xor eax, eax
mov r9d, r13d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0xb]
call fcn.14007d9f8
and dword [r15 + rbp + 0x48], 0xffffffef
jmp 0x1400cacb3
mov rax, qword [rsp + 0x110]
lea r9d, [r13 + 1]
mov dword [rsp + 0x20], r8d
mov edx, 5
mov r8d, dword [rax + 4]
call fcn.14007d9f8
movsxd rax, dword [rdi + 0x98]
test eax, eax
jle 0x1400cacb3
lea rcx, [rax + rax*2]
mov edx, 3
mov rax, qword [rdi + 0x90]
mov word [rax + rcx*8 - 0x16], dx
mov edx, r13d
mov rcx, rdi
call fcn.14007e52c
mov ecx, dword [rdi + 0x98]
mov dword [rax + 8], ecx
test esi, esi
je 0x1400cacdf
cmp byte [rbx + 0x1f], 8
jae 0x1400cacdf
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xc8], esi
inc byte [rbx + 0x1f]
mov edx, dword [rsp + 0x78]
mov rcx, rdi
call fcn.14007e52c
mov ecx, dword [rdi + 0x98]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400cad09
mov rcx, qword [rbx]
mov rdx, rax
call fcn.140091400
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret