Function at 0x14004edf0
Capabilities:
Create thread

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x14010b040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rdx, str.grcWindow
lea rcx, [rsp + 0x70]
call fcn.140003f80
mov rdx, rax
call fcn.14004e990
test al, al
jne 0x14004ee50
mov eax, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400b9120
add rsp, 0xa8
ret
mov qword [rsp + 0xb0], rbx
lea rdx, str.grcWindow
lea rcx, [rsp + 0x70]
mov qword [rsp + 0xa0], rdi
call fcn.140003f80
mov rdi, qword [0x14010b948]
mov rbx, rax
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14004ee88
mov rdx, qword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rdi
mov qword [rdi + 0x98], rax
call fcn.14004ddc0
mov rdx, qword [rbx + 0x18]
movzx edi, al
cmp rdx, 0xf
jbe 0x14004eed8
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004eed3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004ef2b
mov rcx, r8
call fcn.1400b917c
mov qword [rsp + 0xb8], rsi
xor esi, esi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
test dil, dil
jne 0x14004ef32
mov eax, 2
mov rsi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400b9120
add rsp, 0xa8
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400015b0
test al, al
jne 0x14004ef42
mov eax, 3
jmp 0x14004eefb
mov ecx, 1
call fcn.1400b9140
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x14004f230]
xor ecx, ecx
mov dword [rsp + 0x20], esi
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004f219
cmp dword [rsp + 0x38], esi
je 0x14004f20d
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004f20d
cmp byte [0x14010b1c0], sil
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
je 0x14004f0f7
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004f015
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004efe0
mov rax, qword [0x14010b8d8]
test rax, rax
je 0x14004f02a
mov rcx, qword [rax + 0x98]
jmp 0x14004f02d
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x14004f038
call fcn.140032bb0
call fcn.140033cb0
call fcn.140010150
call fcn.140005790
cmp byte [0x14010b208], sil
je 0x14004f05c
mov rcx, qword [0x14010b950]
call fcn.140005be0
cmp byte [0x14010b1c1], sil
je 0x14004f06a
call fcn.1400030d0
call fcn.140012050
mov rcx, qword [0x14010b8f8]
lea r8, [0x14010b910]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x70], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x14010b8f8]
lea r8, [rsp + 0x70]
mov rdx, qword [0x14010b910]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14010b8d8]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140031f80
mov rcx, qword [0x14010b908]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [0x14010b1c0], sil
jne 0x14004efc0
call fcn.14004e0f0
mov rcx, qword [0x14010b920]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x14010b950]
mov byte [0x14010b1c0], sil
test rbx, rbx
je 0x14004f1ff
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x14004f179
mov rdx, qword [rbx + 0x1a0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14004f15f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f206
mov rcx, r8
call fcn.1400b917c
mov qword [rbx + 0x190], rsi
mov qword [rbx + 0x198], rsi
mov qword [rbx + 0x1a0], rsi
mov r8, qword [rbx + 0xf8]
test r8, r8
je 0x14004f1f2
mov rcx, qword [rbx + 0x108]
movabs rax, 0x8421084210842109
sub rcx, r8
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0xf8
cmp rdx, 0x1000
jb 0x14004f1d5
mov rcx, qword [r8 - 8]
add rdx, 0x27
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x14004f206
mov r8, rcx
mov rcx, r8
call fcn.1400b917c
mov qword [rbx + 0xf8], rsi
mov qword [rbx + 0x100], rsi
mov qword [rbx + 0x108], rsi
mov edx, 0x1b0
mov rcx, rbx
call fcn.1400b917c
xor eax, eax
jmp 0x14004eefb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3