Function at 0x40a00f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513209
mov eax, dword fs:[0]
push eax
mov eax, 0x10fc
call fcn.004032c0
mov eax, dword [section..data]
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 edi, dword [ebp + 0xc]
lea esi, [ecx + 0x38]
mov dword [ebp - 0x10f4], ecx
xor ebx, ebx
mov dword [ebp - 0x1104], ebx
push edi
mov ecx, esi
mov dword [ebp - 0x10f8], eax
mov dword [ebp - 0x1104], esi
call fcn.00407db7
mov dword [ebp - 0x1100], eax
cmp eax, dword [esi + 4]
je 0x40a09f
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x40a085
mov eax, dword [eax]
push ecx
mov ecx, dword [edi + 0x10]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.00407955
test eax, eax
js 0x40a09f
lea eax, [ebp - 0x1100]
jmp 0x40a0ae
mov edx, dword [esi + 4]
mov dword [ebp - 0x10fc], edx
lea eax, [ebp - 0x10fc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10f4]
cmp eax, dword [ecx + 0x3c]
je 0x40a0e3
mov esi, dword [ebp - 0x10f8]
push 0xffffffffffffffff
push ebx
add eax, 0x28
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00404e84
jmp 0x40a786
push 1
push ebx
push 0x5240d8
mov ecx, edi
call fcn.0040a7a6
mov esi, eax
xor eax, eax
mov dword [ebp - 0x10a4], 7
mov dword [ebp - 0x10a8], ebx
mov word [ebp - 0x10b8], ax
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
je 0x40a67f
push esi
push ebx
lea ecx, [ebp - 0x10d4]
push ecx
mov ecx, edi
call fcn.00404e51
push 0xffffffffffffffff
inc esi
push esi
lea edx, [ebp - 0x10f0]
push edx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00404e51
push 0xffe
lea ecx, [ebp - 0x100e]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 4], 2
mov word [ebp - 0x1010], ax
call fcn.00402e70
lea edx, [ebp - 0x1080]
push edx
lea ecx, [ebp - 0x10f0]
call fcn.0040a82e
push eax
lea eax, [ebp - 0x102c]
push eax
mov byte [ebp - 4], 3
call fcn.0040a8ff
lea ecx, [ebp - 0x1064]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040b8d9
mov esi, dword [ebp - 0x10f4]
mov ecx, 8
add esp, 0x1c
cmp dword [esi + 0x30], ecx
jb 0x40a1ab
mov edx, dword [esi + 0x1c]
jmp 0x40a1ae
lea edx, [esi + 0x1c]
cmp dword [eax + 0x14], ecx
jb 0x40a1b5
mov eax, dword [eax]
cmp dword [ebp - 0x10c0], ecx
mov ecx, dword [ebp - 0x10d4]
jae 0x40a1c9
lea ecx, [ebp - 0x10d4]
push edx
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x523b80
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x1050], 8
jb 0x40a1fb
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x1018], 0x10
mov dword [ebp - 0x1050], 7
mov dword [ebp - 0x1054], ebx
mov word [ebp - 0x1064], cx
jb 0x40a22c
mov edx, dword [ebp - 0x102c]
push edx
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0x106c], 0x10
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
mov byte [ebp - 4], 2
jb 0x40a25e
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1050], 7
mov dword [ebp - 0x1054], ebx
mov word [ebp - 0x1064], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a280
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1064]
call fcn.0040392d
lea eax, [ebp - 0x1080]
push eax
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 5
call fcn.0040a82e
push eax
lea ecx, [ebp - 0x1048]
push ecx
mov byte [ebp - 4], 6
call fcn.0040b9b6
lea edx, [ebp - 0x102c]
push edx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040b8d9
add esp, 0x10
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 8
call fcn.00403fa0
cmp dword [ebp - 0x1018], 8
jb 0x40a306
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x1034], 0x10
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], cx
jb 0x40a337
mov edx, dword [ebp - 0x1048]
push edx
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0x106c], 0x10
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
jb 0x40a365
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0x1050], 8
mov dword [ebp - 0x106c], 0xf
mov dword [ebp - 0x1070], ebx
mov byte [ebp - 0x1080], bl
mov byte [ebp - 4], 2
jb 0x40a397
mov ecx, dword [ebp - 0x1064]
push ecx
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0x10a8], ebx
jne 0x40a62b
mov eax, 8
cmp dword [esi + 0x30], eax
jb 0x40a3b2
mov ecx, dword [esi + 0x1c]
jmp 0x40a3b5
lea ecx, [esi + 0x1c]
mov edx, dword [ebp - 0x10f0]
cmp dword [ebp - 0x10dc], eax
jae 0x40a3c9
lea edx, [ebp - 0x10f0]
cmp dword [ebp - 0x10c0], eax
mov eax, dword [ebp - 0x10d4]
jae 0x40a3dd
lea eax, [ebp - 0x10d4]
push ecx
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x523b80
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1010]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a400
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x10b8]
call fcn.0040392d
cmp dword [ebp - 0x10a8], ebx
jne 0x40a62b
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.0040a82e
push eax
lea ecx, [ebp - 0x1048]
push ecx
mov byte [ebp - 4], 9
call fcn.0040a8ff
lea edx, [ebp - 0x1080]
push edx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040b8d9
mov edx, dword [ebp - 0x10f4]
mov esi, 8
add esp, 0x10
cmp dword [edx + 0x14], esi
jb 0x40a478
mov edx, dword [edx]
cmp dword [eax + 0x14], esi
jb 0x40a47f
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10d4]
cmp dword [ebp - 0x10c0], esi
jae 0x40a493
lea ecx, [ebp - 0x10d4]
push edx
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x523b80
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x106c], esi
jb 0x40a4c4
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
mov esi, 0x10
mov dword [ebp - 0x106c], 7
mov dword [ebp - 0x1070], ebx
mov word [ebp - 0x1080], cx
cmp dword [ebp - 0x1034], esi
jb 0x40a4f9
mov edx, dword [ebp - 0x1048]
push edx
call fcn.00404f7d
add esp, 4
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1018], esi
jb 0x40a52a
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00404f7d
add esp, 4
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1064]
call fcn.0040bc49
lea edx, [ebp - 0x102c]
push edx
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 0xb
call fcn.0040a82e
push eax
lea eax, [ebp - 0x1048]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040b9b6
lea ecx, [ebp - 0x1080]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040b8d9
add esp, 0x10
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 0xe
call fcn.00403fa0
cmp dword [ebp - 0x106c], 8
jb 0x40a5a0
mov edx, dword [ebp - 0x1080]
push edx
call fcn.00404f7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x106c], 7
mov dword [ebp - 0x1070], ebx
mov word [ebp - 0x1080], ax
cmp dword [ebp - 0x1034], esi
jb 0x40a5d0
mov ecx, dword [ebp - 0x1048]
push ecx
call fcn.00404f7d
add esp, 4
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
cmp dword [ebp - 0x1018], esi
jb 0x40a5fd
mov edx, dword [ebp - 0x102c]
push edx
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0x1050], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
jb 0x40a62b
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0x10dc], 8
jb 0x40a643
mov ecx, dword [ebp - 0x10f0]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
cmp dword [ebp - 0x10c0], 8
mov dword [ebp - 0x10dc], 7
mov dword [ebp - 0x10e0], ebx
mov word [ebp - 0x10f0], dx
mov byte [ebp - 4], bl
jb 0x40a677
mov eax, dword [ebp - 0x10d4]
push eax
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0x10a8], ebx
jne 0x40a6c4
mov ecx, dword [ebp - 0x10f4]
mov ecx, dword [ecx + 0x48]
cmp ecx, ebx
je 0x40a6c4
push edi
lea edx, [ebp - 0x1080]
push edx
call fcn.0040bc8b
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 0xf
call fcn.00403fa0
cmp dword [ebp - 0x106c], 8
mov byte [ebp - 4], bl
jb 0x40a6c4
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f7d
add esp, 4
lea ecx, [ebp - 0x10b8]
push ecx
lea edx, [ebp - 0x109c]
push edi
push edx
call fcn.0040d552
add esp, 0xc
mov esi, dword [ebp - 0x1104]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00408d2a
push eax
lea eax, [ebp - 0x1108]
push eax
mov ecx, esi
call fcn.00408e25
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x106c], edi
jb 0x40a71c
mov ecx, dword [ebp - 0x1080]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0x106c], 7
mov dword [ebp - 0x1070], ebx
mov word [ebp - 0x1080], dx
cmp dword [ebp - 0x1088], edi
jb 0x40a74c
mov eax, dword [ebp - 0x109c]
push eax
call fcn.00404f7d
add esp, 4
mov esi, dword [ebp - 0x10f8]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
lea edx, [ebp - 0x10b8]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00403fa0
cmp dword [ebp - 0x10a4], edi
jb 0x40a786
mov eax, dword [ebp - 0x10b8]
push eax
call fcn.00404f7d
add esp, 4
mov eax, esi
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.0040330b
mov esp, ebp
pop ebp
ret 8