Function at 0x4049d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42b3a7
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x437ae4]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437ae4]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
mov ebp, dword [esp + 0x148]
mov esi, ecx
mov dword [esp + 0x28], eax
call fcn.00407d39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404a39
push 0x80004005
call fcn.00401230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov edi, str.UninstallString
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallInstallShield_8D9B23B5_9D0C_45FA_836A_4FB549CBD712
mov dword [esp + 0x144], 0
call fcn.004019a0
add esp, 4
mov edi, eax
push edi
push str.getUninstCmdOfIS105NSU3_:__ld__getRegistryStringValue___
push 4
call fcn.00401920
add esp, 0xc
test edi, edi
je 0x404ab3
mov dword [esp + 0x140], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x404d5a
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00406130
push 0
push 0x42fd24
mov ecx, ebp
call fcn.00401470
push 0x430ff4
lea ecx, [esp + 0x24]
call fcn.00401590
mov bl, 1
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x20]
test eax, eax
mov edi, dword [esp + 0x18]
je 0x404baa
cmp dword [edi - 0xc], 0
jl 0x404baa
push eax
push edi
call fcn.0041650f
add esp, 8
test eax, eax
je 0x404baa
sub eax, edi
mov edi, eax
js 0x404ba6
push edi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
call fcn.00405940
push eax
mov ecx, esi
mov byte [esp + 0x144], 2
call fcn.00406130
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405910
push eax
mov ecx, ebp
mov byte [esp + 0x144], 3
call fcn.00406130
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ba6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
push 0x103
lea ecx, [esp + 0x31]
push 0
push ecx
mov byte [esp + 0x38], 0
call fcn.004178b0
mov eax, dword [0x43bba4]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push 0
push 0x430708
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x404c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.getUninstCmdOfIS105NSU3_:_GetTempFileName_failed.__ld__GetLastError___
push 2
call fcn.00401920
mov byte [esp + 0x14c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x140], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x404d5a
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404c54
mov esi, dword [esp + 0x28]
sub eax, edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00401470
call fcn.00407d39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404c8a
push 0x80004005
call fcn.00401230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x140], 4
mov ecx, dword [esi]
mov edx, dword [0x43bba0]
push ecx
push str.UnInNSU3.iss
push edx
lea eax, [esp + 0x28]
push str.__s__f1__s_s___f2__s_
push eax
call fcn.00402110
mov esi, dword [esp + 0x30]
mov eax, dword [esi - 0xc]
add esp, 0x14
push eax
push esi
mov ecx, ebp
call fcn.00405cb0
mov ecx, dword [ebp]
push ecx
push str.getUninstCmdOfIS105NSU3_:_strExeFileParam_is__s
push 4
call fcn.00401920
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x140], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404d09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x140], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x140], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0041579e
add esp, 0x130
ret