Function at 0x407ad0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x598e59
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x834]
mov dword fs:[0], eax
mov edi, ecx
push edi
call fcn.004080c0
lea eax, [esp + 0x18]
push eax
call fcn.0040a750
lea ebp, [edi + 0x424]
push eax
mov ecx, ebp
mov dword [esp + 0x840], 0
call fcn.004044b0
or ebx, 0xffffffff
mov dword [esp + 0x83c], ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5cddfc
lea ecx, [esp + 0x1c]
push ebp
push ecx
call fcn.00404340
add esp, 0xc
lea esi, [edi + 0x42c]
push eax
mov ecx, esi
mov dword [esp + 0x840], 1
call fcn.004044b0
mov dword [esp + 0x83c], ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x407baf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.CFG_ZIPS
lea ecx, [esp + 0x1c]
call fcn.00404a60
push 0x85
push esi
lea eax, [esp + 0x20]
call fcn.0040b8d0
test al, al
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x407c09
push 0x5cddb4
call fcn.0040bcf0
add esp, 4
xor al, al
jmp 0x408090
push 0x5cde3c
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.00404340
add esp, 0xc
mov dword [esp + 0x83c], 2
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call ebx
test eax, eax
je 0x407c49
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
call fcn.00465cf0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040ba00
test al, al
jne 0x407ca0
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push edx
push eax
push 0x5cddd0
call fcn.0040bcf0
mov dword [esp + 0x848], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x408090
push str._softinstaller.ini
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00404340
add esp, 0xc
mov byte [esp + 0x83c], 3
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
je 0x407ec2
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x3a]
push edx
mov word [esp + 0x3c], cx
call fcn.0056b700
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push eax
push 0x400
lea ecx, [esp + 0x38]
push ecx
push 0x5cde6c
push 0x5cde70
push 0x5cde84
call esi
lea edx, [esp + 0x30]
push edx
call fcn.005671f8
push 0x800
cmp eax, 1
lea ecx, [esp + 0x38]
sete al
push 0
push ecx
mov byte [edi + 0x452], al
call fcn.0056b700
mov edx, dword [esp + 0x2c]
add esp, 0x10
push edx
push 0x400
lea eax, [esp + 0x38]
push eax
push 0x5cd760
push str.name
push 0x5cde84
call esi
lea ecx, [esp + 0x30]
lea ebp, [edi + 0x44c]
push ecx
mov ecx, ebp
call fcn.00404a20
push 0x800
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0056b700
mov eax, dword [esp + 0x28]
add esp, 0xc
push eax
push 0x400
lea ecx, [esp + 0x38]
push ecx
push 0x5cd760
push 0x5cde98
push 0x5cde84
call esi
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 0x444]
call fcn.00404a20
mov eax, dword [ebp]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x407e64
cmp byte [edi + 0x452], 0
je 0x407e64
push 0x5cd740
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00404340
push str.softinstaller.ico
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x854], 4
call fcn.00404340
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x83c], 6
call fcn.0040c0f0
mov ecx, dword [esp + 0x18]
push ecx
call ebx
test eax, eax
je 0x407e5b
lea edx, [esp + 0x18]
push edx
lea ecx, [edi + 0x43c]
call fcn.004044b0
mov eax, dword [esp + 0x18]
push 0x10
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
lea ebx, [edi + 0x194]
mov eax, str.softico
mov dword [edi + 0x418], esi
call fcn.004175f0
test eax, eax
je 0x407e5b
mov dword [eax + 0x3a8], esi
lea ecx, [esp + 0x18]
jmp 0x408077
mov byte [esp + 0x83c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x83c], 0xffffffff
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 0x407c99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x408090
push 0x5cded4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00404340
add esp, 0xc
mov byte [esp + 0x83c], 7
mov eax, dword [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x407f2f
mov ecx, dword [esp + 0x20]
push ecx
push 0x5cdef8
call fcn.0040bcf0
mov byte [esp + 0x844], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407e64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407e64
lea ecx, [esp + 0x20]
push ecx
call fcn.0040a940
test al, al
jne 0x407f71
mov edx, dword [esp + 0x20]
push edx
push 0x5cdf14
call fcn.0040bcf0
add esp, 8
lea ecx, [esp + 0x20]
call fcn.0040c0f0
lea ecx, [esp + 0x1c]
call fcn.0040c0f0
lea ecx, [esp + 0x14]
call fcn.0040c0f0
xor al, al
jmp 0x408090
push 0x5cd740
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00404340
lea ebp, [edi + 0x440]
push ebp
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x854], 8
call fcn.00402950
push 0x5cdf2c
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x860], 9
call fcn.00404340
add esp, 0x24
lea ecx, [esp + 0x18]
call fcn.0040c0f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x83c], 0xc
call fcn.0040c0f0
mov ecx, dword [esp + 0x24]
push ecx
call ebx
test eax, eax
je 0x408026
lea edx, [esp + 0x24]
lea ecx, [edi + 0x43c]
push edx
call fcn.004044b0
mov eax, dword [esp + 0x24]
push 0x10
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
lea ebx, [edi + 0x194]
mov eax, str.softico
mov dword [edi + 0x418], esi
call fcn.004175f0
test eax, eax
je 0x408026
mov dword [eax + 0x3a8], esi
lea ecx, [esp + 0x28]
call fcn.0040adf0
lea esi, [edi + 0x434]
push eax
mov ecx, esi
mov byte [esp + 0x840], 0xd
call fcn.004044b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x83c], 0xc
call fcn.0040c0f0
push str._apps_
mov ecx, esi
call fcn.00404240
push ebp
mov ecx, esi
call fcn.00404620
lea ecx, [esp + 0x24]
call fcn.0040c0f0
lea ecx, [esp + 0x20]
call fcn.0040c0f0
lea ecx, [esp + 0x1c]
call fcn.0040c0f0
lea ecx, [esp + 0x14]
call fcn.0040c0f0
mov al, 1
mov ecx, dword [esp + 0x834]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.00565f92
add esp, 0x82c
ret