Function at 0x180001090
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80], rax
lea rcx, str.GetAddresses__
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0x50]
call fcn.180005bc0
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
xor ecx, ecx
mov dword [rbp - 0x30], 0x50
mov dword [rbp - 0x2c], 3
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x18], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rdi, [0x18001a538]
lea rcx, [rbp - 0x30]
movdqa xmm0, xmmword [0x18001abc0]
movdqa xmmword [rbp], xmm0
mov qword [rbp - 8], rax
mov qword [rbp + 0x10], rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x180001147
lea rcx, str.Failure_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movdqa xmm0, xmmword [0x18001abd0]
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov edx, 0xcf0000
movdqu xmmword [rbp + 0x20], xmm0
call qword [sym.imp.USER32.dll_AdjustWindowRect]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, dword [rbp + 0x2c]
mov ecx, dword [rbp + 0x28]
sub r8d, dword [rbp + 0x24]
sub ecx, dword [rbp + 0x20]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], ecx
mov r9d, 0xcf0000
xor ecx, ecx
mov r8, rdi
mov rdx, rdi
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x1800015d6
xor eax, eax
lea rcx, str.D3D11.dll
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x58], 1
mov dword [rbp + 0x30], 0x280
mov dword [rbp + 0x34], 0x1e0
mov dword [rbp + 0x40], 0x1c
mov dword [rbp + 0x38], 0x3c
mov dword [rbp + 0x3c], 1
mov dword [rbp + 0x54], 0x20
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x4c], 1
mov dword [rbp + 0x68], 1
mov qword [rbp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x180001323
lea rdx, str.D3D11CreateDeviceAndSwapChain
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x78]
lea edx, [r9 + 1]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [0x18001fe78], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 7
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call rax
test eax, eax
js 0x180001330
mov rax, qword [rsp + 0x70]
mov rcx, qword [0x18001fea8]
mov rdx, qword [rax]
mov rax, qword [rdx + 0x60]
mov qword [rcx + 0x278], rax
mov rax, qword [rdx + 0x68]
mov qword [rcx + 0x280], rax
mov rax, qword [rdx + 0xa0]
mov qword [rcx + 0x288], rax
mov rax, qword [rdx + 0xa8]
mov qword [rcx + 0x290], rax
mov rax, qword [rdx + 0x130]
mov qword [rcx + 0x298], rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x180001330
lea rcx, str.D3D11.dll_not_loaded
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, str.D3D10.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x180001415
lea rdx, str.D3D10CreateDeviceAndSwapChain
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x30]
xor edx, edx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [0x18001fe80], rax
mov dword [rsp + 0x20], 0x1d
call rax
test eax, eax
js 0x180001422
mov rax, qword [rsp + 0x60]
mov rdx, qword [0x18001fea8]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov qword [rdx + 0x200], rax
mov rax, qword [rcx + 0x68]
mov qword [rdx + 0x208], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov qword [rdx + 0x250], rax
mov rax, qword [rcx + 0x48]
mov qword [rdx + 0x258], rax
mov rax, qword [rcx + 0x70]
mov qword [rdx + 0x260], rax
mov rax, qword [rcx + 0x78]
mov qword [rdx + 0x268], rax
mov rax, qword [rcx + 0xe0]
mov qword [rdx + 0x270], rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x180001422
lea rcx, str.D3D10_dll_not_loaded
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, str.D3D9.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1800015c0
lea rdx, str.Direct3DCreate9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18001fe70], rax
test rax, rax
je 0x1800015b7
mov ecx, 0x20
call rax
mov rbx, rax
test rax, rax
je 0x1800015ae
xor eax, eax
lea rcx, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x28], rcx
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov rax, qword [rbx]
lea r8d, [rdx + 1]
mov rcx, rbx
mov r9, rdi
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x58], 3
mov dword [rsp + 0x20], 0x20
call qword [rax + 0x80]
test eax, eax
js 0x180001596
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x18000157e
mov rdx, qword [rdx]
mov rcx, qword [0x18001fea8]
mov rax, qword [rdx + 0x88]
mov qword [rcx + 0x210], rax
mov rax, qword [rdx + 0x80]
mov qword [rcx + 0x218], rax
mov rax, qword [rdx + 0x288]
mov qword [rcx + 0x220], rax
mov rax, qword [rdx + 0x290]
mov qword [rcx + 0x228], rax
mov rax, qword [rdx + 0x298]
mov qword [rcx + 0x230], rax
mov rax, qword [rdx + 0x2a0]
mov qword [rcx + 0x238], rax
mov rax, qword [rdx + 0x398]
mov qword [rcx + 0x240], rax
mov rax, qword [rdx + 0x3a0]
mov qword [rcx + 0x248], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, str.Success:_Fetched_the_Direct3D9_method_addresses
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x1800015cd
lea rcx, str.d3d9device_is_NULL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x1800015cd
lea rcx, str.FAILED_d3d9__CreateDevice_D3DADAPTER_DEFAULT__D3DDEVTYPE_HAL__x__D3DCREATE_SOFTWARE_VERTEXPROCESSING__d3dpp__d3d9device__
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x1800015cd
lea rcx, str.D3DCreate9_failed
jmp 0x1800015c7
lea rcx, str.Direct3DCreate9_not_found
jmp 0x1800015c7
lea rcx, str.D3D9_dll_not_loaded
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1800044a0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret