Function at 0x448d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f261
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x639354]
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 0x449074
cmp dword [ebp + 0x14], 0
jne 0x448dd7
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x449074
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
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.0056f877
lea eax, [ebp - 0x218]
push eax
call fcn.0051f2a0
add esp, 0x10
test eax, eax
jne 0x448e55
lea eax, [ebp - 0x218]
push eax
push str.1152_tKFuncAux::RegisterDll_ttzRegSvr32_checkLocalFileSafe_fail__current_path
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x641cc8
call fcn.0046b730
add esp, 0x14
mov eax, 0x80004005
jmp 0x449079
push 0x5bdcdc
lea ecx, [ebp - 0x21c]
call fcn.004444c0
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
jne 0x448e84
push 3
push 0x5bdce0
lea ecx, [ebp - 0x21c]
call fcn.004299d0
mov eax, dword [esi]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x448ef2
cmp dword [ebp + 0x14], 0
jne 0x448ea7
push 3
push 0x5bdce8
lea ecx, [ebp - 0x21c]
call fcn.004299d0
push esi
lea eax, [ebp - 0x220]
push str.__i:
push eax
call fcn.00438f60
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
push dword [eax - 0xc]
push eax
call fcn.004299d0
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 0x448ef2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push 0x5bdcfc
push eax
call fcn.00438f60
push 0x5bb918
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
push eax
call fcn.00429810
add esp, 0x18
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.004299d0
mov edx, dword [ebp - 0x224]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448f54
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 0x448f75
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.00521b00
add esp, 4
test eax, eax
jne 0x449039
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x449055
movzx esi, si
or esi, 0x80070000
jmp 0x449055
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 0x449070
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x449079
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.0055c3a9
mov esp, ebp
pop ebp
ret