Function at 0x427020
Capabilities:
Delete file
Read .ini file

Disassembly:
sub esp, 0x440
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x43c], eax
push edi
lea edi, [ecx + 0xa8]
xor eax, eax
cmp ax, word [edi]
jne 0x427085
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0040e2c0
mov edx, dword [esp + 0xc]
push edx
push str._supdatecfg.ini
push 0x208
push edi
call fcn.0041c900
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427085
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
push eax
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x427282
push ebp
mov ebp, dword [esp + 0x30]
cmp ebp, 4
jb 0x427281
cmp dword [esp + 0x2c], 0
ja 0x427281
shr ebp, 2
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
push ebx
push esi
neg ecx
or ecx, eax
push ecx
call fcn.004a3d20
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
add esp, 4
mov esi, eax
push edi
push ebp
xor eax, eax
push esi
mov dword [esp + 0x1c], esi
mov word [esi], ax
call ebx
lea ecx, [eax + 2]
cmp ecx, ebp
jne 0x42714c
push esi
call fcn.004a3d2b
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov ebp, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a3d20
add esp, 8
push edi
push ebp
push eax
mov dword [esp + 0x1c], eax
call ebx
mov esi, dword [esp + 0x10]
test eax, eax
jbe 0x427276
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x24e]
push ecx
mov word [esp + 0x250], ax
call fcn.004e5fc0
add esp, 0xc
cmp word [esi], 0
je 0x427276
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esi + ebp*2 - 2]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [esp + 0x14], edx
push edi
push 0x104
lea eax, [esp + 0x24c]
push eax
push 0
push str.ppath
push esi
call ebx
cmp word [esp + 0x244], 0
je 0x427245
lea ecx, [esp + 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 0x5e8ee8
push str.pver
push esi
call ebp
push edi
push 0x5e8ee8
push str.ppath
push esi
call ebp
push edi
push 0x104
lea eax, [esp + 0x44]
push eax
xor edx, edx
push edx
push str.pmd5
push esi
mov word [esp + 0x54], dx
call ebx
cmp word [esp + 0x3c], 0
je 0x427214
push edi
push 0x5e8ee8
push str.pmd5
push esi
call ebp
push edi
push 0x104
lea edx, [esp + 0x44]
push edx
xor ecx, ecx
push ecx
push str.pextcb
push esi
mov word [esp + 0x54], cx
call ebx
cmp word [esp + 0x3c], 0
je 0x427245
push edi
push 0x5e8ee8
push str.pextcb
push esi
call ebp
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427250
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
cmp esi, dword [esp + 0x14]
ja 0x427272
cmp word [esi], cx
jne 0x427192
mov esi, dword [esp + 0x10]
push esi
call fcn.004a3d2b
add esp, 4
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x440]
pop edi
xor ecx, esp
call fcn.004e5fb0
add esp, 0x440
ret 4