Function at 0x4b2020
Capabilities:
Check if file exists
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3a71
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b2067
mov eax, 1
jmp 0x4b2321
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x4b209d
mov eax, 0x80004005
jmp 0x4b2321
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], eax
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b233d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4b20eb
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.00429d30
jmp 0x4b2116
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b20f4
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.0042a000
push 0x5be258
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.00489460
push str.regsvr32.exe
lea ecx, [ebp - 0x220]
call fcn.00489460
push dword [ebp - 0x220]
call fcn.0051b990
add esp, 4
or ebx, 0xffffffff
test eax, eax
jne 0x4b217e
push dword [ebp - 0x220]
push str.1022_t_registerQingDll_tpathRegsvr32_checkLocalFileSafe_fail__current_path
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonappKUninstallkuserinfo.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
mov esi, 0x80004005
jmp 0x4b2304
lea ecx, [ebp - 0x224]
call fcn.0042a980
cmp byte [ebp + 0x10], 0
push dword [esi]
mov byte [ebp - 4], 2
je 0x4b21a1
mov eax, 0x5c63a0
mov ecx, str._s__u___s_
jmp 0x4b21ab
mov eax, str.__s__n__i:_user____s_
mov ecx, str._s___s_
cmp byte [ebp + 0xc], 0
cmove eax, ecx
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0042c6c0
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.0042a980
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x228]
push esi
push str.register_qingshellext_arg:_s_n
push eax
mov byte [ebp - 4], 3
call fcn.0042c6c0
mov edi, dword [ebp - 0x228]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x264], 0x3c
mov dword [ebp - 0x260], 0x440
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x248], 0
call fcn.0051c140
add esp, 4
test eax, eax
jne 0x4b22ac
mov dword [ebp - 0x224], 0x80004005
jmp 0x4b22d0
push 0xffffffffffffffff
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4b22e7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b22fe
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4b231f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
int3