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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x140294d00]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x37e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x1a0]
movsx eax, word [rax + 0xba]
test eax, eax
je 0x1400456b5
mov r8d, 0x1694
lea rdx, [0x140145030]
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 + 0x1a0]
mov byte [rax + 0xb3], 0
mov rax, qword [rsp + 0x1a0]
movss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x1a0]
movss xmm0, dword [rax + 0x54]
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x1a0]
movzx eax, byte [rax + 0xb1]
test eax, eax
je 0x1400457c2
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x1a0]
movss xmm0, dword [rcx + 0x54]
movss dword [rax + 0x3828], xmm0
movzx eax, byte [rsp + 0x1b0]
test eax, eax
je 0x140045754
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x48f2]
test eax, eax
jne 0x140045754
mov dword [rsp + 0x58], recvfrom
jmp 0x14004575c
mov dword [rsp + 0x58], recvfrom
movss xmm1, dword [0x14014e130]
mov ecx, dword [rsp + 0x58]
call fcn.140036fe0
mov dword [rsp + 0x80], eax
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, dword [rsp + 0x80]
mov rax, qword [rsp + 0x1a8]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rax]
call fcn.140044540
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x84]
movss dword [rax + 0x3828], xmm0
jmp 0x140045f4e
mov eax, dword [rsp + 0x34]
and eax, 0x80
test eax, eax
jne 0x140045944
mov rcx, qword [rsp + 0x1a0]
call fcn.140038630
movss xmm1, dword [0x14014e130]
mov ecx, eax
call fcn.140036fe0
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
movss xmm0, dword [0x14014e130]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x47a8]
and eax, 0x40
test eax, eax
je 0x140045830
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x4808]
movss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14004587a
mov eax, dword [rsp + 0x44]
and eax, 0xffffff
mov dword [rsp + 0x88], eax
movss xmm0, dword [rsp + 0x5c]
call fcn.140039660
mulss xmm0, dword [0x14014e19c]
addss xmm0, dword [0x14014e108]
cvttss2si eax, xmm0
shl eax, 0x18
mov ecx, dword [rsp + 0x88]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x14004588f
mov dword [rsp + 0x60], 0
jmp 0x140045897
mov dword [rsp + 0x60], 0xc0
mov rax, qword [rsp + 0x1a0]
add rax, 0x20
mov rcx, qword [rsp + 0x1a0]
add rcx, 0x18
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x178]
call fcn.14002abe0
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.140049b80
movaps xmm2, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0xe8]
call fcn.140029a30
mov rcx, qword [rsp + 0x1a0]
add rcx, 0x18
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xf0]
call fcn.14002abe0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xe0]
mov r8, rcx
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.140055c70
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0xc8]
comiss xmm0, dword [0x14014e0d0]
jbe 0x1400459a1
mov eax, dword [rsp + 0x34]
and eax, 0x1000000
test eax, eax
je 0x140045974
mov eax, dword [rsp + 0x34]
and eax, 0x4000000
test eax, eax
je 0x1400459a1
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0x35
mov rcx, qword [rsp + 0x70]
movss xmm0, dword [rcx + rax + 0xe0]
comiss xmm0, dword [0x14014e0d0]
jbe 0x1400459a1
mov rcx, qword [rsp + 0x1a0]
call fcn.140046420
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
jne 0x140045a30
movzx eax, byte [rsp + 0x1b0]
test eax, eax
je 0x1400459c6
mov dword [rsp + 0x64], recvfrom
jmp 0x1400459ce
mov dword [rsp + 0x64], 0xa
movss xmm1, dword [0x14014e130]
mov ecx, dword [rsp + 0x64]
call fcn.140036fe0
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x1a8]
add rax, 8
mov rcx, qword [rsp + 0x1a8]
mov dword [rsp + 0x28], Ordinal_50
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x8c]
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.140055c70
mov eax, dword [rsp + 0x34]
and eax, 0x400
test eax, eax
je 0x140045c20
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x1a0]
call fcn.14003d1a0
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x1a0]
call fcn.140043be0
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140031d00
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x140045a94
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x68], xmm0
jmp 0x140045a9d
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x14014e130]
mov ecx, reloc.WS2_32.dll_listen
call fcn.140036fe0
mov dword [rsp + 0x90], eax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0xf8]
call fcn.140029a30
mov r8, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x100]
call fcn.14002ab90
mov qword [rsp + 0xb8], rax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x108]
call fcn.140029a30
mov r8, rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x110]
call fcn.14002abe0
mov dword [rsp + 0x28], Ordinal_50
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x20], xmm0
mov ecx, dword [rsp + 0x90]
mov r9d, ecx
mov rcx, qword [rsp + 0xb8]
mov r8, rcx
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.140055c70
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x48]
comiss xmm0, dword [0x14014e0d0]
jbe 0x140045c20
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a0]
movss xmm0, dword [rax + 0x1c]
addss xmm0, dword [rcx + 0x24]
comiss xmm0, dword [rsp + 0xa4]
jbe 0x140045c20
movss xmm1, dword [0x14014e130]
mov ecx, 5
call fcn.140036fe0
mov dword [rsp + 0x94], eax
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x98]
call fcn.140036ce0
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x98]
call fcn.140036ca0
mov rcx, qword [rsp + 0x70]
movss xmm0, dword [rcx + 0x48]
movss dword [rsp + 0x20], xmm0
mov ecx, dword [rsp + 0x94]
mov r9d, ecx
mov rcx, qword [rsp + 0xc0]
mov r8, rcx
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.140053900
mov rax, qword [rsp + 0x1a0]
movzx eax, byte [rax + 0xac]
test eax, eax
je 0x140045c3a
xor ecx, ecx
call fcn.14007cee0
mov rax, qword [rsp + 0x1a0]
movzx eax, byte [rax + 0xad]
test eax, eax
je 0x140045c57
mov ecx, 1
call fcn.14007cee0
movzx eax, byte [rsp + 0x1b8]
test eax, eax
je 0x140045f35
mov eax, dword [rsp + 0x34]
and eax, 2
test eax, eax
jne 0x140045f35
mov dword [rsp + 0x40], 0
jmp 0x140045c8a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0x40], eax
jge 0x140045f35
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
lea rcx, [0x140144dc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x1a0]
add rcx, 0x20
mov rdx, qword [rsp + 0x1a0]
add rdx, 0x18
mov r8, rcx
lea rcx, [rsp + 0x128]
call fcn.14002abe0
mov rcx, qword [rsp + 0x1a0]
add rcx, 0x18
mov rdx, qword [rsp + 0xc8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.140039450
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x140045d43
movss xmm2, dword [rsp + 0x1d0]
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x130]
call fcn.140029a30
mov qword [rsp + 0xa8], rax
jmp 0x140045d67
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x1d0]
lea rcx, [rsp + 0x138]
call fcn.140029a30
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0xd0]
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.14002aaf0
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x148]
call fcn.14002abe0
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.1400432b0
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x140045df5
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x1d0]
lea rcx, [rsp + 0x150]
call fcn.140029a30
mov qword [rsp + 0xb0], rax
jmp 0x140045e19
movss xmm2, dword [rsp + 0x1d0]
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x158]
call fcn.140029a30
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0xd8]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.14002aaf0
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x168]
call fcn.14002abe0
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.1400432b0
movss xmm0, dword [rsp + 0x3c]
addss xmm0, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
movss xmm1, dword [rax + 0xc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x7c]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x3c]
addss xmm1, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
movss xmm2, dword [rax + 8]
mulss xmm2, xmm1
movaps xmm1, xmm2
movss xmm2, dword [rsp + 0x78]
addss xmm2, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
lea rcx, [rsp + 0x170]
call fcn.140029a30
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x48]
mov r9d, dword [rcx + 0x10]
movss xmm2, dword [rsp + 0x3c]
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.14005ede0
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1c8]
mov edx, dword [rcx + rax*4]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rax + 0x290]
call fcn.140043260
jmp 0x140045c80
movzx eax, byte [rsp + 0x1b8]
test eax, eax
je 0x140045f4e
mov rcx, qword [rsp + 0x1a0]
call fcn.140045f60
add rsp, 0x198
ret