Function at 0x140021768
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]
mov rsi, rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea rcx, str.combase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400217b6
lea rcx, [0x140075178]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea rdx, [0x1400751b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400217eb
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov rax, qword [sym.imp.USER32.dll_PeekMessageA]
mov qword [0x140091ab0], rax
mov rax, qword [sym.imp.USER32.dll_PeekMessageW]
mov qword [0x140091ac0], rax
mov rax, qword [sym.imp.USER32.dll_GetMessageA]
mov qword [0x140091ad0], rax
mov rax, qword [sym.imp.USER32.dll_GetMessageW]
mov qword [0x140091ae0], rax
mov rax, qword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
mov qword [0x140091b00], rax
mov rax, qword [sym.imp.USER32.dll_WaitMessage]
mov qword [0x140091b10], rax
mov rax, qword [sym.imp.USER32.dll_GetQueueStatus]
mov qword [0x140091b20], rax
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [0x140091b30], rax
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [0x140091b40], rax
mov rax, qword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
mov qword [0x140091af0], rax
lea rdx, str.RtlAllocateHeap
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091be0], rax
test rsi, rsi
je 0x1400218c1
lea rdx, str.DialogBoxIndirectParamA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091bf0], rax
lea rdx, str.DialogBoxIndirectParamW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091c00], rax
test rbx, rbx
je 0x140021adf
lea rdx, [0x140075200]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091940], rax
lea rdx, [0x1400751b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091950], rax
lea rdx, [0x140075210]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091960], rax
lea rdx, [0x140075220]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091970], rax
lea rdx, [0x140075230]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091980], rax
lea rdx, [0x140075240]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091990], rax
lea rdx, [0x140075258]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400919a0], rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [0x1400919b0], rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov qword [0x1400919c0], rax
lea rdx, [0x140070528]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400919d0], rax
lea rdx, [0x140075270]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400919e0], rax
lea rdx, [0x140075280]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a10], rax
lea rdx, [0x140075290]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a20], rax
lea rdx, [0x1400752a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a30], rax
lea rdx, [0x1400752b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a40], rax
lea rdx, [0x1400752c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a50], rax
lea rdx, [0x1400752d0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a60], rax
lea rdx, [0x1400752e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a70], rax
lea rdx, [0x1400752f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a80], rax
lea rdx, [0x140075300]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091a90], rax
lea rdx, [0x140075318]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140091aa0], rax
lea rdx, [0x140075330]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmove rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
mov qword [0x1400919f0], rax
lea rdx, [0x140075348]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmove rax, qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueA]
mov qword [0x140091a00], rax
mov rax, qword [sym.imp.USER32.dll_EnableScrollBar]
mov qword [0x140091b50], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollBarInfo]
mov qword [0x140091b60], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollInfo]
mov qword [0x140091b70], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollPos]
mov qword [0x140091b80], rax
mov rax, qword [sym.imp.USER32.dll_GetScrollRange]
mov qword [0x140091b90], rax
mov rax, qword [sym.imp.USER32.dll_SetScrollInfo]
mov qword [0x140091ba0], rax
mov rax, qword [sym.imp.USER32.dll_SetScrollPos]
mov qword [0x140091bb0], rax
mov rax, qword [sym.imp.USER32.dll_SetScrollRange]
mov qword [0x140091bc0], rax
mov rax, qword [sym.imp.USER32.dll_ShowScrollBar]
mov qword [0x140091bd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapLock]
call fcn.140059c50
test eax, eax
jne 0x140022099
lea rdx, [0x140021190]
lea rcx, [0x140091ab0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400211a8]
lea rcx, [0x140091ac0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400211c0]
lea rcx, [0x140091ad0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400211d8]
lea rcx, [0x140091ae0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400211f0]
lea rcx, [0x140091af0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021208]
lea rcx, [0x140091b00]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021220]
lea rcx, [0x140091b20]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021238]
lea rcx, [0x140091b30]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021250]
lea rcx, [0x140091b40]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021268]
lea rcx, [0x140091be0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
test rsi, rsi
je 0x140021cda
lea rdx, [0x140021280]
lea rcx, [0x140091bf0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021298]
lea rcx, [0x140091c00]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
test rbx, rbx
je 0x140021f7e
lea rdx, [0x1400212b0]
lea rcx, [0x140091940]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400212c8]
lea rcx, [0x140091950]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400212e0]
lea rcx, [0x140091960]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400212f8]
lea rcx, [0x140091970]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021310]
lea rcx, [0x140091980]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021340]
lea rcx, [0x140091990]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021328]
lea rcx, [0x1400919a0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021370]
lea rcx, [0x1400919b0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021358]
lea rcx, [0x1400919c0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400213a0]
lea rcx, [0x1400919d0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021388]
lea rcx, [0x1400919e0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400213d0]
lea rcx, [0x1400919f0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400213b8]
lea rcx, [0x140091a00]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021400]
lea rcx, [0x140091a10]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400213e8]
lea rcx, [0x140091a20]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021430]
lea rcx, [0x140091a30]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021418]
lea rcx, [0x140091a40]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021498]
lea rcx, [0x140091a50]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021448]
lea rcx, [0x140091a60]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021538]
lea rcx, [0x140091a70]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400214e8]
lea rcx, [0x140091a80]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x14002160c]
lea rcx, [0x140091a90]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021588]
lea rcx, [0x140091aa0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021690]
lea rcx, [0x140091b50]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400216a8]
lea rcx, [0x140091b60]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400216c0]
lea rcx, [0x140091b70]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400216d8]
lea rcx, [0x140091b80]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x1400216f0]
lea rcx, [0x140091b90]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021708]
lea rcx, [0x140091ba0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021720]
lea rcx, [0x140091bb0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021738]
lea rcx, [0x140091bc0]
call fcn.140059674
mov edi, eax
test eax, eax
jne 0x14002206b
lea rdx, [0x140021750]
lea rcx, [0x140091bd0]
call fcn.140059674
mov edi, eax
test eax, eax
je 0x140022080
call fcn.140059b54
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400220a7
call fcn.140059ce0
test eax, eax
je 0x140022099
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140059ce8
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]
nop
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret