Function at 0x4060a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532189
mov eax, dword fs:[0]
push eax
sub esp, 0x9d4
mov eax, dword [0x657114]
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 dword [ebp - 0x9d4], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x9c4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9dc], 0
mov dword [ebp - 0x9c0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9e0], ebx
mov dword [ebp - 0x9d8], eax
mov dword [ebp - 0x9d0], 0
mov dword [ebp - 0x9cc], 0
mov dword [ebp - 0x9c8], 0
mov ecx, 0x65
mov dword [ebp - 4], 1
mov esi, str.Y7x8j0URlAJUXQlSPlHZJxbvrwRZquj0dFqWBaypYknohSJPOp2Z2ZreP6iIqrkwQTWOwPCdwNwgg7bLulvGN2XloRPUhBy5u5TSDYkbmIJ79yM4MZHSsqzidOTnASjIMo99tlAJ0nD8WpbcxAr2bz3Ypv8hkrRLQUu9cmSnYqyTtdKvWKs9agqtA0hr9NKqDhw637fQ2hbDnKQZGfndDHsQR1TdC8PmEPf3NB2p6OIpxQC3fOcPHrJgbIk9wdANucD4J2NQoTbd30thwFeQAqHbSsNwWrwBPBrdcsx89btSMdeHGQ65Ss2JblyAehC6AGTJWfnU2Ee9FKJirnOhEvGg5575dPS1m1sge7cE7zXkryhYIAxmAqx6njydEu9gD7jzbhx0HktNceJy82u
mov dword [ebp - 0x9a8], 0xf
lea edi, [ebp - 0x1a4]
mov dword [ebp - 0x9ac], 0
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x1a4], 0
mov byte [ebp - 0x9bc], 0
jne 0x406161
xor ecx, ecx
jmp 0x406179
lea ecx, [ebp - 0x1a4]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406170
sub ecx, edx
push ecx
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x9bc]
call fcn.00407bd0
lea eax, [ebp - 0x9bc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x9d0]
call fcn.00407e30
mov eax, dword [ebp - 0x9a8]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x4061c4
inc eax
lea ecx, [ebp - 0x9bc]
push eax
push dword [ebp - 0x9bc]
call fcn.00407cd0
push 0x800
lea eax, [ebp - 0x9a4]
push 0
push eax
call fcn.004e37a0
mov edi, dword [ebp - 0x9d4]
add esp, 0xc
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x4061eb
mov eax, dword [eax]
mov esi, dword [ebp - 0x9d8]
push eax
push 0x400
lea eax, [ebp - 0x9a4]
push eax
push esi
push dword [ebp - 0x9c0]
push dword [ebp - 0x9c4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x406237
mov eax, dword [ebx]
jmp 0x406239
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x9a4], cx
je 0x40625f
lea ecx, [ebp - 0x9a4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406250
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x9a4]
mov ecx, ebx
push eax
call fcn.00402650
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x9dc], 1
jb 0x406282
mov eax, dword [ebx]
jmp 0x406284
mov eax, ebx
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4062ac
test dx, dx
je 0x4062a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4062ac
add eax, 4
add ecx, 4
test dx, dx
jne 0x406286
xor eax, eax
jmp 0x4062b1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40632e
push esi
push dword [ebp - 0x9c0]
lea eax, [ebp - 0x9bc]
mov ecx, edi
push dword [ebp - 0x9c4]
push eax
call fcn.00405ef0
mov esi, eax
cmp ebx, esi
je 0x406310
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x4062e9
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00402750
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x406301
mov eax, dword [ebx]
jmp 0x406303
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.00404220
mov eax, dword [ebp - 0x9a8]
cmp eax, 8
jb 0x40632e
inc eax
lea ecx, [ebp - 0x9bc]
push eax
push dword [ebp - 0x9bc]
call fcn.00402750
mov esi, dword [ebp - 0x9d0]
test esi, esi
je 0x40637a
push dword [ebp - 0x9e0]
lea eax, [ebp - 0x9d0]
push eax
push dword [ebp - 0x9cc]
push esi
call fcn.004056f0
mov ecx, dword [ebp - 0x9c8]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x9d0]
call fcn.00407d30
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.004682d0
mov esp, ebp
pop ebp
ret 0x10