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

Disassembly:
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x20
mov rax, qword [rsp + 0x80]
mov r15d, 1
mov r13d, dword [rsp + 0x78]
mov edi, r9d
mov rbx, rcx
mov r12d, r15d
test rax, rax
je 0x1400c2397
cmp byte [rax], 0x31
jne 0x1400c2397
cmp dword [rsp + 0x88], 0x58
jne 0x1400c2397
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
test rcx, rcx
je 0x1400c2390
xor esi, esi
mov qword [rcx + 0x20], rsi
cmp qword [rcx + 0x30], rsi
jne 0x1400c2077
lea rax, [0x1400c6cd0]
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x30], rax
cmp qword [rcx + 0x38], rsi
jne 0x1400c2088
lea rax, [0x14005d970]
mov qword [rcx + 0x38], rax
cmp edx, 0xffffffff
mov ebp, 6
cmovne ebp, edx
test edi, edi
jns 0x1400c209e
mov r12d, esi
neg edi
jmp 0x1400c20ac
cmp edi, 0xf
jle 0x1400c20ac
mov r12d, 2
sub edi, 0x10
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 8
ja 0x1400c2390
cmp r8d, 8
jne 0x1400c2390
lea eax, [rdi - 8]
cmp eax, 7
ja 0x1400c2390
cmp ebp, 9
ja 0x1400c2390
cmp r13d, 4
ja 0x1400c2390
mov rcx, qword [rcx + 0x40]
cmp edi, r8d
mov eax, 9
mov qword [rsp + 0x60], r14
mov r8d, 0x1720
mov edx, r15d
cmove edi, eax
call qword [rbx + 0x30]
mov r14, rax
test rax, rax
je 0x1400c2389
mov qword [rbx + 0x28], rax
mov ecx, edi
mov dword [rax + 0x48], edi
mov r9d, r15d
mov edi, dword [rsp + 0x70]
mov r8d, 2
shl r9d, cl
mov qword [rax], rbx
mov dword [rax + 0x2c], r12d
mov qword [rax + 0x30], rsi
lea ecx, [rdi + 7]
mov dword [rax + 0x44], r9d
lea eax, [r9 - 1]
mov dword [r14 + 0x4c], eax
mov eax, r15d
shl eax, cl
mov dword [r14 + 0x74], eax
dec eax
mov dword [r14 + 0x7c], eax
mov eax, 0xaaaaaaab
mov dword [r14 + 0x78], ecx
add ecx, 2
mul ecx
shr edx, 1
mov dword [r14 + 0x80], edx
mov edx, r9d
mov rcx, qword [rbx + 0x40]
call qword [rbx + 0x30]
mov edx, dword [r14 + 0x44]
mov r8d, 2
mov qword [r14 + 0x50], rax
mov rcx, qword [rbx + 0x40]
call qword [rbx + 0x30]
mov edx, dword [r14 + 0x74]
mov r8d, 2
mov qword [r14 + 0x60], rax
mov rcx, qword [rbx + 0x40]
call qword [rbx + 0x30]
lea ecx, [rdi + 6]
mov dword [r14 + 0x1718], esi
shl r15d, cl
mov r8d, 4
mov dword [r14 + 0x16f0], r15d
mov edx, r15d
mov qword [r14 + 0x68], rax
mov rcx, qword [rbx + 0x40]
call qword [rbx + 0x30]
mov rdx, rax
mov ecx, dword [r14 + 0x16f0]
mov qword [r14 + 0x10], rax
lea eax, [rcx*4]
mov dword [r14 + 0x18], eax
cmp qword [r14 + 0x50], rsi
je 0x1400c236e
cmp qword [r14 + 0x60], rsi
je 0x1400c236e
cmp qword [r14 + 0x68], rsi
je 0x1400c236e
test rdx, rdx
je 0x1400c236e
mov eax, ecx
mov dword [r14 + 0xac], ebp
shr rax, 1
mov dword [r14 + 0xb0], r13d
mov byte [r14 + 0x3c], 8
lea rax, [rdx + rax*2]
mov qword [r14 + 0x16f8], rax
lea rax, [rdx + rcx*2]
add rcx, rax
mov qword [r14 + 0x16e8], rcx
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x1400c234b
cmp qword [rbx + 0x30], rsi
je 0x1400c234b
cmp qword [rbx + 0x38], rsi
je 0x1400c234b
mov dword [rbx + 0x1c], esi
mov dword [rbx + 0xc], esi
mov qword [rbx + 0x20], rsi
mov dword [rbx + 0x48], 2
mov rax, qword [rdi + 0x10]
mov ecx, dword [rdi + 0x2c]
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x28], esi
test ecx, ecx
jns 0x1400c227f
neg ecx
mov dword [rdi + 0x2c], ecx
test ecx, ecx
mov edx, 0x2a
mov eax, WSACleanup
cmovne eax, edx
xor r8d, r8d
xor edx, edx
mov dword [rdi + 8], eax
cmp ecx, 2
jne 0x1400c22a4
xor ecx, ecx
call fcn.1400c2ef0
jmp 0x1400c22ab
xor ecx, ecx
call fcn.1400c69f0
mov dword [rbx + 0x4c], eax
mov rcx, rdi
mov dword [rdi + 0x40], esi
call fcn.1400c5120
mov eax, dword [rdi + 0x44]
xor edx, edx
mov ecx, dword [rdi + 0x74]
add eax, eax
mov dword [rdi + 0x58], eax
dec ecx
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*2], si
mov r8d, dword [rdi + 0x74]
mov rcx, qword [rdi + 0x68]
dec r8d
add r8, r8
call sub.VCRUNTIME140.dll_memset
movsxd rcx, dword [rdi + 0xac]
lea rdx, [0x1400eb420]
add rcx, rcx
movzx eax, word [rdx + rcx*8 + 2]
mov dword [rdi + 0xa8], eax
movzx eax, word [rdx + rcx*8]
mov dword [rdi + 0xb4], eax
movzx eax, word [rdx + rcx*8 + 4]
mov dword [rdi + 0xb8], eax
movzx eax, word [rdx + rcx*8 + 6]
mov dword [rdi + 0xa4], eax
mov qword [rdi + 0x90], rsi
mov dword [rdi + 0x84], esi
mov dword [rdi + 0x9c], esi
mov dword [rdi + 0xa0], 2
mov dword [rdi + 0x88], 2
mov dword [rdi + 0x70], esi
jmp 0x1400c2350
mov esi, 0xfffffffe
mov eax, esi
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret
mov dword [r14 + 8], 0x29a
mov rcx, rbx
mov rax, qword [str.insufficient_memory]
mov qword [rbx + 0x20], rax
call fcn.1400c1f20
mov eax, 0xfffffffc
jmp 0x1400c2352
mov eax, 0xfffffffe
jmp 0x1400c2357
mov eax, 0xfffffffa
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret