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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x240
mov rax, qword [0x1406a2180]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x250]
add rax, 0x20
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0x80]
call fcn.1401032a0
mov qword [rsp + 0x88], rax
mov r8d, 1
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x88]
call fcn.1400c6ee0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x1c8]
call fcn.1400c29f0
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x44]
mov eax, dword [rax]
and eax, ecx
test eax, eax
je 0x1400b97d1
mov dword [rsp + 0x30], 1
jmp 0x1400b97d9
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400b982c
mov byte [rsp + 0x22], 0
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x258]
movzx ecx, byte [rsp + 0x22]
mov byte [rax], cl
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x258]
jmp 0x1400b9efa
mov rax, qword [rsp + 0x260]
mov rax, qword [rax]
mov qword [rsp + 0x1c0], rax
mov byte [rsp + 0x228], 0
lea rax, [rsp + 0x230]
mov qword [rsp + 0xa8], rax
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.1400c4ec0
nop
movzx eax, byte [rsp + 0x268]
test eax, eax
jne 0x1400b98e5
mov rax, qword [rsp + 0x250]
add rax, 0x70
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x250]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0xb0], rax
lea r9, [rsp + 0x228]
mov r8b, 5
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.1400c7610
movzx eax, al
test eax, eax
jne 0x1400b98e5
mov byte [rsp + 0x20], 0
jmp 0x1400b98ea
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x1400b9962
mov byte [rsp + 0x24], 0
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x258]
movzx ecx, byte [rsp + 0x24]
mov byte [rax], cl
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x230]
mov qword [rsp + 0xc8], rax
movzx edx, byte [rsp + 0x228]
mov rcx, qword [rsp + 0xc8]
call fcn.1401013c0
mov rax, qword [rsp + 0x258]
jmp 0x1400b9efa
mov rax, qword [rsp + 0x250]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x1400b9990
mov dword [rsp + 0x34], 1
jmp 0x1400b9998
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x1400b9aa9
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x228]
mov byte [rax], cl
mov rax, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 8], rax
mov byte [rsp + 0x228], 0
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax]
call fcn.1400c5d10
mov byte [rsp + 0x26], 1
mov rax, qword [rsp + 0x250]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x258]
movzx ecx, byte [rsp + 0x26]
mov byte [rax], cl
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0xe8]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x230]
mov qword [rsp + 0xf0], rax
movzx edx, byte [rsp + 0x228]
mov rcx, qword [rsp + 0xf0]
call fcn.1401013c0
mov rax, qword [rsp + 0x258]
jmp 0x1400b9efa
mov rax, qword [rsp + 0x250]
add rax, 8
mov qword [rsp + 0xf8], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0xf8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
cmp qword [rax], 0
jne 0x1400b9b4e
mov byte [rsp + 0x27], 0
mov qword [rsp + 0x108], 0
mov rax, qword [rsp + 0x258]
movzx ecx, byte [rsp + 0x27]
mov byte [rax], cl
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x108]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x230]
mov qword [rsp + 0x110], rax
movzx edx, byte [rsp + 0x228]
mov rcx, qword [rsp + 0x110]
call fcn.1401013c0
mov rax, qword [rsp + 0x258]
jmp 0x1400b9efa
mov rax, qword [rsp + 0x250]
add rax, 8
mov qword [rsp + 0x118], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x118]
add rax, qword [rcx + 8]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
cmp byte [rax], 2
jne 0x1400b9ba9
mov dword [rsp + 0x38], 1
jmp 0x1400b9bb1
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400b9d03
mov rax, qword [rsp + 0x250]
add rax, 8
mov qword [rsp + 0x130], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0x140]
call fcn.1400b1ec0
mov byte [rsp + 0x29], 1
mov rax, qword [rsp + 0x250]
add rax, 8
mov qword [rsp + 0x148], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x148]
add rax, qword [rcx + 8]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x160]
add rax, qword [rcx + 8]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x258]
movzx ecx, byte [rsp + 0x29]
mov byte [rax], cl
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x170]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x230]
mov qword [rsp + 0x178], rax
movzx edx, byte [rsp + 0x228]
mov rcx, qword [rsp + 0x178]
call fcn.1401013c0
mov rax, qword [rsp + 0x258]
jmp 0x1400b9efa
mov rax, qword [rsp + 0x250]
add rax, 0x40
mov qword [rsp + 0x180], rax
lea rdx, [rsp + 0x208]
mov rcx, qword [rsp + 0x180]
call fcn.1400e8560
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x48], ecx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x188]
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rax]
and eax, ecx
test eax, eax
je 0x1400b9d7e
mov dword [rsp + 0x3c], 1
jmp 0x1400b9d86
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x2a], al
mov rax, qword [rsp + 0x250]
add rax, 0x40
mov rcx, rax
call fcn.1401530e0
movzx eax, byte [rsp + 0x2a]
test eax, eax
jne 0x1400b9e12
mov byte [rsp + 0x2b], 0
mov qword [rsp + 0x190], 0
mov rax, qword [rsp + 0x258]
movzx ecx, byte [rsp + 0x2b]
mov byte [rax], cl
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x190]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x230]
mov qword [rsp + 0x198], rax
movzx edx, byte [rsp + 0x228]
mov rcx, qword [rsp + 0x198]
call fcn.1401013c0
mov rax, qword [rsp + 0x258]
jmp 0x1400b9efa
lea rax, [rsp + 0x218]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rsp + 0x228]
mov byte [rax], cl
mov rax, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 8], rax
mov byte [rsp + 0x228], 0
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax + 0x60]
call fcn.1400c5d10
mov byte [rsp + 0x2c], 1
mov rax, qword [rsp + 0x258]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax], cl
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
mov rcx, qword [rcx + 0x60]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x230]
mov qword [rsp + 0x1b8], rax
movzx edx, byte [rsp + 0x228]
mov rcx, qword [rsp + 0x1b8]
call fcn.1401013c0
mov rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1401ba160
add rsp, 0x240
pop rdi
ret