Function at 0x404b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445ccc
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x45b854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34c], ecx
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x11c], 0
push 0x104
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.00430be0
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.004056f0
mov dword [ebp - 4], 0
push 0x449bd0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x120]
call fcn.00405910
lea ecx, [ebp - 0x11c]
push ecx
push str.Path
lea ecx, [ebp - 0x120]
call fcn.00405830
test eax, eax
jne 0x404bdc
lea edx, [ebp - 0x11c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x449c04
lea eax, [ebp - 0x11c]
push eax
call fcn.00430900
add esp, 8
push 0x449c08
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00430900
add esp, 8
push str.Register_set_Source_Path__
mov ecx, dword [ebp - 0x34c]
add ecx, 8
call fcn.00401520
mov edx, dword [ebp - 0x34c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 4
je 0x404c3a
cmp dword [ebp - 0x350], 0x10
je 0x404c50
jmp 0x404c66
push 0x449c34
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00430900
add esp, 8
jmp 0x404c7d
push 0x449c38
lea edx, [ebp - 0x11c]
push edx
call fcn.00430900
add esp, 8
jmp 0x404c7d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00405710
jmp 0x404de9
lea eax, [ebp - 0x11c]
push eax
call fcn.00431630
add esp, 4
add eax, 1
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov byte [ebp - 0x22c], 0
push 0x104
push 0
lea edx, [ebp - 0x22b]
push edx
call fcn.00430be0
add esp, 0xc
mov byte [ebp - 0x344], 0
push 0x104
push 0
lea eax, [ebp - 0x343]
push eax
call fcn.00430be0
add esp, 0xc
push str.SOFTWAREHncSharedInstall_InformationPDF
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x348]
call fcn.00405740
mov byte [ebp - 4], 1
movzx ecx, word [ebp - 0x232]
push ecx
movzx edx, word [ebp - 0x234]
push edx
movzx eax, word [ebp - 0x236]
push eax
movzx ecx, word [ebp - 0x23a]
push ecx
movzx edx, word [ebp - 0x23c]
push edx
push str._d._d._d__d:_d_n
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea ecx, [ebp - 0x344]
push ecx
push 0x449c78
lea ecx, [ebp - 0x348]
call fcn.00405830
lea edx, [ebp - 0x344]
push edx
call fcn.00431630
add esp, 4
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x344]
push ecx
call fcn.004016b0
add esp, 0xc
test eax, eax
je 0x404d99
lea edx, [ebp - 0x22c]
push edx
push str.LastTime
lea ecx, [ebp - 0x348]
call fcn.00405780
lea eax, [ebp - 0x11c]
push eax
call fcn.00405a00
add esp, 4
push 0x449c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x34c]
add ecx, 8
call fcn.004015d0
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x34c]
add ecx, 8
call fcn.00401520
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x348]
call fcn.00405710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00405710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004308d4
mov esp, ebp
pop ebp
ret