Function at 0x1401b0a10
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x64], edx
mov rsi, rcx
mov rax, qword [rbp + 0xd8]
mov qword [rsp + 0x70], rax
mov r14, qword [rbp + 0xe0]
mov r13, qword [rbp + 0xe8]
mov r15d, dword [rbp + 0xf0]
mov rbx, qword [rbp + 0x100]
mov qword [rsp + 0x78], rbx
mov rax, qword [rcx]
call qword [rax + 0x18]
bts r15d, 0x19
mov dword [rsp + 0x6c], r15d
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x1401b0aa0
lea rcx, [rsi + 0x20]
mov rdx, r14
call fcn.14000b830
mov dword [rsi + 0x40], r15d
mov eax, dword [rbp + 0xf8]
mov dword [rsi + 0x44], eax
mov qword [rsi + 0x48], rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov edx, 8
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rsi + 0x50], eax
mov edx, 0xa
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rsi + 0x54], eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r9d, dword [rsp + 0x68]
mov ebx, dword [rbp + 0xd0]
test r9d, r9d
je 0x1401b0b61
test ebx, ebx
je 0x1401b0b61
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_SetRect]
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_AdjustWindowRect]
mov r15d, dword [rbp - 0x20]
sub r15d, dword [rbp - 0x28]
mov r12d, dword [rbp - 0x1c]
sub r12d, dword [rbp - 0x24]
mov eax, r15d
mov r9d, dword [rsp + 0x68]
sub eax, r9d
mov dword [rsi + 0x58], eax
mov eax, r12d
sub eax, ebx
mov dword [rsi + 0x5c], eax
mov eax, dword [rsi + 0x50]
jmp 0x1401b0b6c
mov r15d, dword [rsi + 0x50]
mov r12d, dword [rsi + 0x54]
mov eax, r15d
cmp r15d, eax
jg 0x1401b0e84
mov ecx, dword [rsi + 0x54]
cmp r12d, ecx
jg 0x1401b0e84
mov r8d, dword [rsp + 0x64]
cmp r8d, 0x7fffffff
jne 0x1401b0b9e
sub eax, r15d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
cmp eax, 0x7fffffff
jne 0x1401b0bb7
sub ecx, r12d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x60], eax
mov dword [rsi + 8], r8d
mov dword [rsi + 0xc], eax
mov dword [rsi + 0x10], r9d
mov dword [rsi + 0x14], ebx
mov ecx, r9d
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mov ecx, ebx
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
divss xmm1, xmm0
movss dword [rsi + 0x18], xmm1
xor eax, eax
mov qword [rbp - 0x80], 3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
lea rax, [0x1401b1180]
mov qword [rbp - 0x78], rax
xor ecx, ecx
call qword [str.R_]
mov qword [rbp - 0x68], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x58], rax
mov ecx, 4
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x1401b0e84
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov r8, rdi
inc r8
cmp byte [r8 + r13], 0
jne 0x1401b0c71
mov rdx, r13
lea rcx, [rbp - 8]
call fcn.14000b830
nop
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x1401b0ca0
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.14000b830
nop
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x38]
call fcn.1400aa050
mov rbx, rax
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x18]
call fcn.1400aa050
mov rdx, rax
cmp qword [rbx + 0x18], 8
jb 0x1401b0ce4
mov rbx, qword [rbx]
cmp qword [rax + 0x18], 8
jb 0x1401b0cee
mov rdx, qword [rax]
mov qword [rsp + 0x58], rsi
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r15d
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x28], r8d
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x6c]
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi + 0x60], rax
lea rcx, [rbp + 0x18]
call fcn.1400ae780
nop
lea rcx, [rbp + 0x38]
call fcn.1400ae780
nop
lea rcx, [rbp - 0x28]
call fcn.14000b5d0
nop
lea rcx, [rbp - 8]
call fcn.14000b5d0
mov r8, rsi
lea rdx, str.core
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.USER32.dll_SetPropA]
mov edx, dword [rbp + 0xf8]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsi + 0x68], rax
cmp dword [rsp + 0x68], 0
je 0x1401b0da8
cmp dword [rbp + 0xd0], 0
jne 0x1401b0dd5
mov edx, 8
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
mov edx, 0xa
mov rcx, qword [rsi + 0x68]
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
sub r15d, ebx
mov dword [rsi + 0x58], r15d
sub r12d, eax
mov dword [rsi + 0x5c], r12d
test rdi, rdi
jne 0x1401b0e80
mov r8, qword [0x1404a3420]
mov rcx, qword [0x1404a3418]
lea eax, [rcx + r8]
mov rdx, qword [0x1404a3410]
test al, 1
jne 0x1401b0e21
lea rax, [r8 + 2]
shr rax, 1
cmp rdx, rax
ja 0x1401b0e21
call fcn.1401b1340
mov r8, qword [0x1404a3420]
mov rcx, qword [0x1404a3418]
mov rdx, qword [0x1404a3410]
lea rax, [rdx*2 - 1]
and rcx, rax
mov qword [0x1404a3418], rcx
lea rdi, [r8 + rcx]
mov rbx, rdi
shr rbx, 1
lea rax, [rdx - 1]
and rbx, rax
mov rax, qword [0x1404a3408]
cmp qword [rax + rbx*8], 0
jne 0x1401b0e6e
mov ecx, reloc.WS2_32.dll_recv
call fcn.14023ed4c
mov rcx, qword [0x1404a3408]
mov qword [rcx + rbx*8], rax
mov rax, qword [0x1404a3408]
and edi, 1
mov rax, qword [rax + rbx*8]
mov qword [rax + rdi*8], rsi
inc qword [0x1404a3420]
xor al, al
jmp 0x1401b0e86
mov al, 1
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14023ed20
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret