Function at 0x140016a70
Capabilities:
Create thread
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1419c60c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
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], r15
mov qword [rax + 0x47d0], r15
mov dword [rax + 0x47bc], 1
xor edx, edx
mov r8d, 0x3f
lea rcx, [0x14018ca1c]
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, r15d
lea rcx, [0x14018c8f8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140016b5c
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 0x140016be4
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rbx, rbx
je 0x140016be4
mov rcx, rax
cmp byte [0x142315161], r15b
je 0x140016be0
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x140016be2
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 0x140016c76
xor ecx, ecx
call fcn.140023d60
test al, al
je 0x140016c76
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [0x142315758], r15b
jne 0x140017482
mov rcx, qword [0x142315168]
mov rax, qword [rcx + 0x3ed8]
movss xmm3, dword [rax + 0x28]
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]
subss xmm3, dword [0x1419aca34]
divss xmm3, dword [0x1419ac94c]
addss xmm0, xmm3
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
mov byte [rax + 0x141], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x100]
subss xmm0, dword [rax + 0x20]
addss xmm0, dword [rax + 0x84]
addss xmm0, dword [0x1419aca34]
call fcn.14002ca80
lea rcx, [0x14018ca28]
call fcn.14004c9d0
mov rbx, qword [0x142315168]
mov rax, qword [rbx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov r8, qword [rbx + 0x3ed8]
movsxd rdx, dword [r8 + 0x1d8]
mov rax, qword [r8 + 0x1e0]
mov ecx, dword [rax + rdx*4 - 4]
mov dword [r8 + 0x1c0], ecx
lea eax, [rdx - 1]
mov dword [r8 + 0x1d8], eax
movdqa xmm0, xmmword [0x1419ace20]
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140020760
mov r8d, eax
mov rcx, qword [rbx + 0x3ed8]
mov dword [rsp + 0x60], 0x425c0000
movss xmm1, dword [rcx + 0x104]
subss xmm1, dword [rcx + 0x24]
addss xmm1, dword [rcx + 0x88]
addss xmm1, dword [0x1419ac9f0]
movss dword [rsp + 0x64], xmm1
mov rcx, qword [rsi + 0x38]
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rdx + 8]
test eax, 0xff000000
je 0x140016e2a
test rcx, rcx
jne 0x140016dcf
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 8]
movups xmm0, xmmword [rdi + 0x88]
movups xmmword [rbp - 0x20], xmm0
mov byte [rsp + 0x48], r15b
xorps xmm1, xmm1
movss dword [rsp + 0x40], xmm1
lea rax, [0x14018ca0b]
mov qword [rsp + 0x38], rax
lea rax, [0x14018ca00]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
lea r9, [rsp + 0x60]
movss xmm2, dword [0x1419ac9e8]
mov rdx, rdi
call fcn.140046d20
mov rbx, qword [0x142315168]
mov rax, qword [rbx + 0x3ed8]
movss xmm0, dword [rax + 0x104]
subss xmm0, dword [rax + 0x24]
addss xmm0, dword [rax + 0x88]
addss xmm0, dword [0x1419aca0c]
movss xmm2, dword [rax + 0x100]
subss xmm2, dword [rax + 0x20]
addss xmm2, dword [rax + 0x84]
mov byte [rax + 0xb8], 1
mov rax, qword [rbx + 0x3ed8]
movss xmm1, dword [rax + 0x24]
subss xmm1, dword [rax + 0x88]
addss xmm1, xmm0
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
movss xmm6, dword [0x1419ac9fc]
addss xmm2, xmm6
addss xmm0, xmm2
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
mov byte [rax + 0x141], 1
call fcn.14002f980
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x60], rax
lea rdx, [0x1423154c8]
lea rcx, [rbp - 0x48]
call fcn.14001a1b0
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140016ee8
mov rcx, qword [rax]
xor edx, edx
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movsxd rdi, eax
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140016f33
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140016f2e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400170b0
mov rcx, r8
call fcn.140121530
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r15b
mov qword [rbp - 0x80], rdi
mov edx, r15d
cmp rdi, qword [rsp + 0x60]
jle 0x140016faa
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov rbx, rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
sub rbx, rax
imul rax, rbx, 0x989680
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1419ac9c8]
divsd xmm0, qword [0x1419ac9a8]
cvttsd2si edx, xmm0
lea rcx, [rbp - 0x48]
call fcn.14000c210
nop
mov r8d, 5
lea rdx, [0x14018ca64]
mov rcx, rax
call fcn.14001ad30
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
movabs rax, 0x1222a860072f97f2
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
movabs rcx, 0x144e33fb9b628c3c
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
movabs rax, 0x2851cd126e5fefb7
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x18], rax
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140056080
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400170bc
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400170b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400170b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140121530
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14001710a
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017105
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017105
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140121530
lea rdx, [0x14018ca0c]
lea rcx, [0x14018ca10]
call fcn.140056080
lea rdx, [0x14018ca70]
lea rcx, [0x14018ca80]
call fcn.140056080
call fcn.14002fab0
mov rcx, qword [0x142315168]
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x104]
subss xmm0, dword [rax + 0x24]
addss xmm0, dword [rax + 0x88]
addss xmm0, dword [0x1419ac9d0]
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, xmm0
movss xmm0, dword [rax + 0x20]
subss xmm0, dword [rax + 0x84]
addss xmm2, xmm6
addss xmm0, xmm2
movss dword [rax + 0x100], xmm0
movss dword [rax + 0x104], xmm1
mov byte [rax + 0x141], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [0x1419aca18]
movss dword [rsp + 0x60], xmm0
mov dword [rsp + 0x64], 0x42340000
lea rdx, [rsp + 0x60]
lea rcx, [0x14018ca90]
call fcn.140054900
test al, al
je 0x140017414
mov rbx, qword [0x142313dc8]
lea r14, [0x142313db8]
mov rcx, r14
mov rdi, qword [0x142313db8]
mov rsi, qword [reloc.WS2_32.dll_ntohs]
cmp rsi, 0xf
cmova rcx, rdi
lea r12, [0x142313d40]
cmp rbx, 5
jne 0x1400172cd
mov r8, rbx
lea rdx, [0x14018c744]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400172cd
mov ecx, 8
call fcn.140121538
mov qword [rax], r12
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14001db80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140017438
cmp dword [rbp - 0x78], 0
je 0x14001742c
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14001742c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov rsi, qword [reloc.WS2_32.dll_ntohs]
mov rbx, qword [0x142313dc8]
mov rdi, qword [0x142313db8]
mov rcx, r14
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 6
jne 0x140017381
mov r8, rbx
lea rdx, [0x14018bf3c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140017381
mov ecx, 8
call fcn.140121538
mov qword [rax], r12
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14001dbf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140017454
cmp dword [rsp + 0x68], 0
je 0x140017448
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140017448
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov rsi, qword [reloc.WS2_32.dll_ntohs]
mov rbx, qword [0x142313dc8]
mov rdi, qword [0x142313db8]
cmp rsi, 0xf
cmova r14, rdi
cmp rbx, 3
jne 0x140017414
mov r8, rbx
lea rdx, [0x14018c9e4]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140017414
mov ecx, 8
call fcn.140121538
mov qword [rax], r12
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14001dc50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140017471
cmp dword [rsp + 0x78], 0
je 0x140017465
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140017465
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
cmp byte [0x142315758], 0
jne 0x140017482
mov dword [0x142313ee8], 0x40c00000
jmp 0x1400175a7
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x78], r15d
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 [rsp + 0x68], r15d
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 [rsp + 0x78], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [0x142315168]
movss xmm0, dword [0x142313ee8]
addss xmm0, dword [rcx + 0x18]
movss dword [0x142313ee8], 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 - 0x20]
call fcn.14000ba00
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movss xmm2, dword [0x1419ac944]
movss dword [rsp + 0x28], xmm2
movss xmm0, dword [0x1419ac98c]
movss dword [rsp + 0x20], xmm0
lea r9, [rbp - 0x20]
movss xmm2, dword [0x1419ac990]
movss xmm1, dword [0x1419aca10]
call fcn.14000bd60
call fcn.140015850
call fcn.14002c160
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140121510
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret