Function at 0x140099200
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x80], xmm11
movaps xmmword [rbp + 0x70], xmm10
movaps xmmword [rbp + 0x60], xmm9
movaps xmmword [rbp + 0x50], xmm8
movaps xmmword [rbp + 0x40], xmm7
movaps xmmword [rbp + 0x30], xmm6
mov qword [rbp + 0x28], 0xfffffffffffffffe
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov dword [rbp - 0x1e], 0x5040302
mov word [rbp - 0x1a], 0x706
movaps xmm0, xmmword [0x1400b3ad0]
movups xmmword [rbp - 0x18], xmm0
movaps xmm0, xmmword [str.tix]
movups xmmword [rbp - 8], xmm0
mov word [rbp - 0x20], 0x120
movups xmm0, xmmword [rbp - 0x1f]
xorps xmm0, xmmword [0x1400b24b0]
movups xmmword [rbp - 0x1f], xmm0
movups xmm0, xmmword [rbp - 0xf]
xorps xmm0, xmmword [0x1400b3af0]
movups xmmword [rbp - 0xf], xmm0
xor byte [rbp + 1], 0x41
xor byte [rbp + 2], 0x42
xor byte [rbp + 3], 0x43
xor byte [rbp + 4], 0x44
xor byte [rbp + 5], 0x45
xor byte [rbp + 6], 0x46
xor byte [rbp + 7], 0x47
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1400058e0
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov r14, qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov dl, 0xa
call r14
mov r15, qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::put_char____ptr64]
mov rcx, rdi
mov edx, eax
call r15
mov rbx, qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
mov rcx, rdi
call rbx
movaps xmm0, xmmword [0x1400b3b00]
movaps xmm1, xmmword [0x1400b3b10]
movaps xmm2, xmmword [0x1400b3b20]
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp], xmm2
mov dword [rbp + 0x10], 0x3c3c3c3c
mov byte [rbp + 0x14], 0x3c
mov word [rbp + 0x15], 0x560a
mov byte [rbp + 0x16], 0
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1400058e0
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call r14
mov rcx, rdi
mov edx, eax
call r15
mov rcx, rdi
call rbx
mov word [rbp - 0x20], 0xa
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.1400058e0
mov rsi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rsi
mov dl, 0xa
call r14
mov rcx, rsi
mov edx, eax
call r15
mov rcx, rsi
call rbx
movabs r14, 0x650070006f006e
mov qword [rbp - 0x30], r14
mov word [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
movaps xmm6, xmmword [0x1400b2480]
movups xmmword [rbp - 0x10], xmm6
mov word [rbp - 0x20], 0
lea rcx, [rbp - 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rsi, rax
cmp rax, 7
jbe 0x1400993df
lea rcx, [rbp - 0x20]
lea r9, [rbp - 0x30]
mov rdx, rsi
call fcn.14009bd60
jmp 0x1400993fd
mov qword [rbp - 0x10], rsi
mov r8, rsi
add r8, rsi
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rsi*2 - 0x20], 0
lea rcx, [rbp - 0x20]
call fcn.140096640
mov dword [0x1400d69a8], eax
mov rbx, qword [rbp - 8]
cmp rbx, 8
jb 0x140099458
mov rcx, qword [rbp - 0x20]
lea rdx, [rbx + rbx]
add rdx, 2
cmp rdx, 0x1000
jb 0x14009944d
mov rax, rcx
add rax, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rax, rcx
cmp rax, 0x20
jae 0x1400999db
add rbx, rbx
add rbx, 0x29
mov rdx, rbx
call fcn.1400a7c2c
mov eax, dword [0x1400d69a8]
test eax, eax
je 0x140099469
test eax, eax
jne 0x1400995f9
jmp 0x140099899
mov qword [rbp - 0x30], 0xffffffffffffffff
mov dword [rbp - 0x28], 0xa
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1400994b8
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x14009951f
mov rcx, qword [rbp - 0x30]
cmp rcx, 0xffffffffffffffff
je 0x140099527
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, dword [0x1400d8038]
mov ecx, dword [0x1400d80c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140099a11
lea rdx, [rbp - 0x18]
lea rcx, [0x1400d8010]
call fcn.1400a63f0
movzx edx, word [rbp - 0x28]
movzx eax, word [rbp - 0x18]
and eax, 0xf0
and edx, 0xf
or edx, eax
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
jmp 0x140099527
mov qword [rbp - 0x30], 0xffffffffffffffff
lea rsi, [rbp - 0x20]
mov rcx, rsi
call fcn.14004a840
mov r8, qword [rbp - 0x10]
cmp qword [rbp - 8], 0x10
jb 0x140099542
mov rsi, qword [rbp - 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rsi
call fcn.1400477a0
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140099590
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14009958b
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400999db
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400a7c2c
lea rcx, [rbp - 0x30]
call fcn.140095cc0
movabs rax, 0x20676e6974696157
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x656d6167
mov byte [rbp - 0x14], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x20]
call fcn.1400058e0
mov rsi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rsi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov rcx, rsi
mov edx, eax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::put_char____ptr64]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
mov eax, dword [0x1400d69a8]
test eax, eax
je 0x140099899
cmp qword [0x1400d6990], 0
je 0x140099970
call fcn.140097ac0
mov ecx, 8
call fcn.1400a7be8
mov rsi, rax
lea rax, [0x140097a10]
mov qword [rsi], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400a6680]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400999e7
mov ecx, 8
call fcn.1400a7be8
mov rsi, rax
lea rax, [0x140097aa0]
mov qword [rsi], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400a6680]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x1400999fc
lea rsi, [rbp - 0x20]
mov r15, qword [sym.imp.USER32.dll_PeekMessageW]
movaps xmm8, xmmword [str.N_tfNKH_KLDCDQ_]
movaps xmm9, xmmword [0x1400b3b30]
movabs r12, 0x3d00480055005f
movaps xmm10, xmmword [0x1400b3a60]
movaps xmm11, xmmword [0x1400b3a70]
movaps xmm6, xmmword [0x1400b3a80]
movaps xmm7, xmmword [0x1400b3b40]
mov r13, qword [sym.imp.USER32.dll_FindWindowW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14009970d
call fcn.140049870
mov ecx, 0xc8
call r14
mov dword [rsp + 0x20], 1
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
test eax, eax
je 0x140099743
cmp dword [rbp - 0x18], 0x12
je 0x140099850
mov rcx, rsi
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DispatchMessageW]
movaps xmmword [rbp - 0x10], xmm8
movaps xmmword [rbp], xmm9
mov dword [rbp + 0x10], 0x500054
mov qword [rbp + 0x14], r12
movaps xmmword [rbp - 0x20], xmm10
movups xmm0, xmmword [rbp - 0x1e]
xorps xmm0, xmm11
movups xmmword [rbp - 0x1e], xmm0
movups xmm0, xmmword [rbp - 0xe]
xorps xmm0, xmm6
movups xmmword [rbp - 0xe], xmm0
movups xmm0, xmmword [rbp + 2]
xorps xmm0, xmm7
movups xmmword [rbp + 2], xmm0
mov byte [rbp + 0x12], 0x69
mov byte [rbp + 0x14], 0x65
mov byte [rbp + 0x16], 0x6e
mov byte [rbp + 0x18], 0x74
mov byte [rbp + 0x1a], 0
xor ecx, ecx
mov rdx, rsi
call r13
mov qword [0x1400d6990], rax
test rax, rax
je 0x140099700
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x140099705
test rax, rax
je 0x140099705
mov dword [rbp - 0x20], 0x6e756f46
mov word [rbp - 0x1c], 0x2064
mov byte [rbp - 0x1a], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rsi
call fcn.1400058e0
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::put_char____ptr64]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
mov rcx, rbx
mov edx, 3
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400d6998]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x140099705
cmp dword [rbp - 0x40], 0
jne 0x1400999e1
cmp dword [rbp - 0x28], 0
jne 0x1400999e1
xor eax, eax
movaps xmm6, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp + 0x40]
movaps xmm8, xmmword [rbp + 0x50]
movaps xmm9, xmmword [rbp + 0x60]
movaps xmm10, xmmword [rbp + 0x70]
movaps xmm11, xmmword [rbp + 0x80]
add rsp, 0x118
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rsi, [rbp - 0x30]
lea rdi, [rbp - 0x20]
jmp 0x1400998c3
call fcn.1400a7c2c
mov eax, dword [0x1400d69a8]
test eax, eax
jne 0x1400995f9
mov qword [rbp - 0x30], r14
mov word [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
movups xmmword [rbp - 0x10], xmm6
mov word [rbp - 0x20], 0
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rbx, rax
cmp rax, 7
jbe 0x140099900
mov rcx, rdi
mov rdx, rbx
mov r9, rsi
call fcn.14009bd60
jmp 0x14009991c
mov qword [rbp - 0x10], rbx
mov r8, rbx
add r8, rbx
mov rcx, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx*2 - 0x20], 0
mov rcx, rdi
call fcn.140096640
mov dword [0x1400d69a8], eax
mov rbx, qword [rbp - 8]
cmp rbx, 8
jb 0x1400998bb
mov rcx, qword [rbp - 0x20]
lea rdx, [rbx + rbx]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400998b0
mov rax, rcx
add rax, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rax, rcx
cmp rax, 0x20
jae 0x1400999db
add rbx, rbx
add rbx, 0x29
mov rdx, rbx
jmp 0x1400998b0
lea rsi, [0x140099190]
lea rdi, [rbp - 0x20]
mov rbx, qword [sym.imp.USER32.dll_EnumWindows]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400999a1
mov qword [0x1400d6990], 0
mov eax, dword [0x1400d69a8]
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x18], 0
mov rcx, rsi
mov rdx, rdi
call rbx
test eax, eax
jne 0x140099990
call r14
test eax, eax
jne 0x140099990
mov rax, qword [rbp - 0x18]
mov qword [0x1400d6990], rax
test rax, rax
jne 0x140099607
mov eax, dword [0x1400d69a8]
jmp 0x1400999a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x28], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x40], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
lea rcx, [0x1400d8038]
call fcn.1400a7d30
cmp dword [0x1400d8038], 0xffffffff
jne 0x1400994f1
xorps xmm0, xmm0
movups xmmword [0x1400d8020], xmm0
movups xmmword [0x1400d8010], xmm0
mov qword [0x1400d8030], 0
mov ecx, 0x10
call fcn.1400a7be8
mov qword [rax + 8], 0
mov qword [0x1400d8010], rax
lea rcx, [0x1400d8010]
mov qword [rax], rcx
lea rcx, [0x14009b390]
call fcn.1400a7f90
lea rcx, [0x1400d8038]
call fcn.1400a7dc8
jmp 0x1400994f1