Function at 0x140016130
Capabilities:
Create thread
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1419c60c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
movss xmm0, dword [0x142313da8]
movss xmm1, dword [0x142313dac]
mov rax, qword [0x142315168]
movss dword [rax + 0x47d8], xmm0
movss dword [rax + 0x47dc], xmm1
mov dword [rax + 0x47c0], 1
or dword [rax + 0x47b8], 3
mov qword [rax + 0x47c8], r14
mov qword [rax + 0x47d0], r14
mov dword [rax + 0x47bc], 1
xor edx, edx
mov r8d, 0x3f
lea rcx, [0x14018c8f0]
call fcn.140029f50
mov rsi, qword [0x142315168]
mov rax, qword [rsi + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rsi + 0x3ed8]
mov rdi, qword [rax + 0x298]
call fcn.14000dba0
mov ebx, r14d
lea rcx, [0x14018c8f8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140016218
lea rdx, [0x14018c968]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [0x142315168]
mov rcx, qword [rdx + 0x3ed8]
mov byte [rcx + 0xb8], 1
mov rcx, qword [rdx + 0x3ed8]
movss xmm1, dword [rcx + 0x24]
subss xmm1, dword [rcx + 0x88]
movss xmm6, dword [0x1419ac9b8]
addss xmm1, xmm6
movss xmm0, dword [rcx + 0x20]
subss xmm0, dword [rcx + 0x84]
addss xmm0, xmm6
movss dword [rcx + 0x100], xmm0
movss dword [rcx + 0x104], xmm1
mov byte [rcx + 0x141], 1
call fcn.140056870
test al, al
je 0x1400162a0
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rbx, rbx
je 0x1400162a0
mov rcx, rax
cmp byte [0x142315161], r14b
je 0x14001629c
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x14001629e
xor edx, edx
call rbx
mov rcx, qword [0x142315168]
mov rax, qword [rcx + 0x3ed8]
movss xmm2, dword [rax + 0x28]
subss xmm2, dword [0x1419ac9dc]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm1, dword [rax + 0x24]
subss xmm1, dword [rax + 0x88]
addss xmm1, xmm6
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm0, xmm2
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
mov byte [rax + 0x141], 1
lea rcx, [0x14018c984]
call fcn.14004c7e0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14002d5d0
test al, al
je 0x140016332
xor ecx, ecx
call fcn.140023d60
test al, al
je 0x140016332
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [0x1423157a9], r14b
jne 0x140016905
movdqa xmm0, xmmword [0x1419ace20]
movups xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call fcn.140020760
mov r8d, eax
mov dword [rbp - 9], 0x425c0000
mov dword [rbp - 5], 0x42480000
mov rcx, qword [rsi + 0x38]
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rdx + 8]
xorps xmm6, xmm6
test eax, 0xff000000
je 0x1400163d8
test rcx, rcx
jne 0x140016388
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 8]
movups xmm0, xmmword [rdi + 0x88]
movups xmmword [rbp + 0x17], xmm0
mov byte [rsp + 0x48], r14b
movss dword [rsp + 0x40], xmm6
lea rax, [0x14018c9ee]
mov qword [rsp + 0x38], rax
lea rax, [0x14018c9e8]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
lea r9, [rbp - 9]
movss xmm2, dword [0x1419ac9e8]
mov rdx, rdi
call fcn.140046d20
mov rcx, qword [0x142315168]
mov rax, qword [rcx + 0x3ed8]
movss xmm2, dword [rax + 0x100]
subss xmm2, dword [rax + 0x20]
addss xmm2, dword [rax + 0x84]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm1, dword [rax + 0x24]
subss xmm1, dword [rax + 0x88]
addss xmm1, dword [0x1419aca10]
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm2, dword [0x1419ac9fc]
addss xmm0, xmm2
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
mov byte [rax + 0x141], 1
call fcn.14002f980
mov rbx, qword [0x142315168]
lea rcx, [rbx + 0x4838]
movss xmm1, dword [rbx + 0x3860]
movss xmm0, dword [rbx + 0x3864]
mov dword [rbp - 9], reloc.WS2_32.dll_socket
movss dword [rbp - 5], xmm1
movss dword [rbp - 1], xmm0
lea rdx, [rbp - 9]
call fcn.140037540
mov dword [rbx + 0x3860], 0x3f000000
mov dword [rbx + 0x3864], 0x3f000000
mov rdx, qword [0x142313e08]
lea rcx, [0x14018c9f0]
call fcn.140055360
lea r15, [0x142313d40]
test al, al
je 0x140016532
mov ecx, 8
call fcn.140121538
mov qword [rax], r15
mov qword [rbp - 9], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001da30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x1400168bd
mov qword [rbp - 9], r14
cmp dword [rbp + 0xf], 0
je 0x1400168b1
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400168b1
xorps xmm0, xmm0
movaps xmmword [rbp + 0x17], xmm0
movdqa xmmword [rbp + 7], xmm0
mov ecx, 1
call fcn.140020ac0
mov rbx, qword [0x142315168]
lea rcx, [rbx + 0x4838]
movss xmm1, dword [rbx + 0x3860]
movss xmm0, dword [rbx + 0x3864]
mov dword [rbp - 9], reloc.WS2_32.dll_socket
movss dword [rbp - 5], xmm1
movss dword [rbp - 1], xmm0
lea rdx, [rbp - 9]
call fcn.140037540
mov dword [rbx + 0x3860], 0x3f000000
mov dword [rbx + 0x3864], 0x3f000000
mov rdx, qword [0x142313e10]
lea rcx, [0x14018c9f8]
call fcn.140055360
test al, al
je 0x140016614
mov ecx, 8
call fcn.140121538
mov qword [rax], r15
mov qword [rbp - 9], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001daa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x1400168d9
mov qword [rbp - 9], r14
cmp dword [rbp + 0xf], 0
je 0x1400168cd
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400168cd
xorps xmm0, xmm0
movaps xmmword [rbp + 0x17], xmm0
movdqa xmmword [rbp + 7], xmm0
mov ecx, 1
call fcn.140020ac0
mov rdx, qword [0x142313e18]
call fcn.1400559e0
test al, al
je 0x1400166a3
mov ecx, 8
call fcn.140121538
mov qword [rax], r15
mov qword [rbp - 9], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001db10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x1400168f5
mov qword [rbp - 9], r14
cmp dword [rbp + 0xf], 0
je 0x1400168e9
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400168e9
xorps xmm0, xmm0
movaps xmmword [rbp + 0x17], xmm0
movdqa xmmword [rbp + 7], xmm0
mov ecx, 1
call fcn.140020ac0
call fcn.14002fab0
movdqa xmm0, xmmword [0x1419ace20]
movups xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call fcn.140020760
mov r9d, eax
mov r8, qword [0x142315168]
mov rcx, qword [r8 + 0x3ed8]
mov dword [rbp - 9], 0x425c0000
movss xmm0, dword [rcx + 0x104]
subss xmm0, dword [rcx + 0x24]
addss xmm0, dword [rcx + 0x88]
addss xmm0, dword [0x1419ac9f0]
movss dword [rbp - 5], xmm0
mov rcx, qword [rsi + 0x38]
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rdx + 8]
test eax, 0xff000000
je 0x140016778
test rcx, rcx
jne 0x140016721
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 8]
movups xmm0, xmmword [rdi + 0x88]
movups xmmword [rbp + 0x17], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm6
lea rax, [0x14018ca0b]
mov qword [rsp + 0x38], rax
lea rax, [0x14018ca00]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 9]
movss xmm2, dword [0x1419ac9e8]
mov rdx, rdi
call fcn.140046d20
mov r8, qword [0x142315168]
mov rax, qword [r8 + 0x3ed8]
movss xmm2, dword [rax + 0x104]
subss xmm2, dword [rax + 0x24]
addss xmm2, dword [rax + 0x88]
movss xmm0, dword [rax + 0x100]
subss xmm0, dword [rax + 0x20]
addss xmm0, dword [rax + 0x84]
mov byte [rax + 0xb8], 1
mov rax, qword [r8 + 0x3ed8]
movss xmm1, dword [rax + 0x20]
subss xmm1, dword [rax + 0x84]
addss xmm0, dword [0x1419ac9fc]
addss xmm1, xmm0
movss xmm0, dword [rax + 0x24]
subss xmm0, dword [rax + 0x88]
addss xmm2, dword [0x1419aca0c]
addss xmm0, xmm2
movss dword [rax + 0x100], xmm1
movss dword [rax + 0x104], xmm0
mov byte [rax + 0x141], 1
call fcn.14002f980
lea rdx, [0x14018ca0c]
lea rcx, [0x14018ca10]
call fcn.140056080
lea rdx, [0x142315410]
cmp qword [0x142315428], 0xf
cmova rdx, qword [0x142315410]
movabs rax, 0x2851cd281c3a9ce2
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 7], rax
movabs rcx, 0x144e33fb9b628c3c
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp + 0xf], rax
movabs rax, 0x2851cd126e5fefb7
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x17], rax
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [rbp + 0x17]
xorps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140056080
call fcn.14002fab0
cmp byte [0x1423157a9], 0
jne 0x140016905
mov dword [0x142313ec4], 0x40c00000
jmp 0x140016a2a
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [0x142315168]
movss xmm0, dword [0x142313ec4]
addss xmm0, dword [rcx + 0x18]
movss dword [0x142313ec4], xmm0
movss xmm2, dword [0x142313da8]
cvtps2pd xmm2, xmm2
movss xmm4, dword [0x142313dac]
cvtps2pd xmm4, xmm4
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
divsd xmm2, qword [0x1419ac958]
subsd xmm2, qword [0x1419ac968]
cvtpd2ps xmm3, xmm2
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm3, xmm0
movss xmm2, dword [rax + 0x24]
subss xmm2, dword [rax + 0x88]
divsd xmm4, qword [0x1419ac958]
subsd xmm4, qword [0x1419ac978]
cvtpd2ps xmm0, xmm4
addss xmm2, xmm0
movss dword [rax + 0x100], xmm3
movss dword [rax + 0x104], xmm2
mov byte [rax + 0x141], 1
movsd xmm0, qword [rcx + 0x3e28]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1419ac8e4]
movss xmm6, dword [0x1419ac930]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss dword [rsp + 0x20], xmm6
movss xmm3, dword [0x1419ac90c]
movaps xmm2, xmm6
movaps xmm1, xmm0
lea rcx, [rbp + 0x17]
call fcn.14000ba00
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
movss xmm2, dword [0x1419ac944]
movss dword [rsp + 0x28], xmm2
movss xmm0, dword [0x1419ac98c]
movss dword [rsp + 0x20], xmm0
lea r9, [rbp + 0x17]
movss xmm2, dword [0x1419ac990]
movss xmm1, dword [0x1419aca10]
call fcn.14000bd60
call fcn.140015850
call fcn.14002c160
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140121510
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret