Function at 0x449220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ae01
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x449514
cmp dword [ebp + 0x14], 0
jne 0x449277
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x449514
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._regsvr32.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056b327
lea eax, [ebp - 0x218]
push eax
call fcn.0051b990
add esp, 0x10
test eax, eax
jne 0x4492f5
lea eax, [ebp - 0x218]
push eax
push str.1152_tKFuncAux::RegisterDll_ttzRegSvr32_checkLocalFileSafe_fail__current_path
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
mov eax, 0x80004005
jmp 0x449519
push 0x5b8d74
lea ecx, [ebp - 0x21c]
call fcn.00444960
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
jne 0x449324
push 3
push 0x5b8d78
lea ecx, [ebp - 0x21c]
call fcn.00429970
mov eax, dword [esi]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x449392
cmp dword [ebp + 0x14], 0
jne 0x449347
push 3
push 0x5b8d80
lea ecx, [ebp - 0x21c]
call fcn.00429970
push esi
lea eax, [ebp - 0x220]
push str.__i:
push eax
call fcn.00438f80
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
push dword [eax - 0xc]
push eax
call fcn.00429970
mov edx, dword [ebp - 0x220]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449392
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push 0x5b8d94
push eax
call fcn.00438f80
push 0x5b69ac
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
push eax
call fcn.004297b0
add esp, 0x18
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.00429970
mov edx, dword [ebp - 0x224]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4493f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449415
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x248], 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 - 0x228], 0
mov dword [ebp - 0x260], 0x3c
mov dword [ebp - 0x25c], 0x440
mov dword [ebp - 0x244], 0
call fcn.0051c140
add esp, 4
test eax, eax
jne 0x4494d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4494f5
movzx esi, si
or esi, 0x80070000
jmp 0x4494f5
push 0xffffffffffffffff
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x449510
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x449519
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret