Function at 0x407419
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492cba
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.00407bb0
mov dword [ebp - 0x1100], eax
cmp eax, dword [esi + 4]
je 0x4074a9
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x40748f
mov eax, dword [eax]
push ecx
mov ecx, dword [edi + 0x10]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.00409d74
test eax, eax
js 0x4074a9
lea eax, [ebp - 0x1100]
jmp 0x4074b8
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 0x4074ed
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.00404e0e
jmp 0x407b90
push 1
push ebx
push 0x49e3c0
mov ecx, edi
call fcn.00407c0b
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 0x407a89
push esi
push ebx
lea ecx, [ebp - 0x10d4]
push ecx
mov ecx, edi
call fcn.00404ddb
push 0xffffffffffffffff
inc esi
push esi
lea edx, [ebp - 0x10f0]
push edx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00404ddb
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.00407c93
push eax
lea eax, [ebp - 0x102c]
push eax
mov byte [ebp - 4], 3
call fcn.00407d64
lea ecx, [ebp - 0x1064]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00408cc7
mov esi, dword [ebp - 0x10f4]
mov ecx, 8
add esp, 0x1c
cmp dword [esi + 0x30], ecx
jb 0x4075b5
mov edx, dword [esi + 0x1c]
jmp 0x4075b8
lea edx, [esi + 0x1c]
cmp dword [eax + 0x14], ecx
jb 0x4075bf
mov eax, dword [eax]
cmp dword [ebp - 0x10c0], ecx
mov ecx, dword [ebp - 0x10d4]
jae 0x4075d3
lea ecx, [ebp - 0x10d4]
push edx
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x49df68
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x1050], 8
jb 0x407605
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00404f07
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 0x407636
mov edx, dword [ebp - 0x102c]
push edx
call fcn.00404f07
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 0x407668
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f07
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 0x40768a
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1064]
call fcn.00403bac
lea eax, [ebp - 0x1080]
push eax
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 5
call fcn.00407c93
push eax
lea ecx, [ebp - 0x1048]
push ecx
mov byte [ebp - 4], 6
call fcn.00408da4
lea edx, [ebp - 0x102c]
push edx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00408cc7
add esp, 0x10
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 8
call fcn.00403c9c
cmp dword [ebp - 0x1018], 8
jb 0x407710
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00404f07
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 0x407741
mov edx, dword [ebp - 0x1048]
push edx
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0x106c], 0x10
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
jb 0x40776f
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f07
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 0x4077a1
mov ecx, dword [ebp - 0x1064]
push ecx
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0x10a8], ebx
jne 0x407a35
mov eax, 8
cmp dword [esi + 0x30], eax
jb 0x4077bc
mov ecx, dword [esi + 0x1c]
jmp 0x4077bf
lea ecx, [esi + 0x1c]
mov edx, dword [ebp - 0x10f0]
cmp dword [ebp - 0x10dc], eax
jae 0x4077d3
lea edx, [ebp - 0x10f0]
cmp dword [ebp - 0x10c0], eax
mov eax, dword [ebp - 0x10d4]
jae 0x4077e7
lea eax, [ebp - 0x10d4]
push ecx
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x49df68
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 0x40780a
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x10b8]
call fcn.00403bac
cmp dword [ebp - 0x10a8], ebx
jne 0x407a35
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x10f0]
call fcn.00407c93
push eax
lea ecx, [ebp - 0x1048]
push ecx
mov byte [ebp - 4], 9
call fcn.00407d64
lea edx, [ebp - 0x1080]
push edx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00408cc7
mov edx, dword [ebp - 0x10f4]
mov esi, 8
add esp, 0x10
cmp dword [edx + 0x14], esi
jb 0x407882
mov edx, dword [edx]
cmp dword [eax + 0x14], esi
jb 0x407889
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10d4]
cmp dword [ebp - 0x10c0], esi
jae 0x40789d
lea ecx, [ebp - 0x10d4]
push edx
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x49df68
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x106c], esi
jb 0x4078ce
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f07
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 0x407903
mov edx, dword [ebp - 0x1048]
push edx
call fcn.00404f07
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 0x407934
mov eax, dword [ebp - 0x102c]
push eax
call fcn.00404f07
add esp, 4
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1064]
call fcn.00409037
lea edx, [ebp - 0x102c]
push edx
lea ecx, [ebp - 0x1064]
mov byte [ebp - 4], 0xb
call fcn.00407c93
push eax
lea eax, [ebp - 0x1048]
push eax
mov byte [ebp - 4], 0xc
call fcn.00408da4
lea ecx, [ebp - 0x1080]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00408cc7
add esp, 0x10
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 0xe
call fcn.00403c9c
cmp dword [ebp - 0x106c], 8
jb 0x4079aa
mov edx, dword [ebp - 0x1080]
push edx
call fcn.00404f07
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 0x4079da
mov ecx, dword [ebp - 0x1048]
push ecx
call fcn.00404f07
add esp, 4
mov dword [ebp - 0x1034], 0xf
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x1048], bl
cmp dword [ebp - 0x1018], esi
jb 0x407a07
mov edx, dword [ebp - 0x102c]
push edx
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0x1050], 8
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], ebx
mov byte [ebp - 0x102c], bl
jb 0x407a35
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0x10dc], 8
jb 0x407a4d
mov ecx, dword [ebp - 0x10f0]
push ecx
call fcn.00404f07
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 0x407a81
mov eax, dword [ebp - 0x10d4]
push eax
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0x10a8], ebx
jne 0x407ace
mov ecx, dword [ebp - 0x10f4]
mov ecx, dword [ecx + 0x48]
cmp ecx, ebx
je 0x407ace
push edi
lea edx, [ebp - 0x1080]
push edx
call fcn.00409079
push eax
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 0xf
call fcn.00403c9c
cmp dword [ebp - 0x106c], 8
mov byte [ebp - 4], bl
jb 0x407ace
mov eax, dword [ebp - 0x1080]
push eax
call fcn.00404f07
add esp, 4
lea ecx, [ebp - 0x10b8]
push ecx
lea edx, [ebp - 0x109c]
push edi
push edx
call fcn.00409829
add esp, 0xc
mov esi, dword [ebp - 0x1104]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00409926
push eax
lea eax, [ebp - 0x1108]
push eax
mov ecx, esi
call fcn.00409a21
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x106c], edi
jb 0x407b26
mov ecx, dword [ebp - 0x1080]
push ecx
call fcn.00404f07
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 0x407b56
mov eax, dword [ebp - 0x109c]
push eax
call fcn.00404f07
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.00403c9c
cmp dword [ebp - 0x10a4], edi
jb 0x407b90
mov eax, dword [ebp - 0x10b8]
push eax
call fcn.00404f07
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