Function at 0x14004d230
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp qword [0x1400801d8], 0xf
lea rcx, [0x1400801c0]
cmova rcx, qword [0x1400801c0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [0x14004cc60]
mov dword [0x140080100], 0x50
mov qword [0x140080108], rax
lea rdi, str.CiceroUIWndFrame
mov rax, qword [0x140080158]
lea rcx, [0x140080100]
mov qword [0x140080118], rax
mov qword [0x140080140], rdi
call qword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x14004d4f3
mov rax, qword [0x140080158]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov r9d, 0x90000000
mov qword [rsp + 0x50], rax
mov r8, rdi
mov eax, dword [0x140080190]
mov rdx, rdi
mov qword [rsp + 0x48], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], eax
mov eax, dword [0x140080160]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400800f8], rax
test rax, rax
je 0x14004d4f3
lea edx, [rbx - 0x14]
mov r8d, 0x80088
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400800f8]
lea rdx, [0x140063288]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1400800f8]
lea edx, [rbx + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400800f8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400800f8]
lea rdx, [rbx - 1]
mov dword [rsp + 0x30], 3
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400800f8]
lea edx, [rbx - 0x14]
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400800f8]
lea edx, [rbx - 0x14]
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rax, qword [0x1400800f8]
lea edx, [rbx + 1]
mov qword [rbp + 0x17], rax
xor r9d, r9d
lea rax, [0x140080150]
mov qword [rbp - 5], rbx
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rbp + 0x37]
mov qword [rbp + 0xf], 2
mov qword [rsp + 0x50], rax
xor ecx, ecx
lea rax, [0x140080180]
mov qword [rbp + 0x27], rbx
mov qword [rsp + 0x48], rax
lea rax, [0x140080178]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x3f]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x1f], 1
mov dword [rbp - 9], 0x1c
mov qword [rbp - 0x19], rbx
mov dword [rbp + 0xb], 0x20
mov qword [rbp + 3], 1
mov dword [rbp - 0x11], 0xf0
mov dword [rbp - 0xd], 1
mov dword [rbp + 0x3f], 0xb000
mov dword [rbp + 0x43], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14004d4ea
mov rcx, qword [0x140080178]
lea r9, [rbp - 0x29]
mov qword [rbp - 0x29], rbx
lea r8, [0x140059188]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x14004d4b3
mov rcx, qword [0x140080180]
lea r9, [0x140080188]
mov rdx, qword [rbp - 0x29]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140080150]
lea r8, [0x140080188]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
call fcn.14004ccc0
test eax, eax
jne 0x14004d4e3
lea rcx, str.Failed_to_init_swapchain_n
jmp 0x14004d4fa
mov eax, 1
jmp 0x14004d501
lea rcx, str.Failed_to_create_swapchain_n
jmp 0x14004d4fa
lea rcx, str.Failed_to_create_overlay_n
call fcn.140001620
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004d970
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret