Function at 0x180046230
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1800ac028]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor edx, edx
lea rcx, [0x180046630]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x1800ad300]
test rbx, rbx
je 0x18004627b
inc dword [rbx + 0xf0]
mov ecx, 0x5e78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
xor esi, esi
test rax, rax
je 0x1800462ad
xor edx, edx
mov rcx, rax
call fcn.180005650
jmp 0x1800462b0
mov rax, rsi
mov qword [0x1800ad300], rax
call fcn.18000ac70
test rbx, rbx
je 0x1800462c8
mov qword [0x1800ad300], rbx
mov rcx, qword [0x1800ad5b8]
call fcn.180003540
lea r8, [0x1800466a0]
mov edx, 0xfffffffc
mov rcx, qword [0x1800ad5b8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1800ad5b0], rax
mov qword [rbp - 0x10], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x28], rsi
mov dword [rbp - 0x20], 0x50
lea rax, str.TempWndClass
mov qword [rbp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 8], rax
mov dword [rbp - 0x1c], 3
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
mov rax, qword [rbp - 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0xcf0000
lea r8, str.TempDXWindow
mov rdx, qword [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x5c], rsi
mov qword [rbp - 0x54], 1
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x30], 2
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x4c], 0x20
mov dword [rbp - 0x60], 0x1c
mov dword [rbp + 0x30], 0xb000
mov dword [rbp + 0x34], 0xa100
xor bl, bl
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
js 0x18004648b
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x40]
mov qword [0x1800ad580], rax
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r8, [0x1800ad570]
lea rdx, [0x180045f10]
mov rcx, qword [0x1800ad580]
call fcn.18006fad8
test eax, eax
jne 0x18004648b
mov rcx, qword [0x1800ad580]
call fcn.18006fc98
test eax, eax
jne 0x18004648b
mov bl, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180070c20
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret