Function at 0x140030c80
Capabilities:
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1400381d4]
lea rdx, str.CONOUT_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1400381e0]
lea rdx, str.CONIN_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x1400381d4]
lea rdx, str.CONOUT_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Debug_Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [0x14003e960], 0x50
mov dword [0x14003e964], 0x40
lea rax, [0x14002fc20]
mov qword [0x14003e968], rax
xor esi, esi
mov qword [0x14003e970], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x14003e978], rax
xorps xmm0, xmm0
movdqa xmmword [0x14003e980], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x14003e990], xmm1
lea r14, [0x140038158]
mov qword [0x14003e9a0], r14
mov qword [0x14003e9a8], rsi
lea rcx, [0x14003e960]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
mov rax, qword [0x14003e978]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x258
mov dword [rsp + 0x30], 0x320
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
lea r8, str.My_Window_Title
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14003e948], rax
lea edx, [rsi + 0xa]
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14003e948]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb4], rsi
mov dword [rsp + 0xc0], esi
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xe0], rsi
mov dword [rsp + 0xa0], 0x320
mov dword [rsp + 0xa4], 0x258
mov dword [rsp + 0xb0], 0x1c
mov dword [rsp + 0xc4], 0x20
mov rax, qword [0x14003e948]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xbc], 1
mov qword [rsp + 0xd8], 1
lea rax, [0x14003e930]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rsi
lea rax, [0x14003e958]
mov qword [rsp + 0x48], rax
lea rax, [0x14003e938]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
js 0x1400313eb
call fcn.1400305c0
call fcn.140030650
cmp byte [0x14003e0b4], sil
je 0x140031217
mov qword [rsp + 0x68], rsi
mov edi, 0xff
movabs r12, 0x7fffffffffb3b4bf
movabs r13, 0x7fffffffffffffff
movabs r14, 0x4e94914effff
movabs r15, 0x431bde82d7b634db
movss xmm6, dword [0x140038398]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140030fea
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rsp + 0xa8], 0x12
je 0x140030fff
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140030fa2
mov rax, qword [0x14003e8f8]
test rax, rax
je 0x14003100f
mov rcx, qword [rax + 0xf0]
jmp 0x140031012
cmp byte [0x14003e0b4], 0
sete byte [0x14003e0b4]
jmp 0x140031029
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x14003101e
call fcn.140026cc0
call fcn.140027770
call fcn.140005e00
nop
mov rax, qword [0x14003e8f8]
mov qword [rax + 0x1d28], rsi
mov qword [rax + 0x1d30], rsi
mov dword [rax + 0x1d1c], 1
or dword [rax + 0x1d18], 3
mov dword [rax + 0x1d38], 0x44480000
mov dword [rax + 0x1d3c], 0x44160000
mov dword [rax + 0x1d20], 1
mov r8d, 0x4164
lea rdx, [0x14003e0b4]
lea rcx, str.test_window
call fcn.14000b3a0
call fcn.14000e390
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [0x14003e9b0]
xor edx, edx
lea rcx, [0x14003355e]
call fcn.14002cf80
movaps xmm1, xmm6
xorps xmm0, xmm0
call fcn.14000e1c0
lea rdx, [rsp + 0x68]
call fcn.14002a050
test al, al
je 0x1400310f3
lea rdx, [0x14003e9b0]
lea rcx, str.Search_button_clicked_with_query:__s
call fcn.14002fbc0
call fcn.14000e4c0
call fcn.14000d7f0
nop
call fcn.140008060
movaps xmm0, xmmword [0x140038410]
movups xmmword [rsp + 0xf0], xmm0
mov rcx, qword [0x14003e930]
mov rax, qword [rcx]
lea r8, [rsp + 0xf0]
mov rdx, qword [0x14003e950]
call qword [rax + 0x190]
call fcn.140008430
mov rax, qword [0x14003e8f8]
mov rax, qword [rax + 0x1e10]
mov rcx, qword [rax]
add rcx, 0x40
mov rax, rsi
cmp byte [rcx], sil
cmovne rax, rcx
mov rcx, rax
call fcn.140026260
mov rcx, qword [0x14003e938]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
nop
lea rcx, [rsp + 0x70]
call fcn.140030a20
mov rax, qword [rsp + 0x70]
cmp rax, r12
je 0x140031199
mov ecx, 1
cmovl ecx, edi
test cl, cl
lea rbx, [rax + 0x4c4b40]
js 0x1400311a0
mov rbx, r13
nop dword [rax]
lea rcx, [rsp + 0x78]
call fcn.140030a20
mov rax, qword [rsp + 0x78]
cmp rbx, rax
je 0x140031203
mov ecx, 1
cmovl ecx, edi
test cl, cl
jle 0x140031203
mov rcx, rbx
sub rcx, rax
cmp rcx, r14
jg 0x1400311f7
mov rax, r15
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x1400311ee
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x1400311a0
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x1400311a0
cmp byte [0x14003e0b4], 0
jne 0x140030f80
lea r14, [0x140038158]
mov rbx, qword [0x14003e8f8]
test rbx, rbx
je 0x14003122c
mov rdi, qword [rbx + 0xf0]
jmp 0x14003122f
mov rdi, rsi
call fcn.140027200
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140031243
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140031251
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140031260
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0xe0], rsi
mov qword [rbx + 0xf0], rsi
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x14003e8f8]
test rax, rax
je 0x140031284
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14003e8f8]
test rax, rax
je 0x1400312a2
mov rbx, qword [rax + 0xe8]
jmp 0x1400312a5
mov rbx, rsi
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400312bf
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14003e8f8]
mov qword [rdi + 0xd0], rsi
mov qword [rdi + 0xe0], rsi
test rax, rax
je 0x1400312d8
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14003e8f8]
mov rcx, rbx
call fcn.1400074b0
cmp qword [0x14003e8f8], rbx
jne 0x140031300
mov qword [0x14003e8f8], rsi
test rbx, rbx
je 0x140031329
mov rcx, rbx
call fcn.140015db0
mov rax, qword [0x14003e8f8]
test rax, rax
je 0x14003131f
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [0x14003e950]
test rcx, rcx
je 0x140031342
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14003e950], rsi
mov rcx, qword [0x14003e938]
test rcx, rcx
je 0x14003135b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14003e938], rsi
mov rcx, qword [0x14003e930]
test rcx, rcx
je 0x140031374
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14003e930], rsi
mov rcx, qword [0x14003e958]
test rcx, rcx
je 0x14003138d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14003e958], rsi
mov rcx, qword [0x14003e948]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x14003e978]
mov rcx, r14
call qword [sym.imp.USER32.dll_UnregisterClassW]
nop
xor eax, eax
jmp 0x1400313b4
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140031420
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
ret
lea rcx, [rsp + 0x88]
call fcn.140030bb0
lea rdx, [0x14003c538]
lea rcx, [rsp + 0x88]
call sub.VCRUNTIME140.dll__CxxThrowException
int3