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

Disassembly:
push rbx
push rsi
push r12
push r13
push r15
sub rsp, 0x20
mov rax, qword [rsp + 0x80]
mov r15d, 1
mov r13d, dword [rsp + 0x78]
mov esi, r9d
mov rbx, rcx
mov r12d, r15d
test rax, rax
je 0x14032b3a1
cmp byte [rax], 0x31
jne 0x14032b3a1
cmp dword [rsp + 0x88], 0x58
jne 0x14032b3a1
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
test rcx, rcx
je 0x14032b39a
xor edi, edi
mov qword [rcx + 0x20], rdi
cmp qword [rcx + 0x30], rdi
jne 0x14032b077
lea rax, [0x140338020]
mov qword [rcx + 0x40], rdi
mov qword [rcx + 0x30], rax
cmp qword [rcx + 0x38], rdi
jne 0x14032b088
lea rax, [0x1400de680]
mov qword [rcx + 0x38], rax
cmp edx, 0xffffffff
mov ebp, 6
cmovne ebp, edx
test esi, esi
jns 0x14032b09e
mov r12d, edi
neg esi
jmp 0x14032b0ac
cmp esi, 0xf
jle 0x14032b0ac
mov r12d, 2
sub esi, 0x10
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 8
ja 0x14032b39a
cmp r8d, 8
jne 0x14032b39a
lea eax, [rsi - 8]
cmp eax, 7
ja 0x14032b39a
cmp ebp, 9
ja 0x14032b39a
cmp r13d, 4
ja 0x14032b39a
mov rcx, qword [rcx + 0x40]
cmp esi, r8d
mov eax, 9
mov qword [rsp + 0x60], r14
mov r8d, 0x1720
mov edx, r15d
cmove esi, eax
call qword [rbx + 0x30]
mov r14, rax
test rax, rax
je 0x14032b393
mov qword [rbx + 0x28], rax
mov ecx, esi
mov dword [rax + 0x48], esi
mov r9d, r15d
mov esi, dword [rsp + 0x70]
mov r8d, 2
shl r9d, cl
mov qword [rax], rbx
mov dword [rax + 0x2c], r12d
mov qword [rax + 0x30], rdi
lea ecx, [rsi + 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, [rsi + 6]
mov dword [r14 + 0x1718], edi
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], rdi
je 0x14032b378
cmp qword [r14 + 0x60], rdi
je 0x14032b378
cmp qword [r14 + 0x68], rdi
je 0x14032b378
test rdx, rdx
je 0x14032b378
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 rsi, qword [rbx + 0x28]
test rsi, rsi
je 0x14032b355
cmp qword [rbx + 0x30], rdi
je 0x14032b355
cmp qword [rbx + 0x38], rdi
je 0x14032b355
mov dword [rbx + 0x1c], edi
mov dword [rbx + 0xc], edi
mov qword [rbx + 0x20], rdi
mov dword [rbx + 0x48], 2
mov rax, qword [rsi + 0x10]
mov ecx, dword [rsi + 0x2c]
mov qword [rsi + 0x20], rax
mov dword [rsi + 0x28], edi
test ecx, ecx
jns 0x14032b27f
neg ecx
mov dword [rsi + 0x2c], ecx
test ecx, ecx
mov edx, 0x2a
mov eax, WSAStartup
cmovne eax, edx
xor r8d, r8d
xor edx, edx
mov dword [rsi + 8], eax
cmp ecx, 2
jne 0x14032b2a4
xor ecx, ecx
call fcn.140337d10
jmp 0x14032b2ab
xor ecx, ecx
call fcn.140337a30
mov dword [rbx + 0x4c], eax
mov rcx, rsi
mov dword [rsi + 0x40], edi
call fcn.1403361b0
mov rbx, qword [rbx + 0x28]
xor edx, edx
mov eax, dword [rbx + 0x44]
mov ecx, dword [rbx + 0x74]
add eax, eax
mov dword [rbx + 0x58], eax
dec ecx
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*2], di
mov r8d, dword [rbx + 0x74]
mov rcx, qword [rbx + 0x68]
dec r8d
add r8, r8
call fcn.14039b120
movsxd rcx, dword [rbx + 0xac]
lea rdx, [0x1404ab550]
add rcx, rcx
movzx eax, word [rdx + rcx*8 + 2]
mov dword [rbx + 0xa8], eax
movzx eax, word [rdx + rcx*8]
mov dword [rbx + 0xb4], eax
movzx eax, word [rdx + rcx*8 + 4]
mov dword [rbx + 0xb8], eax
movzx eax, word [rdx + rcx*8 + 6]
mov dword [rbx + 0xa4], eax
mov qword [rbx + 0x90], rdi
mov dword [rbx + 0x84], edi
mov dword [rbx + 0x9c], edi
mov dword [rbx + 0x170c], edi
mov dword [rbx + 0xa0], 2
mov dword [rbx + 0x88], 2
mov dword [rbx + 0x70], edi
jmp 0x14032b35a
mov edi, 0xfffffffe
mov eax, edi
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r13
pop r12
pop rsi
pop rbx
ret
mov dword [r14 + 8], 0x29a
mov rcx, rbx
mov rax, qword [str.insufficient_memory]
mov qword [rbx + 0x20], rax
call fcn.14032af20
mov eax, 0xfffffffc
jmp 0x14032b35c
mov eax, 0xfffffffe
jmp 0x14032b361
mov eax, 0xfffffffa
add rsp, 0x20
pop r15
pop r13
pop r12
pop rsi
pop rbx
ret