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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x3b8
mov rax, qword [0x1403ee900]
xor rax, rsp
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3d0]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x3c]
jb 0x1401625b6
jmp 0x14016341a
lea rcx, [rsp + 0x358]
call fcn.14013e190
lea rcx, [rsp + 0x368]
call fcn.14013e190
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x3c]
divss xmm0, dword [0x1402587a0]
mov rax, qword [rsp + 0x3d0]
movss xmm1, dword [rax + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x3d0]
movss xmm2, dword [rax + 0x38]
movaps xmm1, xmm0
lea rcx, [rsp + 0x1e8]
call fcn.140010990
mov rax, qword [rax]
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x3c]
divss xmm0, dword [0x1402587a0]
mov rax, qword [rsp + 0x3d0]
movss xmm1, dword [rax + 0x34]
addss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x3d0]
movss xmm2, dword [rax + 0x38]
movaps xmm1, xmm0
lea rcx, [rsp + 0x1f0]
call fcn.140010990
mov rax, qword [rax]
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x3c]
divss xmm0, dword [0x1402587a0]
mov rax, qword [rsp + 0x3d0]
movss xmm1, dword [rax + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm0
mov rax, qword [rsp + 0x3d0]
movss xmm1, dword [rax + 0x34]
lea rcx, [rsp + 0x1f8]
call fcn.140010990
mov rax, qword [rax]
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x3c]
divss xmm0, dword [0x1402587a0]
mov rax, qword [rsp + 0x3d0]
movss xmm1, dword [rax + 0x38]
addss xmm1, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm0
mov rax, qword [rsp + 0x3d0]
movss xmm1, dword [rax + 0x34]
lea rcx, [rsp + 0x170]
call fcn.140010990
mov rax, qword [rax]
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x3d0]
movzx eax, byte [rax + 0x2c]
test eax, eax
je 0x1401633ed
mov rax, qword [rsp + 0x3d0]
movzx eax, byte [rax]
test eax, eax
je 0x1401627e5
call fcn.1400cc510
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x3d0]
add rax, 4
mov rcx, rax
call fcn.1400ea190
mov dword [rsp + 0x58], eax
movss xmm0, dword [0x14025878c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x58]
lea r8, [rsp + 0x360]
lea rdx, [rsp + 0x358]
mov rcx, qword [rsp + 0xe8]
call fcn.1400ec4e0
call fcn.1400cc510
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x3d0]
add rax, 4
mov rcx, rax
call fcn.1400ea190
mov dword [rsp + 0x5c], eax
movss xmm0, dword [0x14025878c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x5c]
lea r8, [rsp + 0x370]
lea rdx, [rsp + 0x368]
mov rcx, qword [rsp + 0xf0]
call fcn.1400ec4e0
mov rax, qword [rsp + 0x3d0]
add rax, 0x40
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.14000cb40
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x98]
call fcn.14001cf60
mov qword [rsp + 0xf8], rax
jmp 0x140162830
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x50], rax
je 0x1401633ed
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x388]
call fcn.14013e1d0
lea rcx, [rsp + 0x388]
call fcn.140150020
mov rax, qword [rax]
mov qword [rsp + 0x310], rax
lea rcx, [rsp + 0x388]
call fcn.14013b190
lea rcx, [rsp + 0x378]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x388]
call fcn.140150010
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x388]
call fcn.14000ac70
movss xmm0, dword [rax]
movss dword [rsp + 0x4c], xmm0
cmp dword [rsp + 0x48], 0
jne 0x1401629a1
call fcn.1400cc510
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x378]
call fcn.1400ea190
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x18]
movss dword [rsp + 0x64], xmm0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x60]
movss xmm2, dword [rsp + 0x64]
lea rdx, [rsp + 0x310]
mov rcx, qword [rsp + 0x100]
call fcn.1400eabd0
call fcn.1400cc510
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.1400ea100
mov rcx, rax
call fcn.1400ea190
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x18]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [0x14025878c]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x68]
movss xmm2, dword [rsp + 0x6c]
lea rdx, [rsp + 0x310]
mov rcx, qword [rsp + 0x108]
call fcn.1400eaaa0
jmp 0x1401633e8
cmp dword [rsp + 0x48], 1
jne 0x140162e27
lea rcx, [rsp + 0x320]
call fcn.1400bef10
lea rcx, [rsp + 0x328]
call fcn.1400bef10
lea rcx, [rsp + 0x330]
call fcn.1400bef10
lea rcx, [rsp + 0x338]
call fcn.1400bef10
lea rcx, [rsp + 0x348]
call fcn.1400bef10
lea rcx, [rsp + 0x340]
call fcn.1400bef10
lea rcx, [rsp + 0x318]
call fcn.1400bef10
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [rsp + 0x4c]
addss xmm0, dword [0x14028612c]
movss dword [rsp + 0x44], xmm0
mov r9, qword [rsp + 0x310]
mov rax, qword [rsp + 0x3d0]
mov r8, qword [rax + 0x34]
movss xmm1, dword [rsp + 0x44]
lea rcx, [rsp + 0x208]
call fcn.140163440
mov rax, qword [rax]
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rsp + 0x31c]
addss xmm0, dword [rax + 0x1c]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x318]
lea rcx, [rsp + 0x210]
call fcn.140010990
mov rax, qword [rax]
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x1c]
divss xmm0, dword [0x1402587a0]
movss xmm1, dword [rsp + 0x31c]
subss xmm1, xmm0
movaps xmm0, xmm1
cvtss2sd xmm1, dword [rsp + 0x318]
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm2, dword [rax + 0x1c]
divsd xmm2, qword [0x140297338]
subsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x218]
call fcn.140010990
mov rax, qword [rax]
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x1c]
divss xmm0, dword [0x1402587a0]
movss xmm1, dword [rsp + 0x31c]
subss xmm1, xmm0
movaps xmm0, xmm1
cvtss2sd xmm1, dword [rsp + 0x318]
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm2, dword [rax + 0x1c]
divsd xmm2, qword [0x140297338]
addsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movaps xmm2, xmm0
lea rcx, [rsp + 0x220]
call fcn.140010990
mov rax, qword [rax]
mov qword [rsp + 0x340], rax
movss xmm0, dword [rsp + 0x44]
xorps xmm0, xmmword [0x14026ff20]
mov r9, qword [rsp + 0x338]
mov rax, qword [rsp + 0x3d0]
mov r8, qword [rax + 0x34]
movaps xmm1, xmm0
lea rcx, [rsp + 0x228]
call fcn.140163440
mov rax, qword [rax]
mov qword [rsp + 0x320], rax
movss xmm0, dword [rsp + 0x44]
xorps xmm0, xmmword [0x14026ff20]
mov r9, qword [rsp + 0x348]
mov rax, qword [rsp + 0x3d0]
mov r8, qword [rax + 0x34]
movaps xmm1, xmm0
lea rcx, [rsp + 0x230]
call fcn.140163440
mov rax, qword [rax]
mov qword [rsp + 0x328], rax
movss xmm0, dword [rsp + 0x44]
xorps xmm0, xmmword [0x14026ff20]
mov r9, qword [rsp + 0x340]
mov rax, qword [rsp + 0x3d0]
mov r8, qword [rax + 0x34]
movaps xmm1, xmm0
lea rcx, [rsp + 0x238]
call fcn.140163440
mov rax, qword [rax]
mov qword [rsp + 0x330], rax
call fcn.1400cce10
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x378]
call fcn.1400ea190
mov dword [rsp + 0x70], eax
movss xmm2, dword [rsp + 0x334]
movss xmm1, dword [rsp + 0x330]
lea rcx, [rsp + 0x240]
call fcn.140010990
mov qword [rsp + 0x110], rax
movss xmm2, dword [rsp + 0x314]
movss xmm1, dword [rsp + 0x310]
lea rcx, [rsp + 0x248]
call fcn.140010990
mov qword [rsp + 0x118], rax
movss xmm2, dword [rsp + 0x32c]
movss xmm1, dword [rsp + 0x328]
lea rcx, [rsp + 0x250]
call fcn.140010990
mov qword [rsp + 0x120], rax
movss xmm2, dword [rsp + 0x324]
movss xmm1, dword [rsp + 0x320]
lea rcx, [rsp + 0x258]
call fcn.140010990
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.1400ee780
call fcn.1400cce10
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x20], __WSAFDIsSet
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2c0]
call fcn.1400ea100
mov rcx, rax
call fcn.1400ea190
mov dword [rsp + 0x74], eax
movss xmm2, dword [rsp + 0x334]
movss xmm1, dword [rsp + 0x330]
lea rcx, [rsp + 0x1d0]
call fcn.140010990
mov qword [rsp + 0x138], rax
movss xmm2, dword [rsp + 0x314]
movss xmm1, dword [rsp + 0x310]
lea rcx, [rsp + 0x200]
call fcn.140010990
mov qword [rsp + 0x140], rax
movss xmm2, dword [rsp + 0x32c]
movss xmm1, dword [rsp + 0x328]
lea rcx, [rsp + 0x1e0]
call fcn.140010990
mov qword [rsp + 0x148], rax
movss xmm2, dword [rsp + 0x324]
movss xmm1, dword [rsp + 0x320]
lea rcx, [rsp + 0x1d8]
call fcn.140010990
mov qword [rsp + 0x150], rax
movss xmm0, dword [0x140258728]
movss dword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x140]
mov r8, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.1400ee6f0
jmp 0x1401633e8
lea rcx, [rsp + 0x350]
call fcn.1400bef10
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [rsp + 0x4c]
subss xmm0, dword [0x14028611c]
movss dword [rsp + 0x40], xmm0
mov dword [rsp + 0x20], 0xaa
mov r9d, 0xdc
mov r8d, 0xdc
mov edx, 0xdc
lea rcx, [rsp + 0x2d0]
call fcn.1400ea100
lea rcx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x20]
movss dword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x160], rax
cvtss2sd xmm0, dword [rsp + 0x40]
addsd xmm0, qword [0x140297308]
mulsd xmm0, qword [0x140297350]
divsd xmm0, qword [0x140297368]
cvtsd2ss xmm0, xmm0
cvtss2sd xmm1, dword [rsp + 0x40]
subsd xmm1, qword [0x140297308]
mulsd xmm1, qword [0x140297350]
divsd xmm1, qword [0x140297368]
cvtsd2ss xmm1, xmm1
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x1b0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm2, dword [0x1402587c8]
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x14026fe58]
lea r8, [rsp + 0x1a0]
movss xmm1, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x160]
call fcn.14017a270
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_200
mov r9d, 0xdc
mov r8d, 0xdc
mov edx, 0xdc
lea rcx, [rsp + 0x2e0]
call fcn.1400ea100
lea rcx, [rsp + 0x188]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x178]
lea rcx, [rsp + 0x188]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x3d0]
movss xmm0, dword [rax + 0x20]
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x168], rax
cvtss2sd xmm0, dword [rsp + 0x40]
addsd xmm0, qword [0x140297300]
mulsd xmm0, qword [0x140297350]
divsd xmm0, qword [0x140297368]
cvtsd2ss xmm0, xmm0
cvtss2sd xmm1, dword [rsp + 0x40]
subsd xmm1, qword [0x140297300]
mulsd xmm1, qword [0x140297350]
divsd xmm1, qword [0x140297368]
cvtsd2ss xmm1, xmm1
lea rax, [rsp + 0x260]
lea rcx, [rsp + 0x178]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss xmm2, dword [0x1402587c8]
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x140258790]
lea r8, [rsp + 0x260]
movss xmm1, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x168]
call fcn.14017a270
call fcn.1400cc510
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x378]
call fcn.1400ea190
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm0, dword [rax + 0x20]
movsd xmm1, qword [str.333333]
mulsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x84], xmm0
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_30
mov r9d, dword [rsp + 0x80]
movss xmm2, dword [rsp + 0x84]
lea rdx, [rsp + 0x310]
mov rcx, qword [rsp + 0xa0]
call fcn.1400eabd0
call fcn.1400cc510
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x20], __WSAFDIsSet
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2f0]
call fcn.1400ea100
mov rcx, rax
call fcn.1400ea190
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm0, dword [rax + 0x20]
movsd xmm1, qword [0x140297328]
mulsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x8c], xmm0
movss xmm0, dword [0x14025878c]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x88]
movss xmm2, dword [rsp + 0x8c]
lea rdx, [rsp + 0x310]
mov rcx, qword [rsp + 0xa8]
call fcn.1400eaaa0
cvtss2sd xmm0, dword [rsp + 0x310]
movsd qword [rsp + 0xb8], xmm0
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm1, dword [rax + 0x20]
movsd qword [rsp + 0xb0], xmm1
movss xmm2, dword [rsp + 0x40]
xorps xmm2, xmmword [0x14026ff20]
cvtss2sd xmm2, xmm2
mulsd xmm2, qword [0x140297350]
divsd xmm2, qword [0x140297368]
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movsd xmm1, qword [rsp + 0xb0]
mulsd xmm1, xmm0
movaps xmm0, xmm1
movsd xmm1, qword [rsp + 0xb8]
addsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x350], xmm0
cvtss2sd xmm0, dword [rsp + 0x314]
movsd qword [rsp + 0xc8], xmm0
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm1, dword [rax + 0x20]
movsd qword [rsp + 0xc0], xmm1
movss xmm2, dword [rsp + 0x40]
xorps xmm2, xmmword [0x14026ff20]
cvtss2sd xmm2, xmm2
mulsd xmm2, qword [0x140297350]
divsd xmm2, qword [0x140297368]
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movsd xmm1, qword [rsp + 0xc0]
mulsd xmm1, xmm0
movaps xmm0, xmm1
movsd xmm1, qword [rsp + 0xc8]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x354], xmm0
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm0, dword [rax + 0x20]
movsd xmm1, qword [0x140258898]
mulsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x3d0]
cvtss2sd xmm0, dword [rax + 0x20]
movsd xmm1, qword [0x140297310]
mulsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x94], xmm0
mov dword [rsp + 0x20], 0xdc
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0x300]
call fcn.1400ea100
lea rcx, [rsp + 0x270]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x280]
lea rcx, [rsp + 0x270]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x290]
lea rcx, [rsp + 0x280]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x350]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x14028611c]
lea rax, [rsp + 0x2a0]
lea rcx, [rsp + 0x290]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rsp + 0x90]
movss xmm2, dword [rsp + 0x94]
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rsp + 0xe0]
call fcn.140161430
jmp 0x140162822
mov rax, qword [rsp + 0x3d0]
add rax, 0x40
mov rcx, rax
call fcn.140189870
test rax, rax
jbe 0x14016341a
mov rax, qword [rsp + 0x3d0]
add rax, 0x40
mov rcx, rax
call fcn.14001eb80
mov rcx, qword [rsp + 0x3a8]
xor rcx, rsp
call fcn.140248f60
add rsp, 0x3b8
pop rdi
pop rsi
ret