Function at 0x40a3b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x443118
push eax
mov eax, 0x103c
mov dword fs:[0], esp
call fcn.00425340
mov al, byte [esp + 0xb]
push ebx
push ebp
mov byte [esp + 0x14], al
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1060]
mov dword [esp + 0x1054], eax
cmp ecx, eax
jne 0x40a408
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1060], ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x105c]
mov esi, 0x1000
push eax
lea eax, [esp + 0x50]
push esi
lea edx, [esp + 0x54]
push eax
push ebx
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov ebp, eax
test ebp, ebp
ja 0x40a462
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x1054], 0xffffffff
je 0x40a6e7
push 0
mov ecx, esi
call fcn.00406990
add esi, 4
cmp esi, edi
jne 0x40a44d
jmp 0x40a6e3
cmp ebp, 0xffe
jne 0x40a4ac
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x40a47f
push eax
call fcn.004365b6
add esp, 4
shl esi, 2
push esi
call fcn.0043658d
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x40a5ef
mov ecx, dword [edi]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov ebp, eax
lea edx, [esi - 2]
cmp ebp, edx
je 0x40a46a
mov ebx, dword [esp + 0x1060]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.004051f0
mov edi, dword [esp + 0x1064]
test edi, edi
je 0x40a4dc
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call fcn.0040e9b0
mov eax, dword [esp + 0x10]
push ebx
push ebp
push eax
call fcn.0040b830
add esp, 0xc
xor eax, eax
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x40a6a9
mov ecx, dword [ebx + 8]
sub ecx, esi
sar ecx, 2
cmp eax, ecx
jae 0x40a6a9
lea esi, [esi + eax*4]
push 0x3d
mov ecx, esi
call fcn.004364de
mov ebp, eax
test ebp, ebp
jl 0x40a62a
mov edx, dword [esi]
test edi, edi
mov eax, dword [edx - 8]
mov dword [esp + 0x38], eax
je 0x40a5d6
sub eax, ebp
mov ecx, esi
dec eax
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0043495e
mov ebx, eax
lea ecx, [esp + 0x34]
push ebp
push ecx
mov ecx, esi
mov byte [esp + 0x105c], 1
call fcn.004349da
push ebx
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x1060], 2
call fcn.0040ed40
add esp, 0xc
mov ecx, dword [edi + 8]
push eax
push 1
push ecx
mov ecx, edi
mov byte [esp + 0x1060], 3
call fcn.0040ea70
lea ecx, [esp + 0x48]
mov byte [esp + 0x1054], 4
call fcn.0043602c
lea ecx, [esp + 0x44]
mov byte [esp + 0x1054], 2
call fcn.0043602c
lea ecx, [esp + 0x34]
mov byte [esp + 0x1054], 1
call fcn.0043602c
lea ecx, [esp + 0x30]
mov byte [esp + 0x1054], 0
call fcn.0043602c
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x1060]
sub eax, ebp
mov ecx, esi
push eax
push ebp
call fcn.00434658
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
jmp 0x40a4f1
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x1054], 0xffffffff
je 0x40a61a
push 0
mov ecx, esi
call fcn.00406990
add esi, 4
cmp esi, edi
jne 0x40a606
mov esi, dword [esp + 0x20]
push esi
call fcn.004365b6
add esp, 4
xor al, al
jmp 0x40a6f2
test edi, edi
je 0x40a69b
mov eax, dword [0x4553d4]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
push ecx
push esi
push edx
mov byte [esp + 0x1060], 5
call fcn.0040ed40
add esp, 0xc
mov ecx, dword [edi + 8]
push eax
push 1
push ecx
mov ecx, edi
mov byte [esp + 0x1060], 6
call fcn.0040ea70
lea ecx, [esp + 0x40]
mov byte [esp + 0x1054], 7
call fcn.0043602c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1054], 5
call fcn.0043602c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1054], 0
call fcn.0043602c
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
jmp 0x40a4f1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x40a6be
push eax
call fcn.004365b6
add esp, 4
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x1054], 0xffffffff
je 0x40a6e7
mov ecx, esi
call fcn.0043602c
add esi, 4
cmp esi, edi
jne 0x40a6d5
mov esi, dword [esp + 0x20]
push esi
call fcn.004365b6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x104c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1048
ret 0xc