Function at 0x970070
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x414
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
xor ebx, ebx
cmp dword [0xbfd864], ebx
jne 0x9703db
push esi
push 0x103
lea eax, [esp + 0xd]
push ebx
push eax
mov byte [esp + 0x14], bl
call fcn.00a7ffb0
add esp, 0xc
lea esi, [esp + 8]
call fcn.00951ce0
mov eax, str.English
mov ecx, esi
call fcn.0094c330
test eax, eax
je 0x9703ca
push 0x103
lea ecx, [esp + 0x111]
push ebx
push ecx
mov byte [esp + 0x118], bl
call fcn.00a7ffb0
push 0x103
lea edx, [esp + 0x221]
push ebx
push edx
mov byte [esp + 0x228], bl
call fcn.00a7ffb0
add esp, 0x18
lea ebx, [esp + 0x10c]
call fcn.009541a0
cmp eax, 1
je 0x970117
mov ecx, ebx
call fcn.00954350
lea esi, [esp + 0x10c]
call fcn.00960950
lea eax, [esp + 8]
push eax
mov ecx, esi
push ecx
lea edx, [esp + 0x218]
push str._sLAN_sCP.INI
push edx
call fcn.00a78f30
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x228]
call fcn.0095a0f0
add esp, 0x18
test eax, eax
jne 0x9701b7
push 0x103
push eax
mov byte [esp + 0x31c], al
lea eax, [esp + 0x31d]
push eax
call fcn.00a7ffb0
add esp, 0xc
lea ecx, [esp + 0x210]
push ecx
push 0x104
lea edx, [esp + 0x31c]
push edx
push 0xaa1543
push str.CodePage
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x314]
push eax
call fcn.00a79090
add esp, 4
mov dword [0xbfd868], eax
jmp 0x9703d0
mov eax, str.chineseSimplified
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x9701d8
mov dword [0xbfd868], 0x3a8
jmp 0x9703d0
mov eax, str.korean
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x9701f9
mov dword [0xbfd868], 0x3b5
jmp 0x9703d0
mov eax, str.chinese
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x97021a
mov dword [0xbfd868], 0x3b6
jmp 0x9703d0
mov eax, str.croatian
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703be
mov eax, str.polish
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703be
mov eax, str.romanian
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703be
mov eax, str.russian
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x97027d
mov dword [0xbfd868], 0x4e3
jmp 0x9703d0
mov eax, str.greek
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x97029e
mov dword [0xbfd868], 0x4e5
jmp 0x9703d0
mov eax, str.turkish
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x9702bf
mov dword [0xbfd868], 0x4e6
jmp 0x9703d0
mov eax, str.estonian
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x9702e0
mov dword [0xbfd868], 0x4e9
jmp 0x9703d0
mov eax, str.french
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.finnish
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.german
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.italian
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.portuguese
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.spanish
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.spanishl
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.Icelandic
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.Dutch
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.Norwegian
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
je 0x9703b2
mov eax, str.swedish
lea ecx, [esp + 8]
call fcn.0094c330
test eax, eax
jne 0x9703d0
mov dword [0xbfd868], 0x4e4
jmp 0x9703d0
mov dword [0xbfd868], 0x4e2
jmp 0x9703d0
mov dword [0xbfd868], ebx
mov dword [0xbfd864], 1
pop esi
mov ecx, dword [esp + 0x414]
mov eax, dword [0xbfd868]
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x414
ret