Function at 0x10006900
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.10006b90
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 0x10006990
lea eax, [esp + 0x218]
dec eax
jmp 0x100069b0
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x100069b0
mov edx, dword [str.SRO.ini]
mov ecx, dword [0x1001cb04]
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 0x100069d1
mov edx, dword [str.UPDmalupd.suc]
mov ecx, dword [0x1001cb0c]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [eax], edx
mov edx, dword [0x1001cb10]
mov dword [eax + 4], ecx
mov cx, word [0x1001cb14]
mov dword [eax + 8], edx
mov dl, byte [0x1001cb16]
mov word [eax + 0xc], cx
mov byte [eax + 0xe], dl
lea eax, [esp + 0x218]
push eax
call ebp
test eax, eax
je 0x10006b66
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 0x10006b62
lea ecx, [esp + 0x10]
push str.auto
push ecx
call edi
add esp, 8
test eax, eax
jne 0x10006b66
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 0x10006ac8
cmp dl, bl
je 0x10006ac4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10006ac8
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10006aa8
xor eax, eax
jmp 0x10006acd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10006b66
lea ecx, [esp + 0x114]
push ecx
call ebp
test eax, eax
jne 0x10006b26
lea eax, [esp + 0x114]
push 0x5c
push eax
call dword [sym.imp.MSVCR90.dll_strrchr]
add esp, 8
cmp eax, ebx
je 0x10006b26
mov byte [eax], bl
lea eax, [esp + 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10006b04
mov ecx, dword [str.malupd.bin]
mov edx, dword [0x1001cb4c]
mov dword [eax], ecx
mov ecx, dword [0x1001cb50]
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 0x10006b66
mov al, 1
jmp 0x10006b68
xor al, al
mov ecx, dword [esp + 0x420]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100191d2
add esp, 0x414
ret