Function at 0x415c20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47839b
mov eax, dword fs:[0]
push eax
mov eax, 0x10fc
call fcn.0042c7f0
mov eax, dword [0x4a3110]
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.00404590
mov dword [ebp - 0x1100], eax
cmp eax, dword [esi + 4]
je 0x415cb0
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x415c96
mov eax, dword [eax]
push ecx
mov ecx, dword [edi + 0x10]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.00403000
test eax, eax
js 0x415cb0
lea eax, [ebp - 0x1100]
jmp 0x415cbf
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 0x415cf4
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.004014f0
jmp 0x416397
push 1
push ebx
push 0x47e534
mov ecx, edi
call fcn.00407420
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 0x416290
push esi
push ebx
lea ecx, [ebp - 0x10d4]
push ecx
mov ecx, edi
call fcn.00404bd0
push 0xffffffffffffffff
inc esi
push esi
lea edx, [ebp - 0x10f0]
push edx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00404bd0
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.0042b970
lea edx, [ebp - 0x1080]
push edx
lea ecx, [ebp - 0x10f0]
call fcn.00415460
push eax
lea eax, [ebp - 0x102c]
push eax
mov byte [ebp - 4], 3
call fcn.004150b0
lea ecx, [ebp - 0x1064]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00414990
mov esi, dword [ebp - 0x10f4]
mov ecx, 8
add esp, 0x1c
cmp dword [esi + 0x30], ecx
jb 0x415dbc
mov edx, dword [esi + 0x1c]
jmp 0x415dbf
lea edx, [esi + 0x1c]
cmp dword [eax + 0x14], ecx
jb 0x415dc6
mov eax, dword [eax]
cmp dword [ebp - 0x10c0], ecx
mov ecx, dword [ebp - 0x10d4]
jae 0x415dda
lea ecx, [ebp - 0x10d4]
push edx
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x480fe8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x1050], 8
jb 0x415e0c
mov eax, dword [ebp - 0x1064]
push eax
call fcn.0042a9e1
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 0x415e3d
mov edx, dword [ebp - 0x102c]
push edx
call fcn.0042a9e1
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 0x415e6f
mov eax, dword [ebp - 0x1080]
push eax
call fcn.0042a9e1
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 0x415e91
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1064]
call fcn.00401f10
lea eax, [ebp - 0x1080]
push eax
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 5
call fcn.00415460
push eax
lea ecx, [ebp - 0x1048]
push ecx
mov byte [ebp - 4], 6
call fcn.00415240
lea edx, [ebp - 0x102c]
push edx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00414990
add esp, 0x10
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 8
call fcn.00401710
cmp dword [ebp - 0x1018], 8
jb 0x415f17
mov eax, dword [ebp - 0x102c]
push eax
call fcn.0042a9e1
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 0x415f48
mov edx, dword [ebp - 0x1048]
push edx
call fcn.0042a9e1
add esp, 4
cmp dword [ebp - 0x106c], 0x10
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
jb 0x415f76
mov eax, dword [ebp - 0x1080]
push eax
call fcn.0042a9e1
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 0x415fa8
mov ecx, dword [ebp - 0x1064]
push ecx
call fcn.0042a9e1
add esp, 4
cmp dword [ebp - 0x10a8], ebx
jne 0x41623c
mov eax, 8
cmp dword [esi + 0x30], eax
jb 0x415fc3
mov ecx, dword [esi + 0x1c]
jmp 0x415fc6
lea ecx, [esi + 0x1c]
mov edx, dword [ebp - 0x10f0]
cmp dword [ebp - 0x10dc], eax
jae 0x415fda
lea edx, [ebp - 0x10f0]
cmp dword [ebp - 0x10c0], eax
mov eax, dword [ebp - 0x10d4]
jae 0x415fee
lea eax, [ebp - 0x10d4]
push ecx
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x480fe8
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 0x416011
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x10b8]
call fcn.00401f10
cmp dword [ebp - 0x10a8], ebx
jne 0x41623c
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.00415460
push eax
lea ecx, [ebp - 0x1048]
push ecx
mov byte [ebp - 4], 9
call fcn.004150b0
lea edx, [ebp - 0x1080]
push edx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00414990
mov edx, dword [ebp - 0x10f4]
mov esi, 8
add esp, 0x10
cmp dword [edx + 0x14], esi
jb 0x416089
mov edx, dword [edx]
cmp dword [eax + 0x14], esi
jb 0x416090
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10d4]
cmp dword [ebp - 0x10c0], esi
jae 0x4160a4
lea ecx, [ebp - 0x10d4]
push edx
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x480fe8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x106c], esi
jb 0x4160d5
mov eax, dword [ebp - 0x1080]
push eax
call fcn.0042a9e1
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 0x41610a
mov edx, dword [ebp - 0x1048]
push edx
call fcn.0042a9e1
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 0x41613b
mov eax, dword [ebp - 0x102c]
push eax
call fcn.0042a9e1
add esp, 4
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1064]
call fcn.004023c0
lea edx, [ebp - 0x102c]
push edx
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 0xb
call fcn.00415460
push eax
lea eax, [ebp - 0x1048]
push eax
mov byte [ebp - 4], 0xc
call fcn.00415240
lea ecx, [ebp - 0x1080]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00414990
add esp, 0x10
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 0xe
call fcn.00401710
cmp dword [ebp - 0x106c], 8
jb 0x4161b1
mov edx, dword [ebp - 0x1080]
push edx
call fcn.0042a9e1
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 0x4161e1
mov ecx, dword [ebp - 0x1048]
push ecx
call fcn.0042a9e1
add esp, 4
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
cmp dword [ebp - 0x1018], esi
jb 0x41620e
mov edx, dword [ebp - 0x102c]
push edx
call fcn.0042a9e1
add esp, 4
cmp dword [ebp - 0x1050], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
jb 0x41623c
mov eax, dword [ebp - 0x1064]
push eax
call fcn.0042a9e1
add esp, 4
cmp dword [ebp - 0x10dc], 8
jb 0x416254
mov ecx, dword [ebp - 0x10f0]
push ecx
call fcn.0042a9e1
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 0x416288
mov eax, dword [ebp - 0x10d4]
push eax
call fcn.0042a9e1
add esp, 4
cmp dword [ebp - 0x10a8], ebx
jne 0x4162d5
mov ecx, dword [ebp - 0x10f4]
mov ecx, dword [ecx + 0x48]
cmp ecx, ebx
je 0x4162d5
push edi
lea edx, [ebp - 0x1080]
push edx
call fcn.00415820
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 0xf
call fcn.00401710
cmp dword [ebp - 0x106c], 8
mov byte [ebp - 4], bl
jb 0x4162d5
mov eax, dword [ebp - 0x1080]
push eax
call fcn.0042a9e1
add esp, 4
lea ecx, [ebp - 0x10b8]
push ecx
lea edx, [ebp - 0x109c]
push edi
push edx
call fcn.00415660
add esp, 0xc
mov esi, dword [ebp - 0x1104]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00405d20
push eax
lea eax, [ebp - 0x1108]
push eax
mov ecx, esi
call fcn.004059c0
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x106c], edi
jb 0x41632d
mov ecx, dword [ebp - 0x1080]
push ecx
call fcn.0042a9e1
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 0x41635d
mov eax, dword [ebp - 0x109c]
push eax
call fcn.0042a9e1
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.00401710
cmp dword [ebp - 0x10a4], edi
jb 0x416397
mov eax, dword [ebp - 0x10b8]
push eax
call fcn.0042a9e1
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.0042b571
mov esp, ebp
pop ebp
ret 8