Function at 0x412cf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4255a2
mov eax, dword fs:[0]
push eax
mov eax, 0x10fc
call fcn.00417ce0
mov eax, dword [0x43114c]
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 + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x10f4], eax
lea eax, [ebp - 0x1104]
lea ecx, [edi + 0x38]
xor ebx, ebx
push eax
mov dword [ebp - 0x10f8], edi
mov dword [ebp - 0x10fc], esi
mov dword [ebp - 0x1104], ebx
mov dword [ebp - 0x1100], ecx
call fcn.00403a23
mov ecx, dword [ebp - 0x1104]
cmp ecx, dword [edi + 0x3c]
je 0x412d77
add ecx, 0x28
push ecx
mov ecx, esi
call fcn.00402967
mov eax, esi
jmp 0x4131e3
mov esi, 0x426620
push esi
call fcn.004171b1
pop ecx
mov ecx, dword [ebp - 0x10f4]
push eax
push ebx
push esi
call fcn.0040fe7a
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], ax
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
je 0x4131ff
mov ecx, dword [ebp - 0x10f4]
push esi
push ebx
lea eax, [ebp - 0x1048]
push eax
call fcn.00401b50
mov ecx, dword [ebp - 0x10f4]
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x10b8]
push eax
mov byte [ebp - 4], 1
call fcn.00401b50
xor eax, eax
push 0xffe
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.004168c0
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x1080]
push eax
call fcn.00411c77
push eax
lea eax, [ebp - 0x109c]
push eax
mov byte [ebp - 4], 3
call fcn.00411a4a
lea ecx, [ebp - 0x1064]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004110fb
add edi, 0x1c
add esp, 0x20
cmp dword [edi + 0x14], 8
jb 0x412e49
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x412e51
mov eax, dword [eax]
cmp dword [ebp - 0x1034], 8
mov ecx, dword [ebp - 0x1048]
jae 0x412e66
lea ecx, [ebp - 0x1048]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x427078
push eax
push ecx
call edi
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x1064]
call fcn.0040139d
push ebx
push esi
lea ecx, [ebp - 0x109c]
call fcn.0040565d
push ebx
push esi
lea ecx, [ebp - 0x1080]
mov byte [ebp - 4], 2
call fcn.0040565d
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1064]
call fcn.00401c39
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x10d4]
push eax
mov byte [ebp - 4], 5
call fcn.00411c77
push eax
lea eax, [ebp - 0x109c]
push eax
mov byte [ebp - 4], 6
call fcn.00411b60
lea ecx, [ebp - 0x1080]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004110fb
add esp, 0x14
push eax
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 8
call fcn.00401bdd
push ebx
push esi
lea ecx, [ebp - 0x1080]
call fcn.0040139d
push ebx
push esi
lea ecx, [ebp - 0x109c]
call fcn.0040565d
push ebx
push esi
lea ecx, [ebp - 0x10d4]
call fcn.0040565d
push ebx
push esi
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 2
call fcn.0040139d
cmp dword [ebp - 0x101c], ebx
jne 0x41310c
mov eax, dword [ebp - 0x10f8]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x412f64
mov eax, dword [eax]
cmp dword [ebp - 0x10a4], 8
mov edx, dword [ebp - 0x10b8]
jae 0x412f79
lea edx, [ebp - 0x10b8]
cmp dword [ebp - 0x1034], 8
mov ecx, dword [ebp - 0x1048]
jae 0x412f8e
lea ecx, [ebp - 0x1048]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x427078
push edx
push ecx
call edi
lea eax, [ebp - 0x1010]
push eax
call fcn.004171b1
pop ecx
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00401916
cmp dword [ebp - 0x101c], ebx
jne 0x41310c
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x109c]
push eax
call fcn.00411c77
push eax
lea eax, [ebp - 0x1080]
push eax
mov byte [ebp - 4], 9
call fcn.00411a4a
lea ecx, [ebp - 0x10d4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004110fb
mov ecx, dword [ebp - 0x10f8]
add esp, 0x14
cmp dword [ecx + 0x14], 8
jb 0x413017
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x413021
mov edx, dword [eax]
jmp 0x413023
mov edx, eax
cmp dword [ebp - 0x1034], 8
mov eax, dword [ebp - 0x1048]
jae 0x413038
lea eax, [ebp - 0x1048]
push ecx
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x427078
push edx
push eax
call edi
push ebx
push esi
lea ecx, [ebp - 0x10d4]
call fcn.0040139d
push ebx
push esi
lea ecx, [ebp - 0x1080]
call fcn.0040565d
push ebx
push esi
lea ecx, [ebp - 0x109c]
mov byte [ebp - 4], 2
call fcn.0040565d
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1064]
call fcn.00401c39
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x109c]
push eax
mov byte [ebp - 4], 0xb
call fcn.00411c77
push eax
lea eax, [ebp - 0x1080]
push eax
mov byte [ebp - 4], 0xc
call fcn.00411b60
lea ecx, [ebp - 0x10d4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.004110fb
add esp, 0x14
push eax
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 0xe
call fcn.00401bdd
push ebx
push esi
lea ecx, [ebp - 0x10d4]
call fcn.0040139d
push ebx
push esi
lea ecx, [ebp - 0x1080]
call fcn.0040565d
push ebx
push esi
lea ecx, [ebp - 0x109c]
call fcn.0040565d
push ebx
push esi
lea ecx, [ebp - 0x1064]
call fcn.0040139d
push ebx
push esi
lea ecx, [ebp - 0x10b8]
call fcn.0040139d
push ebx
push esi
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], bl
call fcn.0040139d
cmp dword [ebp - 0x101c], ebx
jne 0x413170
mov edi, dword [ebp - 0x10f8]
mov ecx, dword [edi + 0x48]
cmp ecx, ebx
je 0x413170
push dword [ebp - 0x10f4]
lea eax, [ebp - 0x10d4]
push eax
call fcn.00412918
push eax
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 0xf
call fcn.00401bdd
push ebx
push esi
lea ecx, [ebp - 0x10d4]
mov byte [ebp - 4], bl
call fcn.0040139d
lea eax, [ebp - 0x102c]
push eax
push dword [ebp - 0x10f4]
lea eax, [ebp - 0x10f0]
push eax
call fcn.00411fd1
add esp, 0xc
mov ecx, dword [ebp - 0x1100]
push ebx
push eax
mov byte [ebp - 4], 0x10
call fcn.0040473b
mov ecx, dword [ebp - 0x1100]
push eax
lea eax, [ebp - 0x1108]
push eax
call fcn.00404542
lea ecx, [ebp - 0x10f0]
mov byte [ebp - 4], bl
call fcn.00403a02
mov ecx, dword [ebp - 0x10fc]
lea eax, [ebp - 0x102c]
push eax
call fcn.00403cca
push ebx
push esi
lea ecx, [ebp - 0x102c]
call fcn.0040139d
mov eax, dword [ebp - 0x10fc]
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.004168ab
leave
ret 8
xor esi, esi
inc esi
jmp 0x413137