Function at 0x474e60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0eab
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x50e3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00476fa0
push 0x4da11c
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004024a0
push esi
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
call fcn.0040ccc0
mov edx, dword [ebp - 0x2c]
add esp, 0x1c
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x474f1b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474f11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475152
push edx
push ecx
call fcn.0048d64e
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 dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x474f70
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474f66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475152
push edx
push ecx
call fcn.0048d64e
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 0x4da11c
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040cd90
push str.lang.conf
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.004024a0
add esp, 0x18
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x474ff4
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474fea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475157
push edx
push ecx
call fcn.0048d64e
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
xor edi, edi
mov word [ebp - 0x70], ax
mov ebx, 0x80
lea ecx, [eax + 0x7e]
test edi, edi
je 0x47502d
cmp word [edi + ebx*2 - 4], 0
jne 0x475086
cmp word [edi + ebx*2 - 2], 0
jne 0x475086
lea eax, [ebx - 2]
cmp ecx, eax
jne 0x475086
add ebx, ebx
test edi, edi
je 0x47503c
push edi
call fcn.0049dcaf
add esp, 4
lea esi, [ebx + ebx]
push esi
call fcn.0049dcca
push esi
mov edi, eax
push 0
push edi
call fcn.0048fe50
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x28]
add esp, 0x10
mov eax, edx
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x47506e
mov eax, dword [edx]
push ecx
push ebx
push edi
push 0x4d7638
push eax
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
jmp 0x475012
mov ebx, dword [ebp - 0x90]
xor eax, eax
push ecx
push edi
mov ecx, ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
call fcn.00408290
push edi
call fcn.0049dcaf
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4750e7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4750dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47515c
push edx
push ecx
call fcn.0048d64e
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x475134
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47512a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47515c
push edx
push ecx
call fcn.0048d64e
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d65c
mov esp, ebp
pop ebp
ret
call fcn.00498fa9
call fcn.00498fa9
call fcn.00498fa9
int3