Function at 0x140017830
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.ntdll.dll
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.combase.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14001787e
lea rcx, [0x140075d80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140069468]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400178b3
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov rax, qword [sym.imp.USER32.dll_PeekMessageA]
lea rdx, str.RtlAllocateHeap
mov qword [0x14008d1b0], rax
mov rcx, rdi
mov rax, qword [sym.imp.USER32.dll_PeekMessageW]
mov qword [0x14008d1c0], rax
mov rax, qword [sym.imp.USER32.dll_GetMessageA]
mov qword [0x14008d1d0], rax
mov rax, qword [sym.imp.USER32.dll_GetMessageW]
mov qword [0x14008d1e0], rax
mov rax, qword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov qword [0x14008d200], rax
mov rax, qword [sym.imp.USER32.dll_WaitMessage]
mov qword [0x14008d210], rax
mov rax, qword [sym.imp.USER32.dll_GetQueueStatus]
mov qword [0x14008d220], rax
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [0x14008d230], rax
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [0x14008d240], rax
mov rax, qword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
mov qword [0x14008d1f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008d2e0], rax
test rsi, rsi
je 0x140017989
lea rdx, str.DialogBoxIndirectParamA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DialogBoxIndirectParamW
mov rcx, rsi
mov qword [0x14008d2f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008d300], rax
test rbx, rbx
je 0x140017ba7
lea rdx, [0x1400694b8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069468]
mov rcx, rbx
mov qword [0x14008d040], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400694c8]
mov rcx, rbx
mov qword [0x14008d050], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400694d8]
mov rcx, rbx
mov qword [0x14008d060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400694e8]
mov rcx, rbx
mov qword [0x14008d070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400694f8]
mov rcx, rbx
mov qword [0x14008d080], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069510]
mov rcx, rbx
mov qword [0x14008d090], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008d0a0], rax
lea rdx, [0x1400686e0]
mov rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rbx
mov qword [0x14008d0b0], rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov qword [0x14008d0c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069528]
mov rcx, rbx
mov qword [0x14008d0d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069538]
mov rcx, rbx
mov qword [0x14008d0e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069548]
mov rcx, rbx
mov qword [0x14008d110], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069558]
mov rcx, rbx
mov qword [0x14008d120], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069568]
mov rcx, rbx
mov qword [0x14008d130], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069578]
mov rcx, rbx
mov qword [0x14008d140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069588]
mov rcx, rbx
mov qword [0x14008d150], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069598]
mov rcx, rbx
mov qword [0x14008d160], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400695a8]
mov rcx, rbx
mov qword [0x14008d170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400695b8]
mov rcx, rbx
mov qword [0x14008d180], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400695d0]
mov rcx, rbx
mov qword [0x14008d190], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14008d1a0], rax
lea rdx, [0x1400695e8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140069600]
mov rcx, rbx
test rax, rax
cmove rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov qword [0x14008d0f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmove rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueA]
mov qword [0x14008d100], rax
mov rax, qword [sym.imp.USER32.dll_EnableScrollBar]
mov qword [0x14008d250], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollBarInfo]
mov qword [0x14008d260], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollInfo]
mov qword [0x14008d270], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollPos]
mov qword [0x14008d280], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollRange]
mov qword [0x14008d290], rax
mov rax, qword [sym.imp.USER32.dll_SetScrollInfo]
mov qword [0x14008d2a0], rax
mov rax, qword [sym.imp.USER32.dll_SetScrollPos]
mov qword [0x14008d2b0], rax
mov rax, qword [sym.imp.USER32.dll_SetScrollRange]
mov qword [0x14008d2c0], rax
mov rax, qword [sym.imp.USER32.dll_ShowScrollBar]
mov qword [0x14008d2d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapLock]
call fcn.1400282e0
test eax, eax
jne 0x140018161
lea rdx, [0x140001100]
lea rcx, [0x14008d1b0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400010d0]
lea rcx, [0x14008d1c0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003efc8]
lea rcx, [0x14008d1d0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140001118]
lea rcx, [0x14008d1e0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140001ddc]
lea rcx, [0x14008d1f0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400010b8]
lea rcx, [0x14008d200]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400010e8]
lea rcx, [0x14008d220]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003efe0]
lea rcx, [0x14008d230]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400010a0]
lea rcx, [0x14008d240]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, section..text
lea rcx, [0x14008d2e0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
test rsi, rsi
je 0x140017da2
lea rdx, [0x14003eff8]
lea rcx, [0x14008d2f0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f010]
lea rcx, [0x14008d300]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
test rbx, rbx
je 0x140018046
lea rdx, [0x140004088]
lea rcx, [0x14008d040]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14000cee8]
lea rcx, [0x14008d050]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140001a80]
lea rcx, [0x14008d060]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140001fe0]
lea rcx, [0x14008d070]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140001a98]
lea rcx, [0x14008d080]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140001b80]
lea rcx, [0x14008d090]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140002130]
lea rcx, [0x14008d0a0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f040]
lea rcx, [0x14008d0b0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f028]
lea rcx, [0x14008d0c0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140007230]
lea rcx, [0x14008d0d0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f058]
lea rcx, [0x14008d0e0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f088]
lea rcx, [0x14008d0f0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f070]
lea rcx, [0x14008d100]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f0b8]
lea rcx, [0x14008d110]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f0a0]
lea rcx, [0x14008d120]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400063e0]
lea rcx, [0x14008d130]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f0d0]
lea rcx, [0x14008d140]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400024d8]
lea rcx, [0x14008d150]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14000af60]
lea rcx, [0x14008d160]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400023a8]
lea rcx, [0x14008d170]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f0e8]
lea rcx, [0x14008d180]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x1400021e4]
lea rcx, [0x14008d190]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f138]
lea rcx, [0x14008d1a0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14000b608]
lea rcx, [0x14008d250]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f1bc]
lea rcx, [0x14008d260]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14000b620]
lea rcx, [0x14008d270]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f1d4]
lea rcx, [0x14008d280]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f1ec]
lea rcx, [0x14008d290]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x140001130]
lea rcx, [0x14008d2a0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f204]
lea rcx, [0x14008d2b0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14003f21c]
lea rcx, [0x14008d2c0]
call fcn.140018190
mov edi, eax
test eax, eax
jne 0x140018133
lea rdx, [0x14000b638]
lea rcx, [0x14008d2d0]
call fcn.140018190
mov edi, eax
test eax, eax
je 0x140018148
call fcn.14005bd40
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x14001816f
call fcn.140016508
test eax, eax
je 0x140018161
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14001650c
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapUnlock]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret