Function at 0x4064c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d602
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x7d0
lea eax, [ebp - 0x7e0]
push 0
push eax
call fcn.004cf9d0
lea eax, [esi + 0x24]
mov word [ebp - 0x7e0], 0
add esp, 0xc
mov dword [ebp - 0x820], eax
cmp dword [eax + 0x14], 0x10
jb 0x40651f
mov eax, dword [eax]
push eax
push 0x7d0
lea eax, [ebp - 0x7e0]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
mov dword [ebp - 0x7f0], 0
movq qword [ebp - 0x7f8], xmm0
mov dword [ebp - 0x7f8], 0
mov dword [ebp - 0x7f4], 0
mov dword [ebp - 0x7f0], 0
lea eax, [ebp - 0x7e0]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x7f8]
push eax
call fcn.00406300
mov eax, dword [ebp - 0x7f8]
mov edi, eax
mov dword [ebp - 0x81c], edi
cmp eax, dword [ebp - 0x7f4]
je 0x406942
lea eax, [esi + 0x18]
mov dword [ebp - 0x824], eax
jmp 0x4065b0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x808], xmm0
mov dword [ebp - 0x804], 0xf
movdqu xmmword [ebp - 0x818], xmm0
mov dword [ebp - 0x808], 0
mov byte [ebp - 0x818], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x800]
mov dword [ebp - 0x800], 0
mov dword [ebp - 0x7fc], 0
call fcn.00407db0
mov dword [ebp - 0x800], eax
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x406615
mov edx, dword [edi]
jmp 0x406617
mov edx, edi
cmp byte [edx], 0
jne 0x406620
xor ecx, ecx
jmp 0x40662e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406625
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x818]
call fcn.00404a10
mov eax, dword [ebp - 0x820]
mov word [ebp - 0x7e0], 0
cmp dword [eax + 0x14], 0x10
jb 0x406654
mov ecx, dword [eax]
jmp 0x406656
mov ecx, eax
cmp dword [ebp - 0x804], 0x10
lea eax, [ebp - 0x818]
push ecx
cmovae eax, dword [ebp - 0x818]
lea ecx, [ebp - 0x7e0]
push 0x7d0
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
mov dword [ebp - 0x7e4], 0
movq qword [ebp - 0x7ec], xmm0
mov dword [ebp - 0x7ec], 0
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 0
lea eax, [ebp - 0x7e0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x7ec]
push eax
call fcn.00406300
mov eax, dword [ebp - 0x7ec]
mov esi, eax
cmp eax, dword [ebp - 0x7e8]
je 0x406860
mov edi, dword [ebp - 0x820]
cmp dword [edi + 0x14], 0x10
jb 0x4066f0
mov edx, dword [edi]
jmp 0x4066f2
mov edx, edi
cmp dword [esi + 0x14], 0x10
jb 0x4066fc
mov ecx, dword [esi]
jmp 0x4066fe
mov ecx, esi
cmp dword [ebp - 0x804], 0x10
lea eax, [ebp - 0x818]
push edx
cmovae eax, dword [ebp - 0x818]
lea edx, [ebp - 0x7e0]
push 0x7d0
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [esi + 0x14], 0x10
jb 0x406733
mov edx, dword [esi]
jmp 0x406735
mov edx, esi
mov dword [ebp - 0x844], 0xf
mov dword [ebp - 0x848], 0
mov byte [ebp - 0x858], 0
cmp byte [edx], 0
jne 0x406759
xor ecx, ecx
jmp 0x406771
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x828], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406764
sub ecx, dword [ebp - 0x828]
push ecx
push edx
lea ecx, [ebp - 0x858]
call fcn.00404a10
mov byte [ebp - 4], 4
cmp byte [ebp - 0x7e0], 0
mov dword [ebp - 0x82c], 0xf
mov dword [ebp - 0x830], 0
mov byte [ebp - 0x840], 0
jne 0x4067aa
xor eax, eax
jmp 0x4067bc
lea eax, [ebp - 0x7e0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4067b3
sub eax, edx
push eax
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x840]
call fcn.00404a10
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x800]
call fcn.00407de0
push eax
add eax, 0x10
lea ecx, [ebp - 0x800]
push eax
push 0
lea eax, [ebp - 0x864]
push eax
call fcn.00407e20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x82c], 0x10
jb 0x406819
push dword [ebp - 0x840]
call fcn.004c41b0
add esp, 4
cmp dword [ebp - 0x844], 0x10
mov dword [ebp - 0x82c], 0xf
mov dword [ebp - 0x830], 0
mov byte [ebp - 0x840], 0
jb 0x40684b
push dword [ebp - 0x858]
call fcn.004c41b0
add esp, 4
add esi, 0x18
cmp esi, dword [ebp - 0x7e8]
jne 0x4066e6
mov edi, dword [ebp - 0x81c]
mov ecx, dword [ebp - 0x824]
lea eax, [ebp - 0x818]
push eax
call fcn.00407380
mov ecx, dword [ebp - 0x7ec]
test ecx, ecx
je 0x4068e3
mov eax, dword [ebp - 0x7e8]
mov esi, ecx
cmp ecx, eax
je 0x4068bc
cmp dword [esi + 0x14], 0x10
jb 0x40689e
push dword [esi]
call fcn.004c41b0
mov eax, dword [ebp - 0x7e8]
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, eax
jne 0x406888
mov ecx, dword [ebp - 0x7ec]
push ecx
call fcn.004c41b0
add esp, 4
mov dword [ebp - 0x7ec], 0
mov dword [ebp - 0x7e8], 0
mov dword [ebp - 0x7e4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x800]
mov eax, dword [ebp - 0x800]
push eax
push dword [eax]
lea eax, [ebp - 0x85c]
push eax
call fcn.004076e0
push dword [ebp - 0x800]
call fcn.004c41b0
add esp, 4
cmp dword [ebp - 0x804], 0x10
jb 0x406927
push dword [ebp - 0x818]
call fcn.004c41b0
add esp, 4
add edi, 0x18
mov dword [ebp - 0x81c], edi
cmp edi, dword [ebp - 0x7f4]
jne 0x4065b0
mov eax, dword [ebp - 0x7f8]
test eax, eax
je 0x406989
mov edi, dword [ebp - 0x7f4]
mov esi, eax
cmp eax, edi
je 0x406980
cmp dword [esi + 0x14], 0x10
jb 0x406962
push dword [esi]
call fcn.004c41b0
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x406952
mov eax, dword [ebp - 0x7f8]
push eax
call fcn.004c41b0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret