Function at 0x14004ce30
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 [0x140061040]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp qword [0x14007e1d8], 0xf
lea rcx, [0x14007e1c0]
cmova rcx, qword [0x14007e1c0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [0x14004c860]
mov dword [0x14007e100], 0x50
mov qword [0x14007e108], rax
lea rdi, str.CiceroUIWndFrame
mov rax, qword [0x14007e158]
lea rcx, [0x14007e100]
mov qword [0x14007e118], rax
mov qword [0x14007e140], rdi
call qword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x14004d0f3
mov rax, qword [0x14007e158]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov r9d, 0x90000000
mov qword [rsp + 0x50], rax
mov r8, rdi
mov eax, dword [0x14007e190]
mov rdx, rdi
mov qword [rsp + 0x48], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], eax
mov eax, dword [0x14007e160]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14007e0f8], rax
test rax, rax
je 0x14004d0f3
lea edx, [rbx - 0x14]
mov r8d, 0x80088
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14007e0f8]
lea rdx, [0x140061288]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x14007e0f8]
lea edx, [rbx + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14007e0f8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x14007e0f8]
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 [0x14007e0f8]
lea edx, [rbx - 0x14]
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14007e0f8]
lea edx, [rbx - 0x14]
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rax, qword [0x14007e0f8]
lea edx, [rbx + 1]
mov qword [rbp + 0x17], rax
xor r9d, r9d
lea rax, [0x14007e150]
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, [0x14007e180]
mov qword [rbp + 0x27], rbx
mov qword [rsp + 0x48], rax
lea rax, [0x14007e178]
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 0x14004d0ea
mov rcx, qword [0x14007e178]
lea r9, [rbp - 0x29]
mov qword [rbp - 0x29], rbx
lea r8, [0x140057da8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x14004d0b3
mov rcx, qword [0x14007e180]
lea r9, [0x14007e188]
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 [0x14007e150]
lea r8, [0x14007e188]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
call fcn.14004c8c0
test eax, eax
jne 0x14004d0e3
lea rcx, str.Failed_to_init_swapchain_n
jmp 0x14004d0fa
mov eax, 1
jmp 0x14004d101
lea rcx, str.Failed_to_create_swapchain_n
jmp 0x14004d0fa
lea rcx, str.Failed_to_create_overlay_n
call fcn.140001610
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004d570
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret