Function at 0x4042e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x437953
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x44765c]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push esi
push edi
mov eax, dword [0x44765c]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
mov esi, ecx
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.004063c6
cmp dword [0x44a9dc], 1
jne 0x4045d2
call fcn.00402620
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xb6]
push edx
mov word [esp + 0xb8], cx
call fcn.00423730
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.UninstTmp.exe
lea ecx, [esp + 0xb0]
push 0x104
push ecx
call fcn.00421f95
add esp, 0xc
call fcn.004053eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4043bd
push 0x80004005
call fcn.00403e10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x4d0], 0
call fcn.004053eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4043f2
push 0x80004005
call fcn.00403e10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x4d0], 1
call fcn.004053eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404424
push 0x80004005
call fcn.00403e10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x4d4], 2
call fcn.004020e0
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d4], 3
call fcn.00403c00
mov byte [esp + 0x4d0], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404483
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.004030c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d4], 4
call fcn.00403c00
mov byte [esp + 0x4d0], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push 0x43e280
push edx
call fcn.00403ee0
add esp, 0xc
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x1c]
push 0x43dd6c
push ecx
call fcn.00403ee0
mov esi, dword [esp + 0x28]
add esp, 8
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.00403b90
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x4d8], 5
mov edi, dword [esp + 0x20]
add edi, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
push edi
call fcn.00403b90
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [esp + 0x4d8], 2
call fcn.004027c0
add esp, 8
cmp eax, 0x20
jg 0x4045cb
mov byte [esp + 0x4d0], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x404576
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x4d0], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404597
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x4d0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404757
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404757
push 0
call fcn.00421d93
call section..text
push 0
call fcn.004074af
add esp, 4
push 0x43e28c
mov ecx, esi
call fcn.00407982
lea ecx, [esp + 0x2c]
push ecx
call fcn.004047b0
lea edx, [esp + 0x2c]
mov dword [esp + 0x4d0], 6
mov ecx, edx
mov dword [esi + 0x20], edx
call fcn.00408299
cmp eax, 1
jne 0x404743
call fcn.00402380
call fcn.004053eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404638
push 0x80004005
call fcn.00403e10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x208
lea ecx, [esp + 0x2b8]
push 0
mov bl, 7
push ecx
mov byte [esp + 0x4dc], bl
call fcn.00423730
mov edx, dword [0x44b7ec]
add esp, 0xc
push 0x5c
push edx
call fcn.00421f69
add esp, 8
test eax, eax
jne 0x404682
or eax, 0xffffffff
jmp 0x40468a
sub eax, dword [0x44b7ec]
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, 0x44b7ec
call fcn.004030c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4d4], 8
call fcn.00403c00
mov byte [esp + 0x4d0], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4046d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
push 0x43dd6c
lea ecx, [esp + 0x2bc]
push 0x104
push ecx
call fcn.00421ab4
add esp, 0xc
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push esi
call fcn.00403b90
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00402b50
add esp, 4
cmp eax, 1
jne 0x404722
lea edx, [esp + 0x2b4]
call fcn.00402320
mov byte [esp + 0x4d0], 6
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x404743
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.00407b5a
xor eax, eax
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.004216ac
mov esp, ebp
pop ebp
ret