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

Disassembly:
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov rax, qword [0x140226080]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov rax, qword [0x140286ad0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x1560
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x220]
movsx eax, word [rax + 0xaa]
test eax, eax
je 0x1400a65aa
mov r8d, 0x1588
lea rdx, [0x1401ac8d0]
lea rcx, str.window__BeginCount__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rax, qword [rsp + 0x220]
mov byte [rax + 0xa3], 0
mov rax, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x58]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x5c]
movss dword [rsp + 0x34], xmm0
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0xa1]
test eax, eax
je 0x1400a66ae
mov rax, qword [rsp + 0x90]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x220]
movss xmm0, dword [rcx + 0x5c]
movss dword [rax + 0x15a4], xmm0
movzx eax, byte [rsp + 0x230]
test eax, eax
je 0x1400a6649
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1e1e]
test eax, eax
jne 0x1400a6649
mov dword [rsp + 0x58], recv
jmp 0x1400a6651
mov dword [rsp + 0x58], recv
movss xmm1, dword [0x1402168b8]
mov ecx, dword [rsp + 0x58]
call fcn.14009b4b0
mov dword [rsp + 0x6c], eax
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x228]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x228]
mov rcx, qword [rax]
call fcn.14009c3b0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x70]
movss dword [rax + 0x15a4], xmm0
jmp 0x1400a6ebd
mov eax, dword [rsp + 0x38]
and eax, 0x80
test eax, eax
jne 0x1400a6841
mov ecx, dword [rsp + 0x38]
call fcn.1400a4c50
movss xmm1, dword [0x1402168b8]
mov ecx, eax
call fcn.14009b4b0
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
movss xmm0, dword [0x1402168b8]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1cb0]
and eax, 0x40
test eax, eax
je 0x1400a6718
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x1d10]
movss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a675c
mov eax, dword [rsp + 0x44]
and eax, 0xffffff
mov dword [rsp + 0x74], eax
movss xmm0, dword [rsp + 0x5c]
call fcn.1400957f0
mulss xmm0, dword [0x140216acc]
addss xmm0, dword [0x1402167c4]
cvttss2si eax, xmm0
shl eax, 0x18
mov ecx, dword [rsp + 0x74]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400a6788
mov dword [rsp + 0x60], 0
jmp 0x1400a6790
mov dword [rsp + 0x60], 0xc0
mov rax, qword [rsp + 0x220]
add rax, 0x28
mov rcx, qword [rsp + 0x220]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x148]
call fcn.1400952f0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x220]
call fcn.140097bf0
movaps xmm2, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x150]
call fcn.14003bcf0
mov rcx, qword [rsp + 0x220]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x158]
call fcn.1400952f0
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400cc710
nop
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
jne 0x1400a68db
movzx eax, byte [rsp + 0x230]
test eax, eax
je 0x1400a6866
mov dword [rsp + 0x64], recv
jmp 0x1400a686e
mov dword [rsp + 0x64], 0xa
movss xmm1, dword [0x1402168b8]
mov ecx, dword [rsp + 0x64]
call fcn.14009b4b0
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x228]
add rax, 8
mov rcx, qword [rsp + 0x228]
mov dword [rsp + 0x28], Ordinal_50
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x78]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0xc8]
call fcn.1400cc710
nop
mov eax, dword [rsp + 0x38]
and eax, 0x400
test eax, eax
je 0x1400a6b11
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x220]
call fcn.140097d70
nop
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x220]
call fcn.140097b10
mov rdx, rax
lea rcx, [rsp + 0x1f8]
call fcn.140095fa0
nop
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400a6958
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x68], xmm0
jmp 0x1400a6961
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x1402168b8]
mov ecx, reloc.WS2_32.dll_listen
call fcn.14009b4b0
mov dword [rsp + 0x7c], eax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x160]
call fcn.14003bcf0
mov r8, rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x168]
call fcn.140095340
mov qword [rsp + 0xd0], rax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x170]
call fcn.14003bcf0
mov r8, rax
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x178]
call fcn.1400952f0
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x28], Ordinal_50
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x7c]
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call fcn.1400cc710
nop
mov rax, qword [rsp + 0x90]
movss xmm0, dword [rax + 0x44]
comiss xmm0, dword [0x14021668c]
jbe 0x1400a6b11
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x24]
addss xmm0, dword [rcx + 0x2c]
comiss xmm0, dword [rsp + 0x204]
jbe 0x1400a6b11
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x90]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0x80], xmm0
movss xmm1, dword [0x1402168b8]
mov ecx, 5
call fcn.14009b4b0
mov dword [rsp + 0x84], eax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1f8]
call fcn.140095bc0
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1f8]
call fcn.140095b80
mov qword [rsp + 0xf0], rax
movss xmm0, dword [rsp + 0x80]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x84]
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400cc4a0
nop
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x9c]
test eax, eax
je 0x1400a6b2c
xor ecx, ecx
call fcn.1400de620
nop
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x9d]
test eax, eax
je 0x1400a6b4a
mov ecx, 1
call fcn.1400de620
nop
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
jne 0x1400a6eaf
mov dword [rsp + 0x40], 0
jmp 0x1400a6b6d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x238]
cmp dword [rsp + 0x40], eax
jge 0x1400a6eaf
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
lea rcx, [0x1402ba880]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x220]
add rcx, 0x28
mov rdx, qword [rsp + 0x220]
add rdx, 0x20
mov r8, rcx
lea rcx, [rsp + 0x190]
call fcn.1400952f0
mov rcx, qword [rsp + 0x220]
add rcx, 0x20
mov rdx, qword [rsp + 0x100]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1f0]
call fcn.140095760
nop
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1400a6c41
movss xmm2, dword [rsp + 0x248]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x198]
call fcn.14003bcf0
mov qword [rsp + 0xa0], rax
jmp 0x1400a6c65
movss xmm2, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x248]
lea rcx, [rsp + 0x1a0]
call fcn.14003bcf0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x108]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.140095390
mov r8, rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x1b0]
call fcn.1400952f0
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.140094f50
nop
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1400a6d14
movss xmm2, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x248]
lea rcx, [rsp + 0x1b8]
call fcn.14003bcf0
mov qword [rsp + 0x98], rax
jmp 0x1400a6d38
movss xmm2, dword [rsp + 0x248]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x1c0]
call fcn.14003bcf0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x120]
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.140095390
mov r8, rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x1d0]
call fcn.1400952f0
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.140094f50
nop
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x8c], eax
movss xmm0, dword [rsp + 0x3c]
addss xmm0, dword [rsp + 0x34]
mov rax, qword [rsp + 0x48]
movss xmm1, dword [rax + 0xc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x1f4]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x3c]
addss xmm1, dword [rsp + 0x34]
mov rax, qword [rsp + 0x48]
movss xmm2, dword [rax + 8]
mulss xmm2, xmm1
movaps xmm1, xmm2
movss xmm2, dword [rsp + 0x1f0]
addss xmm2, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
lea rcx, [rsp + 0x1d8]
call fcn.14003bcf0
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x8c]
movss xmm2, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call fcn.1400cba70
nop
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x2c8]
mov qword [rsp + 0xa8], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x240]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0xa8]
call fcn.140094f90
nop
jmp 0x1400a6b63
mov rcx, qword [rsp + 0x220]
call fcn.1400a5f60
nop
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.140150490
add rsp, 0x218
ret