Function at 0x1400a11c0
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1401150f0]
xor rax, rsp
mov qword [rbp], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov edx, 0xa
lea rcx, [rbp - 0x20]
call fcn.1400a1070
nop
mov edx, 8
lea rcx, [rbp - 0x40]
call fcn.1400a1070
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rbx, qword [rbp - 0x20]
lea rdi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdi, qword [rbp - 0x40]
xor esi, esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x1400a0f70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], 0x50
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x50], rbx
lea rax, [0x1400a47c0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x1401166e0]
test rcx, rcx
je 0x1400a141e
lea rdx, [0x1401166e8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1401166e0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
mov dword [0x1401166e8], eax
mov eax, dword [rsp + 0x64]
mov dword [0x1401166ec], eax
mov ecx, dword [0x1401166f0]
mov dword [0x1401166f8], ecx
mov eax, dword [0x1401166f4]
mov dword [0x1401166c4], eax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x90000000
mov r8, rdi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1401168c0], rax
lea rdx, [0x140107ac8]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
lea edx, [rsi - 0x14]
mov r8d, 0x800a0
mov rcx, qword [0x1401168c0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea edx, [rsi + 5]
mov rcx, qword [0x1401168c0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401168c0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400a13ab
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a13a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a13a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3bc8
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], sil
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400a13f9
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a13f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a13f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3bc8
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400f3620
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3