Function at 0x140059e20
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x140153080]
xor rax, rsp
mov qword [rbp + 7], rax
xor ebx, ebx
cmp byte [0x140227750], bl
je 0x14005a4fa
xorps xmm9, xmm9
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [0x1402232dc]
mulss xmm0, dword [0x140141990]
subss xmm7, xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1402232d8]
mulss xmm0, dword [0x140141990]
subss xmm1, xmm0
mov rcx, qword [0x1402240b0]
mov eax, dword [rcx + 0x1df8]
or eax, 1
mov dword [rcx + 0x1df8], eax
unpcklps xmm1, xmm7
movsd qword [rcx + 0x1e0c], xmm1
xorps xmm1, xmm1
unpcklps xmm1, xmm9
movsd qword [rcx + 0x1e14], xmm1
mov dword [rcx + 0x1dfc], 2
mov byte [rcx + 0x1e34], 1
movss xmm0, dword [0x1402232d8]
movss xmm1, dword [0x1402232dc]
or eax, 2
mov dword [rcx + 0x1df8], eax
movss dword [rcx + 0x1e1c], xmm0
movss dword [rcx + 0x1e20], xmm1
mov dword [rcx + 0x1e00], 1
lea r8d, [rbx + 0x2b]
lea rdx, [0x140227750]
lea rcx, str.Byte_Client
call fcn.140011910
mov rcx, qword [0x1402240b0]
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d50]
mov r10, qword [rax + 0x2f8]
movss xmm7, dword [rax + 0x50]
movss xmm8, dword [rax + 0x54]
movss xmm6, dword [rax + 0x58]
movaps xmm0, xmmword [0x140141d40]
movups xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call fcn.140006360
addss xmm8, dword [0x140141a88]
addss xmm6, xmm7
movss dword [rbp - 0x49], xmm6
movss dword [rbp - 0x45], xmm8
movss dword [rbp - 9], xmm7
movss dword [rbp - 5], xmm8
movss xmm0, dword [0x1401419d8]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp - 0x49]
lea rdx, [rbp - 9]
mov rcx, r10
call fcn.1400389b0
mov rcx, qword [0x1402240b0]
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d50]
movss xmm0, dword [rax + 0x54]
subss xmm0, dword [rax + 0xa0]
movss xmm2, dword [rax + 0x50]
subss xmm2, dword [rax + 0x9c]
movss xmm3, dword [0x140141a48]
addss xmm0, xmm3
addss xmm2, dword [0x140141aec]
movss dword [rax + 0x118], xmm2
movss dword [rax + 0x11c], xmm0
movss xmm1, dword [rax + 0x134]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm0
movss dword [rax + 0x134], xmm1
movaps xmm0, xmm3
unpcklps xmm0, xmm3
movq rdx, xmm0
lea rcx, str.Byte_Client
call fcn.140046160
mov rax, qword [0x1402240b0]
mov rcx, qword [rax + 0x1d50]
movss xmm0, dword [rcx + 0x54]
movss xmm1, dword [rcx + 0x50]
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.1400030f0
mov rcx, qword [0x1402240b0]
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d50]
movss xmm0, dword [rax + 0x54]
subss xmm0, dword [rax + 0xa0]
movss xmm2, dword [rax + 0x50]
subss xmm2, dword [rax + 0x9c]
addss xmm0, dword [0x140141a8c]
addss xmm2, dword [0x140141ae4]
movss dword [rax + 0x118], xmm2
movss dword [rax + 0x11c], xmm0
movss xmm1, dword [rax + 0x134]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm0
movss dword [rax + 0x134], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movaps xmm1, xmmword [0x140141e60]
movups xmmword [rbp - 0x39], xmm1
mov dword [rbp - 9], 0x3f800000
mov dword [rbp - 5], 0x3f800000
mov qword [rbp - 0x49], rbx
mov dword [rbp - 0x19], 0x42fa0000
mov dword [rbp - 0x15], 0x42fa0000
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 9]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x19]
mov rcx, qword [0x140227ae8]
call fcn.1400488e0
mov rcx, qword [0x1402240b0]
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d50]
movss xmm0, dword [rax + 0x54]
subss xmm0, dword [rax + 0xa0]
movss xmm2, dword [rax + 0x50]
subss xmm2, dword [rax + 0x9c]
addss xmm0, dword [0x140141ad8]
addss xmm2, dword [0x140141acc]
movss dword [rax + 0x118], xmm2
movss dword [rax + 0x11c], xmm0
movss xmm1, dword [rax + 0x134]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm0
movss dword [rax + 0x134], xmm1
mov dword [rbp - 0x19], 0x43c80000
mov dword [rbp - 0x15], 0x43480000
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
lea rdx, str.Login1
mov rcx, qword [rcx + 0x1d50]
call fcn.140008ed0
mov edx, eax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [rbp - 0x19]
lea rcx, str.Login1
call fcn.14000e8b0
lea rcx, [0x140141808]
call fcn.140046160
mov qword [rbp - 0x19], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0xff
lea r8, [0x140227751]
xor edx, edx
lea rcx, str.Username
call fcn.14004c4b0
lea rcx, [0x140141828]
call fcn.140046160
mov qword [rbp - 0x19], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0xff
lea r8, [0x140227850]
xor edx, edx
lea rcx, str.Password
call fcn.14004c4b0
call fcn.14000eae0
mov rcx, qword [0x1402240b0]
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d50]
movss xmm0, dword [rax + 0x54]
subss xmm0, dword [rax + 0xa0]
movss xmm2, dword [rax + 0x50]
subss xmm2, dword [rax + 0x9c]
addss xmm0, dword [0x140141afc]
addss xmm2, dword [0x140141acc]
movss dword [rax + 0x118], xmm2
movss dword [rax + 0x11c], xmm0
movss xmm1, dword [rax + 0x134]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x130]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm0
movss dword [rax + 0x134], xmm1
mov dword [rbp - 0x19], 0x43c80000
mov dword [rbp - 0x15], 0x43480000
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
lea rdx, str.Login2
mov rcx, qword [rcx + 0x1d50]
call fcn.140008ed0
mov edx, eax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [rbp - 0x19]
lea rcx, str.Login2
call fcn.14000e8b0
mov dword [rbp - 0x19], 0x42fa0000
mov dword [rbp - 0x15], 0x420c0000
lea rdx, [rbp - 0x19]
lea rcx, str.Login
call fcn.140046a80
test al, al
je 0x14005a407
lea ecx, [rbx + 8]
call fcn.1400bd030
lea rcx, [0x140059b90]
mov qword [rax], rcx
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14005c8b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x14005a537
cmp dword [rbp - 1], ebx
je 0x14005a52b
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x39]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005a52b
movss xmm1, dword [0x140141b40]
xorps xmm0, xmm0
call fcn.140016a40
mov dword [rbp - 0x19], 0x42fa0000
mov dword [rbp - 0x15], 0x420c0000
lea rdx, [rbp - 0x19]
lea rcx, str.Register
call fcn.140046a80
call fcn.14000eae0
cmp byte [0x140227acc], 0
je 0x14005a4f5
mov rcx, qword [0x1402240b0]
mov rax, qword [rcx + 0x1d50]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d50]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0x9c]
movss xmm2, dword [rax + 0x54]
subss xmm2, dword [rax + 0xa0]
addss xmm0, dword [0x140141a6c]
addss xmm2, dword [0x140141b00]
movss dword [rax + 0x118], xmm0
movss dword [rax + 0x11c], xmm2
movss xmm1, dword [rax + 0x130]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x134]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm1
movss dword [rax + 0x134], xmm0
mov edx, 0xff38328b
call fcn.140006910
lea rcx, [0x140224378]
cmp qword [0x140224390], 0xf
cmova rcx, qword [0x140224378]
call fcn.140046160
mov ecx, 1
call fcn.1400069d0
call fcn.140014b80
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400bcef0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 1], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3