Function at 0x419480
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x53764a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0x28], ebp
call fcn.0042eff0
mov ecx, dword [0x591288]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x44]
push 1
push edx
mov ecx, eax
mov dword [esp + 0x27c], 0
call fcn.0042fdd0
push str.language_
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x27c], 1
push eax
call fcn.0050d692
lea ecx, [esp + 0x44]
mov byte [esp + 0x274], 3
call fcn.0050d3fd
mov ecx, dword [0x591288]
mov dword [esp + 0x20], ecx
lea edx, [ebp + 0x8c]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x278], 4
call fcn.0050d172
push 0x506
mov ecx, ebp
mov byte [esp + 0x278], 5
call fcn.005135e5
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x154]
push eax
push ecx
call fcn.00514411
test eax, eax
je 0x419851
push ebx
mov ebx, dword [esp + 0x164]
push edi
lea edx, [ebx + 1]
push edx
call fcn.004ee7cf
mov ecx, ebx
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x50], esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
push eax
push ebx
push esi
push str.Lang
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jle 0x419846
lea ecx, [ebx + ebx]
cmp eax, ecx
je 0x419846
mov eax, dword [0x591288]
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 8
call fcn.0050d586
mov edx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [edx - 8]
test eax, eax
mov dword [esp + 0x34], eax
je 0x419813
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov bl, 0xa
push 0x5887f8
lea ecx, [esp + 0x14]
call fcn.00505d35
mov esi, eax
test esi, esi
jle 0x4197de
lea eax, [esp + 0x44]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00505c45
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x280], 9
call fcn.0050d536
lea ecx, [esp + 0x44]
mov byte [esp + 0x27c], 8
call fcn.0050d3fd
lea ecx, [esp + 0x24]
push str..ini
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0050d692
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov byte [esp + 0x288], bl
call fcn.0050d62c
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x280], 0xb
call fcn.0050d536
lea ecx, [esp + 0x54]
mov byte [esp + 0x27c], bl
call fcn.0050d3fd
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00505bc9
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 0xc
call fcn.0050d536
lea ecx, [esp + 0x3c]
mov byte [esp + 0x27c], bl
call fcn.0050d3fd
push 0x2c
lea ecx, [esp + 0x14]
call fcn.0050d91e
mov esi, eax
lea edx, [esp + 0x58]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00505c45
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 0xd
call fcn.0050d536
lea ecx, [esp + 0x58]
mov byte [esp + 0x27c], bl
call fcn.0050d3fd
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00505bc9
mov byte [esp + 0x27c], 0xe
push eax
lea ecx, [esp + 0x14]
call fcn.0050d536
lea ecx, [esp + 0x40]
mov byte [esp + 0x27c], bl
call fcn.0050d3fd
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x5c]
push edx
push 0x100
push eax
push 0x596660
push str.Version
push str.Info
call ebp
test eax, eax
jbe 0x41975a
lea ecx, [esp + 0x5c]
push ecx
jmp 0x41975f
push 0x596660
lea ecx, [esp + 0x18]
call fcn.0050d586
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004eea90
add esp, 8
test eax, eax
je 0x4197cd
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
add ecx, 0x60
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0050a874
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x48]
push 0
push 0
push 0
push 0
push eax
push edi
push 1
mov ecx, esi
call fcn.00507f32
mov ecx, dword [esp + 0x14]
push ecx
push 1
push edi
mov ecx, esi
call fcn.0050802d
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push 2
push edi
call fcn.0050802d
inc edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 8
call fcn.0050d3fd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea eax, [eax + ecx + 1]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x3c], eax
call fcn.0050d586
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
mov dword [esp + 0x34], eax
jne 0x4195e0
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], 7
call fcn.0050d3fd
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 6
call fcn.0050d3fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 5
call fcn.0050d3fd
push esi
call fcn.004ee909
add esp, 4
pop edi
pop ebx
mov esi, dword [ebp + 0x68]
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 4
call fcn.0050d3fd
lea ecx, [esp + 0x20]
mov byte [esp + 0x274], 3
call fcn.0050d3fd
lea ecx, [esp + 0x24]
mov byte [esp + 0x274], 0
call fcn.0050d3fd
lea ecx, [esp + 0xc]
mov dword [esp + 0x274], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x26c]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x270
ret