Function at 0x417bf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7a6f
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.0048ca20
mov eax, dword [0x50b3e0]
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, ecx
mov dword [ebp - 0x10bc], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x1034]
mov ebx, dword [ebp + 8]
push edi
push ecx
mov dword [ebp - 0x102c], ebx
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x10c4], ebx
mov dword [ebp - 0x10c0], 0
call fcn.004056e0
mov esi, dword [ebp - 0x102c]
cmp byte [esi + 0xd], 0
jne 0x417c84
mov ecx, dword [ebp - 0x10bc]
lea eax, [esi + 0x10]
push eax
push edi
lea ecx, [ecx + 0x1c]
call fcn.00405dd0
test al, al
jne 0x417c84
mov ecx, dword [ebp - 0x10bc]
mov eax, dword [ecx + 0x1c]
jmp 0x417c8f
mov ecx, dword [ebp - 0x10bc]
mov esi, dword [ecx + 0x1c]
mov eax, esi
cmp esi, eax
je 0x417ca3
lea ecx, [esi + 0x28]
push ecx
mov ecx, ebx
call fcn.00403070
jmp 0x4181c3
push 0
push 0x4d44f8
mov ecx, edi
call fcn.004167a0
mov esi, eax
mov dword [ebp - 0x1060], 0
xor eax, eax
mov dword [ebp - 0x105c], 7
mov word [ebp - 0x1070], ax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
je 0x418133
cmp dword [edi + 0x10], esi
mov ecx, esi
mov dword [ebp - 0x1048], eax
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
mov word [ebp - 0x1058], ax
mov eax, edi
mov dword [ebp - 0x1044], 7
jb 0x417d06
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x1058]
call fcn.00408330
xor eax, eax
mov byte [ebp - 4], 1
inc esi
mov word [ebp - 0x1028], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
cmp eax, esi
jb 0x4181e3
sub eax, esi
or ebx, 0xffffffff
cmp eax, 0xffffffff
cmovb ebx, eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x417d55
mov eax, dword [edi]
lea eax, [eax + esi*2]
mov dword [ebp - 0x10c8], eax
cmp ebx, 7
ja 0x417d8f
lea esi, [ebx + ebx]
mov dword [ebp - 0x1018], ebx
push esi
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.0048e8d0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1028], ax
mov ebx, dword [ebp - 0x1028]
jmp 0x417dfb
cmp ebx, 0x7ffffffe
ja 0x4181e8
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x417daf
mov esi, 0x7ffffffe
jmp 0x417db9
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1028]
call fcn.00402d10
mov dword [ebp - 0x1014], esi
lea esi, [ebx + ebx]
push esi
push dword [ebp - 0x10c8]
mov dword [ebp - 0x1018], ebx
mov ebx, eax
push ebx
mov dword [ebp - 0x102c], eax
call fcn.0048e350
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
mov dword [ebp - 0x1028], ebx
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0048ee50
mov esi, dword [ebp - 0x10bc]
add esp, 0xc
cmp dword [esi + 0x18], 8
lea edx, [esi + 4]
jb 0x417e26
mov edx, dword [edx]
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
push edx
push 0x800
lea edx, [ebp - 0x1010]
cmovae ecx, ebx
cmp dword [ebp - 0x1044], 8
lea eax, [ebp - 0x1058]
push edx
cmovae eax, dword [ebp - 0x1058]
push 0x4d4638
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417e70
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1070]
call fcn.00408330
cmp dword [ebp - 0x1060], 0
jne 0x418087
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x1088], ax
lea ecx, [ebp - 0x1088]
mov eax, dword [ebp - 0x1048]
inc eax
mov dword [ebp - 0x1078], 0
push eax
mov dword [ebp - 0x1074], 7
mov dword [ebp - 0x10c0], 0xe
call fcn.00408440
push 1
push 0x4d70f4
lea ecx, [ebp - 0x1088]
call fcn.00402d70
cmp dword [ebp - 0x1044], 8
lea eax, [ebp - 0x1058]
push dword [ebp - 0x1048]
cmovae eax, dword [ebp - 0x1058]
lea ecx, [ebp - 0x1088]
push eax
call fcn.00402d70
push 0x4d70f4
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x10a0]
push eax
call fcn.00402540
add esp, 0xc
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
push dword [ebp - 0x1018]
cmovae ecx, dword [ebp - 0x1028]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00402d70
mov edx, eax
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x10c0], 0x1e
mov ecx, dword [edx]
mov dword [ebp - 0x1040], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x103c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1038], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x1034], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1030], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x102c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ecx, dword [esi]
lea eax, [ebp - 0x1070]
push eax
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 5
push eax
call fcn.004173e0
mov edx, dword [ebp - 0x102c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x41801b
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418011
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181ed
push edx
push ecx
call fcn.0048c65e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x10a0]
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
call fcn.00402b00
mov edx, dword [ebp - 0x1074]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x418087
mov ecx, dword [ebp - 0x1088]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41807d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181ed
push edx
push ecx
call fcn.0048c65e
add esp, 8
mov edx, dword [ebp - 0x1014]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4180cb
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4180c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181f2
push edx
push ecx
call fcn.0048c65e
add esp, 8
mov edx, dword [ebp - 0x1044]
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x41812b
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418121
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181f2
push edx
push ecx
call fcn.0048c65e
add esp, 8
mov ebx, dword [ebp - 0x10c4]
jmp 0x418139
mov esi, dword [ebp - 0x10bc]
push edi
lea ecx, [ebp - 0x10b8]
call fcn.00403070
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10a0]
call fcn.00403070
lea eax, [ebp - 0x10b8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x1030]
push eax
lea ecx, [esi + 0x1c]
call fcn.004058f0
lea ecx, [ebp - 0x10b8]
call fcn.00405bb0
mov eax, dword [ebp - 0x1070]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x106c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1068]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1064]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x1060]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x105c]
mov dword [ebx + 0x14], eax
mov eax, ebx
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.0048c66c
mov esp, ebp
pop ebp
ret 8
call fcn.00404a50
call fcn.00402cf0
call fcn.00497fa9
call fcn.00497fa9
int3