Function at 0x140004014
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x140004038
xor r8d, r8d
lea rcx, str.user32.dll
xor edx, edx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov qword [rbx], rax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140004047
xor al, al
jmp 0x140004204
lea rdx, str.DialogBoxParamW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 8], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.SetDlgItemTextW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.EndDialog
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.GetDesktopWindow
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.GetWindowRect
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.GetClientRect
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.MapWindowPoints
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.SetWindowPos
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.GetProcessWindowStation
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.SetProcessWindowStation
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.OpenWindowStationW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.CloseWindowStation
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x60], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.GetThreadDesktop
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x68], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.SetThreadDesktop
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.OpenDesktopW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x140004040
mov rcx, qword [rbx]
lea rdx, str.CloseDesktop
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
mov qword [rbx + 0x80], rax
setne al
add rsp, 0x20
pop rbx
ret