Function at 0x47a830
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x50c3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x50c2d0]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x47a94d
lea eax, [ebp - 0x40]
push eax
call fcn.0047b110
push str.cfgs_setup.cfg
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.00403080
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00402320
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.004025c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.SupportNewLangs
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x14]
mov dword [0x50c2d0], eax
cmp edx, 8
jb 0x47a925
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a91b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47abe1
push edx
push ecx
call fcn.0048d1e5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00402320
mov eax, dword [0x50c2d0]
cmp eax, 1
je 0x47a959
xor eax, eax
jmp 0x47abc6
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 4], 4
push eax
push 0x4d55b4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004025c0
push 9
xor eax, eax
mov byte [ebp - 4], 5
push str.languages
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004025c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0047b670
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
push ecx
push 0x4d74a4
push eax
call fcn.004774e0
add esp, 0x18
lea ecx, [ebp - 0x70]
call fcn.00402320
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x47aa2f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47aa25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47abe6
push edx
push ecx
call fcn.0048d1e5
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x47aa81
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47aa77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47abe6
push edx
push ecx
call fcn.0048d1e5
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x47ab4a
lea eax, [ebp - 0x1c]
push eax
call fcn.0047b980
mov esi, dword [ebp - 0x18]
add esp, 4
cmp dword [ebp - 0x1c], esi
jne 0x47ab4a
push str.en_US
lea ecx, [ebp - 0x40]
call fcn.00403650
mov byte [ebp - 4], 8
cmp esi, dword [ebp - 0x14]
je 0x47aaff
mov eax, dword [ebp - 0x40]
mov edx, 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x14], eax
xor eax, eax
add esi, 0x18
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], esi
jmp 0x47ab0f
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004031c0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x47ab4a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ab40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47abeb
push edx
push ecx
call fcn.0048d1e5
add esp, 8
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004783c0
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
add esp, 8
mov esi, dword [ebp - 0x1c]
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
test esi, esi
je 0x47abc4
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push esi
call fcn.004021e0
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x47abba
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47abeb
push ecx
push esi
call fcn.0048d1e5
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d444
mov esp, ebp
pop ebp
ret
call fcn.00498b39
call fcn.00498b39
call fcn.00498b39
int3