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

Disassembly:
sub esp, 0x414
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x21d]
push ebx
push eax
mov byte [esp + 0x224], bl
call sub.MSVCR90.dll_memset
push 0x103
lea ecx, [esp + 0x125]
push ebx
push ecx
mov byte [esp + 0x12c], bl
call sub.MSVCR90.dll_memset
push 0x103
lea edx, [esp + 0x2d]
push ebx
push edx
mov byte [esp + 0x34], bl
call sub.MSVCR90.dll_memset
push 0x103
lea eax, [esp + 0x345]
push ebx
push eax
mov byte [esp + 0x34c], bl
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x248]
push ecx
call fcn.10007090
add esp, 0x34
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x218]
mov byte [esp + eax + 0x114], cl
inc eax
cmp cl, bl
jne 0x10006e90
lea eax, [esp + 0x218]
dec eax
jmp 0x10006eb0
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10006eb0
mov edx, dword [str.SRO.ini]
mov ecx, dword [0x1001cbc4]
mov dword [eax], edx
mov dword [eax + 4], ecx
lea eax, [esp + 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10006ed1
mov edx, dword [str.UPDmalupd.suc]
mov ecx, dword [0x1001cbcc]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [eax], edx
mov edx, dword [0x1001cbd0]
mov dword [eax + 4], ecx
mov cx, word [0x1001cbd4]
mov dword [eax + 8], edx
mov dl, byte [0x1001cbd6]
mov word [eax + 0xc], cx
mov byte [eax + 0xe], dl
lea eax, [esp + 0x218]
push eax
call ebp
test eax, eax
je 0x10007066
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x218]
push ecx
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x1001bb53
push str.SroAction
push str.data
call esi
mov edi, dword [sym.imp.MSVCR90.dll__stricmp]
lea eax, [esp + 0x10]
push str.force
push eax
call edi
add esp, 8
test eax, eax
je 0x10007062
lea ecx, [esp + 0x10]
push str.auto
push ecx
call edi
add esp, 8
test eax, eax
jne 0x10007066
lea edx, [esp + 0x218]
push edx
push 0x104
lea eax, [esp + 0x18]
push eax
push 0x1001bb53
push str.SroID
push str.data
call esi
mov ecx, 0x1001bb53
lea eax, [esp + 0x10]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10006fc8
cmp dl, bl
je 0x10006fc4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006fc8
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10006fa8
xor eax, eax
jmp 0x10006fcd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10007066
lea ecx, [esp + 0x114]
push ecx
call ebp
test eax, eax
jne 0x10007026
lea eax, [esp + 0x114]
push 0x5c
push eax
call dword [sym.imp.MSVCR90.dll_strrchr]
add esp, 8
cmp eax, ebx
je 0x10007026
mov byte [eax], bl
lea eax, [esp + 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10007004
mov ecx, dword [str.malupd.bin]
mov edx, dword [0x1001cc0c]
mov dword [eax], ecx
mov ecx, dword [0x1001cc10]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea edx, [esp + 0x114]
push edx
push 0x104
lea eax, [esp + 0x324]
push eax
push 0x1001bb53
push str.SroID
push str.SROFiles
call esi
lea ecx, [esp + 0x31c]
push ecx
lea edx, [esp + 0x14]
push edx
call edi
add esp, 8
test eax, eax
jne 0x10007066
mov al, 1
jmp 0x10007068
xor al, al
mov ecx, dword [esp + 0x420]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100195d2
add esp, 0x414
ret