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

Disassembly:
sub rsp, 0x108
mov rax, qword [0x14021c080]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rax, qword [0x1402d5a78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3a], 0
call fcn.1400b09c0
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x1400b68c5
mov dword [rsp + 0x54], 1
jmp 0x1400b68cd
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x1400b68ef
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1fa8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1fb0], 0
je 0x1400b697a
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1fa8], 0
jne 0x1400b697a
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x140209bbc]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1fc4]
subss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
call fcn.1400bbf30
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1fc4], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1ff4]
jb 0x1400b697a
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1fc4]
jb 0x1400b697a
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1fb0], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400b69b2
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1fa8], 0
jne 0x1400b69b2
mov edx, 1
mov ecx, 3
call fcn.140099840
movzx eax, al
test eax, eax
je 0x1400b69b2
mov dword [rsp + 0x58], 1
jmp 0x1400b69ba
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400b6a14
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1fa8], 0
jne 0x1400b6a14
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
je 0x1400b6a14
mov dl, 1
xor ecx, ecx
call fcn.140099790
movzx eax, al
test eax, eax
je 0x1400b6a14
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x1400b6a14
mov dword [rsp + 0x5c], 1
jmp 0x1400b6a1c
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x1400b6a3b
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400b6b48
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1e78], 0
je 0x1400b6a60
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1e78]
mov qword [rsp + 0xa0], rax
jmp 0x1400b6a87
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c70]
dec eax
mov r8d, 0xffffffff
mov edx, 0x80000001
mov ecx, eax
call fcn.1400b6690
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x1400b6b48
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x3a0]
mov qword [rax + 0x1fb0], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x1fb0]
mov qword [rax + 0x1fa8], rcx
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1fc4], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1fc0], xmm0
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400b6b09
mov byte [rsp + 0x3b], 0
jmp 0x1400b6b0e
mov byte [rsp + 0x3b], 1
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3b]
mov byte [rax + 0x1fc8], cl
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400b6b31
mov dword [rsp + 0x60], 2
jmp 0x1400b6b39
mov dword [rsp + 0x60], 3
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x1eac], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1fc0]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1fc0], xmm0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1fa8], 0
je 0x1400b6d04
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1eac], 3
jne 0x1400b6d04
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1fc0]
subss xmm0, dword [0x14020986c]
divss xmm0, dword [0x1402097dc]
call fcn.140096f30
movss dword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1fc4]
movss dword [rsp + 0x8c], xmm0
movss xmm1, dword [rsp + 0x88]
movss xmm0, dword [rsp + 0x8c]
call fcn.1400bbf30
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1fc4], xmm0
mov edx, 4
mov ecx, ntohl
call fcn.140099840
movzx eax, al
mov dword [rsp + 0x90], eax
mov edx, 4
mov ecx, reloc.WS2_32.dll_listen
call fcn.140099840
movzx eax, al
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1400b6c55
mov ecx, dword [rsp + 0x64]
call fcn.1400b6750
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x140209a74]
movss dword [rax + 0x1fc4], xmm0
mov ecx, 3
call fcn.1400997f0
movzx eax, al
test eax, eax
jne 0x1400b6d04
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x140209a74]
comiss xmm0, dword [rax + 0x1fc4]
jbe 0x1400b6c8a
mov dword [rsp + 0x68], 1
jmp 0x1400b6c92
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1fc8]
and eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x1fc8], al
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1fc8]
test eax, eax
je 0x1400b6cd3
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1e78], 0
je 0x1400b6cd3
mov byte [rsp + 0x3a], 1
jmp 0x1400b6cf4
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1fc8]
test eax, eax
jne 0x1400b6cf4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1fa8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1fa8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1fa8], 0
je 0x1400b6dde
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1eac], 2
jne 0x1400b6dde
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1fc0]
subss xmm0, dword [0x14020986c]
divss xmm0, dword [0x1402097dc]
call fcn.140096f30
movss dword [rsp + 0x74], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1fc4]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rsp + 0x74]
movss xmm0, dword [rsp + 0x78]
call fcn.1400bbf30
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1fc4], xmm0
mov dl, 1
xor ecx, ecx
call fcn.140099790
movzx eax, al
test eax, eax
je 0x1400b6dbd
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
je 0x1400b6dac
mov dword [rsp + 0x6c], 1
jmp 0x1400b6db4
mov dword [rsp + 0x6c], 0xffffffff
mov ecx, dword [rsp + 0x6c]
call fcn.1400b6750
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
jne 0x1400b6dde
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1fa8]
mov qword [rsp + 0x40], rax
mov edx, 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.140099840
movzx eax, al
test eax, eax
je 0x1400b6e00
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1fc8], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1d08], 0
je 0x1400b6e1e
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1d15]
test eax, eax
je 0x1400b6e7f
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1fc8]
test eax, eax
je 0x1400b6e7f
mov edx, 2
mov ecx, reloc.WS2_32.dll_recv
call fcn.140099840
movzx eax, al
test eax, eax
je 0x1400b6e7f
mov rax, qword [rsp + 0x30]
add rax, 0x128
mov rcx, rax
call fcn.1400a48f0
movzx eax, al
mov dword [rsp + 0x7c], eax
mov rcx, qword [rsp + 0x30]
add rcx, 0x3c4
call fcn.1400a48f0
movzx eax, al
mov ecx, dword [rsp + 0x7c]
cmp ecx, eax
jne 0x1400b6e7f
mov byte [rsp + 0x3a], 1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1fa8], 0
je 0x1400b7059
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1fa8]
mov eax, dword [rax + 0x1c]
and eax, 4
test eax, eax
jne 0x1400b7059
lea rcx, [rsp + 0xe8]
call fcn.1400961a0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1eac], 2
jne 0x1400b6f03
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
jne 0x1400b6f03
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0xc8]
call fcn.1400b3c60
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1eac], 3
jne 0x1400b6f3d
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 4
lea rcx, [rsp + 0xd0]
call fcn.1400b3c60
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
movss xmm0, dword [rsp + 0xe8]
ucomiss xmm0, dword [0x140209788]
jp 0x1400b6f69
jne 0x1400b6f69
movss xmm0, dword [rsp + 0xec]
ucomiss xmm0, dword [0x140209788]
jp 0x1400b6f69
je 0x1400b7059
movss xmm0, dword [0x140209d20]
movss dword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x140209d20]
mulss xmm0, dword [rax + 0x18]
movss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0xc4]
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0xc0]
call fcn.1400bbef0
movss xmm1, dword [rsp + 0x80]
mulss xmm1, xmm0
movaps xmm0, xmm1
call fcn.140096fc0
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1fa8]
mov rax, qword [rax + 0x3a0]
mov qword [rsp + 0x98], rax
movss xmm2, dword [rsp + 0x84]
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd8]
call fcn.140096990
mov rcx, qword [rsp + 0x98]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xe0]
call fcn.140096a30
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.1400ad650
mov rcx, qword [rsp + 0x98]
call fcn.1400b8bd0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1ecf], 1
cmp qword [rsp + 0x40], 0
je 0x1400b7115
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1e78], 0
je 0x1400b7092
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1e78]
mov rax, qword [rax + 0x3a0]
cmp qword [rsp + 0x40], rax
je 0x1400b7115
call fcn.14009ef20
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1ece], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1ecf], 1
mov rcx, qword [rsp + 0x40]
call fcn.1400b34a0
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400b0cd0
mov rcx, qword [rsp + 0x40]
call fcn.1400acd80
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x3c0], 0
jne 0x1400b70f8
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400b3660
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x160], 2
jne 0x1400b7115
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1ec4], 1
cmp qword [rsp + 0x40], 0
je 0x1400b712d
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1fa8], 0
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x1400b727a
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1e78], 0
je 0x1400b727a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1e78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x398], 0
je 0x1400b71b4
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x160]
and eax, 2
test eax, eax
jne 0x1400b71b4
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x1000000
test eax, eax
je 0x1400b71b4
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x14000000
test eax, eax
jne 0x1400b71b4
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x398]
mov qword [rsp + 0x48], rax
jmp 0x1400b715e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1e78]
cmp qword [rsp + 0x48], rax
je 0x1400b71f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1e78]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400acd80
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x3b8], rcx
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1ece], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1ecf], 1
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1e78]
mov eax, dword [rax + 0x160]
and eax, 2
test eax, eax
je 0x1400b723e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1ec4]
xor eax, 1
mov dword [rsp + 0x70], eax
jmp 0x1400b7246
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 1
jne 0x1400b7271
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1e78]
movsxd rcx, dword [rsp + 0x50]
mov dword [rax + rcx*4 + 0x3c0], 0
mov ecx, dword [rsp + 0x50]
call fcn.1400b34e0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401733a0
add rsp, 0x108
ret