Function at 0x14002dee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x14018f0c0]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rsi, r9
mov r14, rdx
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0x70], r9
mov r15, qword [rsp + 0x180]
mov qword [rsp + 0x80], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14002df45
mov rdx, qword [r14]
lea rcx, [rsi + 0x58]
mov dword [rcx], 0x50
mov dword [rcx + 4], 0x40
lea r8, [0x14002de10]
mov qword [rcx + 8], r8
xor r13d, r13d
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], r13
mov qword [rcx + 0x28], r13
mov qword [rcx + 0x30], r13
mov qword [rcx + 0x38], r13
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x48], r13
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rdx, qword [rsi + 0x98]
cvttss2si ecx, dword [rsp + 0xf4]
cvttss2si r8d, dword [rsp + 0xf0]
mov qword [rsp + 0x58], r13
mov rax, qword [rsi + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsi], rax
test rax, rax
je 0x14002e404
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [rsi + 8], rax
test rax, rax
je 0x14002e431
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x24], r13
mov dword [rsi + 0x2c], r13d
mov qword [rsi + 0x34], r13
mov dword [rsi + 0x3c], r13d
mov qword [rsi + 0x4c], r13
mov dword [rsi + 0x40], 1
mov dword [rsi + 0x30], 1
mov dword [rsi + 0x20], r13d
mov dword [rsi + 0x44], 1
mov dword [rsi + 0x48], 0x50
mov dword [rsi + 0x54], 1
mov rcx, rax
mov rax, qword [rax]
mov r10, qword [rax + 0x80]
lea r12, [rsi + 0x10]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40
mov r9, qword [rsi]
xor edx, edx
lea r8d, [rdx + 1]
call r10
test eax, eax
js 0x14002e431
mov rdi, qword [rsi]
lea rdx, [rsp + 0xf8]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [rsp + 0x104]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [rsp + 0x100]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, ebx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 0xa
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1405456f0]
test rax, rax
je 0x14002e111
inc dword [rax + 0xec]
mov ecx, 0x6218
call fcn.1400bb130
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rax
test rax, rax
je 0x14002e149
xor edx, edx
mov rcx, rax
call fcn.1400168c0
jmp 0x14002e14c
mov rax, r13
cmp qword [0x1405456f0], 0
jne 0x14002e15d
mov qword [0x1405456f0], rax
mov rcx, rax
call fcn.1400066d0
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x14002e42c
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x10]
mov rsi, qword [rsi]
mov rbx, qword [0x1405456f0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002e2ed
lea rcx, [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002e2ed
mov rax, qword [0x1405456f0]
test rax, rax
je 0x14002e1c3
inc dword [rax + 0xec]
mov ecx, 0x48
call fcn.1400bb130
mov rdi, rax
test rax, rax
je 0x14002e1ef
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x14002e1f2
mov rdi, r13
mov qword [rbx + 0x90], rdi
lea rax, [0x140142298]
mov qword [rbx + 0x80], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rsp + 0xf0]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x108]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1405456f0]
mov rax, qword [rax + 0x4070]
mov rcx, qword [rax]
mov qword [rcx + 0x28], rsi
lea rax, [0x1401422b0]
mov qword [rsp + 0x88], rax
lea rax, [0x1401422c0]
mov qword [rsp + 0x90], rax
lea rax, [0x1401422d0]
mov qword [rsp + 0x98], rax
lea rax, [0x1401422e0]
mov qword [rsp + 0xa0], rax
lea rax, [0x1401422f0]
mov qword [rsp + 0xa8], rax
mov rbx, r13
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002e2c1
inc rbx
cmp rbx, 5
jl 0x14002e2a0
jmp 0x14002e2ed
mov qword [rdi + 0x30], rsi
lea rdx, [0x140142300]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, [0x140142318]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [r12]
mov rbx, qword [0x1405456f0]
test rbx, rbx
je 0x14002e303
inc dword [rbx + 0xec]
mov ecx, 0x28
call fcn.1400bb130
test rax, rax
je 0x14002e331
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14002e334
mov rax, r13
mov qword [rbx + 0x98], rax
lea rcx, [0x140142288]
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14002e394
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14002e38f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002e45a
mov rcx, r8
call fcn.1400b41d0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x14002e3c0
mov rax, qword [rcx]
cmp rcx, r15
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [r15 + 0x38], r13
mov al, 1
jmp 0x14002e3e1
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400b41b0
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.error_while_creating_the_window
lea rcx, [rsp + 0xb8]
call fcn.140032370
lea rdx, [0x14018d7e8]
lea rcx, [rsp + 0xb8]
call fcn.1400b6590
call fcn.1400b30fc
lea rdx, str.cannot_create_device_
lea rcx, [rsp + 0xd0]
call fcn.140032370
lea rdx, [0x14018d7e8]
lea rcx, [rsp + 0xd0]
call fcn.1400b6590
nop
call fcn.1400c5874
int3