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

Disassembly:
sub rsp, 0x108
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rax, qword [0x14039b350]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3a], 0
call fcn.1400d2240
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x1400d7ce5
mov dword [rsp + 0x54], 1
jmp 0x1400d7ced
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x1400d7d0f
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1ef8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1f00], 0
je 0x1400d7d9a
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
jne 0x1400d7d9a
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x140368368]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1f14]
subss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
call fcn.1400dc8f0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f14], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1f44]
jb 0x1400d7d9a
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x1f14]
jb 0x1400d7d9a
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1f00], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400d7dd2
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
jne 0x1400d7dd2
mov edx, 1
mov ecx, 3
call fcn.1400bc050
movzx eax, al
test eax, eax
je 0x1400d7dd2
mov dword [rsp + 0x58], 1
jmp 0x1400d7dda
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x3c], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400d7e34
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
jne 0x1400d7e34
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
je 0x1400d7e34
mov dl, 1
xor ecx, ecx
call fcn.1400bbfa0
movzx eax, al
test eax, eax
je 0x1400d7e34
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
je 0x1400d7e34
mov dword [rsp + 0x5c], 1
jmp 0x1400d7e3c
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x1400d7e5b
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400d7f68
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x1400d7e80
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov qword [rsp + 0xa0], rax
jmp 0x1400d7ea7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1bc0]
dec eax
mov r8d, 0xffffffff
mov edx, 0x80000001
mov ecx, eax
call fcn.1400d7ae0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x1400d7f68
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x398]
mov qword [rax + 0x1f00], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x1f00]
mov qword [rax + 0x1ef8], rcx
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1f14], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1f10], xmm0
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400d7f29
mov byte [rsp + 0x3b], 0
jmp 0x1400d7f2e
mov byte [rsp + 0x3b], 1
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3b]
mov byte [rax + 0x1f18], cl
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400d7f51
mov dword [rsp + 0x60], 2
jmp 0x1400d7f59
mov dword [rsp + 0x60], 3
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x1dfc], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f10]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f10], xmm0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
je 0x1400d8124
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 3
jne 0x1400d8124
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f10]
subss xmm0, dword [0x140368148]
divss xmm0, dword [0x140368114]
call fcn.1400b9730
movss dword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f14]
movss dword [rsp + 0x8c], xmm0
movss xmm1, dword [rsp + 0x88]
movss xmm0, dword [rsp + 0x8c]
call fcn.1400dc8f0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f14], xmm0
mov edx, 4
mov ecx, recv
call fcn.1400bc050
movzx eax, al
mov dword [rsp + 0x90], eax
mov edx, 4
mov ecx, reloc.WS2_32.dll_listen
call fcn.1400bc050
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 0x1400d8075
mov ecx, dword [rsp + 0x64]
call fcn.1400d7ba0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x140368250]
movss dword [rax + 0x1f14], xmm0
mov ecx, 3
call fcn.1400bc000
movzx eax, al
test eax, eax
jne 0x1400d8124
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x140368250]
comiss xmm0, dword [rax + 0x1f14]
jbe 0x1400d80aa
mov dword [rsp + 0x68], 1
jmp 0x1400d80b2
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
and eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0x1f18], al
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
test eax, eax
je 0x1400d80f3
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x1400d80f3
mov byte [rsp + 0x3a], 1
jmp 0x1400d8114
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
test eax, eax
jne 0x1400d8114
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1ef8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
je 0x1400d81fe
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 2
jne 0x1400d81fe
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f10]
subss xmm0, dword [0x140368148]
divss xmm0, dword [0x140368114]
call fcn.1400b9730
movss dword [rsp + 0x74], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1f14]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rsp + 0x74]
movss xmm0, dword [rsp + 0x78]
call fcn.1400dc8f0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1f14], xmm0
mov dl, 1
xor ecx, ecx
call fcn.1400bbfa0
movzx eax, al
test eax, eax
je 0x1400d81dd
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
je 0x1400d81cc
mov dword [rsp + 0x6c], 1
jmp 0x1400d81d4
mov dword [rsp + 0x6c], 0xffffffff
mov ecx, dword [rsp + 0x6c]
call fcn.1400d7ba0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x140]
test eax, eax
jne 0x1400d81fe
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov qword [rsp + 0x40], rax
mov edx, 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400bc050
movzx eax, al
test eax, eax
je 0x1400d8220
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1f18], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1c5c], 0
je 0x1400d823e
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1c69]
test eax, eax
je 0x1400d829f
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1f18]
test eax, eax
je 0x1400d829f
mov edx, 2
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400bc050
movzx eax, al
test eax, eax
je 0x1400d829f
mov rax, qword [rsp + 0x30]
add rax, 0x128
mov rcx, rax
call fcn.1400c6d00
movzx eax, al
mov dword [rsp + 0x7c], eax
mov rcx, qword [rsp + 0x30]
add rcx, 0x3c4
call fcn.1400c6d00
movzx eax, al
mov ecx, dword [rsp + 0x7c]
cmp ecx, eax
jne 0x1400d829f
mov byte [rsp + 0x3a], 1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1ef8], 0
je 0x1400d8479
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov eax, dword [rax + 0x1c]
and eax, 4
test eax, eax
jne 0x1400d8479
lea rcx, [rsp + 0xe8]
call fcn.1400b8940
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 2
jne 0x1400d8323
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x141]
test eax, eax
jne 0x1400d8323
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0xc8]
call fcn.1400d5250
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1dfc], 3
jne 0x1400d835d
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 4
lea rcx, [rsp + 0xd0]
call fcn.1400d5250
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
movss xmm0, dword [rsp + 0xe8]
ucomiss xmm0, dword [0x1403680d0]
jp 0x1400d8389
jne 0x1400d8389
movss xmm0, dword [rsp + 0xec]
ucomiss xmm0, dword [0x1403680d0]
jp 0x1400d8389
je 0x1400d8479
movss xmm0, dword [0x1403685bc]
movss dword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1403685bc]
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.1400dc8b0
movss xmm1, dword [rsp + 0x80]
mulss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400b97c0
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1ef8]
mov rax, qword [rax + 0x398]
mov qword [rsp + 0x98], rax
movss xmm2, dword [rsp + 0x84]
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xd8]
call fcn.1400b9190
mov rcx, qword [rsp + 0x98]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xe0]
call fcn.1400b9230
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.1400cf600
mov rcx, qword [rsp + 0x98]
call fcn.1400d9ca0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1f], 1
cmp qword [rsp + 0x40], 0
je 0x1400d8538
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x1400d84b2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov rax, qword [rax + 0x398]
cmp qword [rsp + 0x40], rax
je 0x1400d8538
call fcn.1400c1790
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1e], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1f], 1
mov rcx, qword [rsp + 0x40]
call fcn.1400d4ac0
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400d2550
mov rcx, qword [rsp + 0x40]
call fcn.1400ced80
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x3b8], 0
jne 0x1400d8518
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400d4c50
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x162]
cmp eax, 2
jne 0x1400d8538
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1e14], 1
cmp qword [rsp + 0x40], 0
je 0x1400d8550
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x1ef8], 0
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x1400d86a4
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1dc8], 0
je 0x1400d86a4
call fcn.1400c1790
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x390], 0
je 0x1400d85dd
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x160]
and eax, 2
test eax, eax
jne 0x1400d85dd
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x1000000
test eax, eax
je 0x1400d85dd
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
and eax, 0x14000000
test eax, eax
jne 0x1400d85dd
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x390]
mov qword [rsp + 0x48], rax
jmp 0x1400d8586
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
cmp qword [rsp + 0x48], rax
je 0x1400d8622
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400ced80
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x3b0], rcx
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1e], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1e1f], 1
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
movsx eax, word [rax + 0x160]
and eax, 2
test eax, eax
je 0x1400d8668
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1e14]
xor eax, 1
mov dword [rsp + 0x70], eax
jmp 0x1400d8670
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 1
jne 0x1400d869b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1dc8]
movsxd rcx, dword [rsp + 0x50]
mov dword [rax + rcx*4 + 0x3b8], 0
mov ecx, dword [rsp + 0x50]
call fcn.1400d4b00
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x108
ret