Function at 0x4c694c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x204b
push 0
push 0
dec ecx
jne 0x4c6954
push ecx
push ebx
push esi
mov esi, dword [0x4d8c28]
xor eax, eax
push ebp
push 0x4c6e37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
mov ecx, 9
mov edx, 0x4c6e44
call fcn.004cce34
lea eax, [ebp - 4]
mov edx, dword [esi]
call fcn.00405b44
mov eax, dword [esi]
call fcn.00405f70
mov edx, eax
lea eax, [ebp - 0x8018]
call fcn.0040a764
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c6e44
call fcn.004cce34
lea eax, [ebp - 8]
mov edx, dword [esi]
call fcn.00405b44
mov eax, dword [esi]
call fcn.00405f70
mov edx, eax
lea eax, [ebp - 0x10018]
call fcn.0040a764
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c6e48
call fcn.004cce34
lea eax, [ebp - 0xc]
mov edx, dword [esi]
call fcn.00405b44
mov eax, dword [esi]
call fcn.00405f70
mov edx, eax
mov eax, dword [0x4d8dbc]
call fcn.0040a764
lea eax, [ebp - 0x10020]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405fd0
mov eax, dword [ebp - 0x10020]
lea edx, [ebp - 0x1001c]
call fcn.00428080
mov eax, dword [ebp - 0x1001c]
mov edx, 0x4c6e54
call fcn.00405ebc
jne 0x4c6b47
lea eax, [ebp - 0x10024]
push eax
mov ecx, 1
mov edx, 9
mov eax, dword [ebp - 4]
call fcn.00405fd0
mov eax, dword [ebp - 0x10024]
lea edx, [ebp - 0x18]
call fcn.00404024
mov ebx, eax
cmp dword [ebp - 0x18], 0
jg 0x4c6a82
test ebx, ebx
jl 0x4c6a82
cmp ebx, 6
jle 0x4c6aaa
lea eax, [ebp - 0x10028]
mov ecx, dword [ebp - 4]
mov edx, 0x4c6e68
call fcn.00405dbc
mov edx, dword [ebp - 0x10028]
mov eax, 0x131
call fcn.004584b4
jmp 0x4c6dea
lea eax, [ebp - 0x14]
call fcn.00405aac
add ebx, 0x80000000
lea eax, [ebp - 0x10128]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405d48
lea eax, [ebp - 0x10128]
push eax
lea eax, [ebp - 0x10228]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00405d48
lea ecx, [ebp - 0x10228]
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.0045c914
mov ebx, eax
cmp dword [ebp - 0x14], 0
je 0x4c6b0a
mov edx, dword [ebp - 0x14]
mov eax, 0x131
call fcn.004584b4
lea ecx, [ebp - 0x10128]
xor edx, edx
mov eax, ebx
call fcn.00403f8c
lea edx, [ebp - 0x10128]
lea eax, [ebp - 0x10]
call fcn.00405d10
lea edx, [ebp - 0x1022c]
mov eax, dword [ebp - 0x10]
call fcn.00409b18
mov edx, dword [ebp - 0x1022c]
mov eax, esi
call fcn.00405b00
jmp 0x4c6dea
lea eax, [ebp - 0x10234]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405fd0
mov eax, dword [ebp - 0x10234]
lea edx, [ebp - 0x10230]
call fcn.00428080
mov eax, dword [ebp - 0x10230]
mov edx, 0x4c6e84
call fcn.00405ebc
jne 0x4c6c69
lea eax, [ebp - 0x10238]
push eax
mov ecx, 1
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00405fd0
mov eax, dword [ebp - 0x10238]
lea edx, [ebp - 0x18]
call fcn.00404024
mov ebx, eax
cmp dword [ebp - 0x18], 0
jg 0x4c6bbf
test ebx, ebx
jl 0x4c6bbf
cmp ebx, 6
jle 0x4c6be7
lea eax, [ebp - 0x1023c]
mov ecx, dword [ebp - 4]
mov edx, 0x4c6e68
call fcn.00405dbc
mov edx, dword [ebp - 0x1023c]
mov eax, 0x131
call fcn.004584b4
jmp 0x4c6dea
lea eax, [ebp - 0x14]
call fcn.00405aac
add ebx, 0x80000000
lea eax, [ebp - 0x10128]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405d48
lea eax, [ebp - 0x10128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x10228]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00405d48
lea ecx, [ebp - 0x10228]
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.0045c48c
cmp dword [ebp - 0x14], 0
je 0x4c6c49
mov edx, dword [ebp - 0x14]
mov eax, 0x131
call fcn.004584b4
lea edx, [ebp - 0x10240]
mov eax, dword [ebp - 0x10]
call fcn.00409b18
mov edx, dword [ebp - 0x10240]
mov eax, esi
call fcn.00405b00
jmp 0x4c6dea
lea eax, [ebp - 0x10248]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405fd0
mov eax, dword [ebp - 0x10248]
lea edx, [ebp - 0x10244]
call fcn.00428080
mov eax, dword [ebp - 0x10244]
mov edx, 0x4c6e94
call fcn.00405ebc
jne 0x4c6d88
lea eax, [ebp - 0x1024c]
push eax
mov ecx, 1
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00405fd0
mov eax, dword [ebp - 0x1024c]
lea edx, [ebp - 0x18]
call fcn.00404024
mov ebx, eax
cmp dword [ebp - 0x18], 0
jg 0x4c6ce1
test ebx, ebx
jl 0x4c6ce1
cmp ebx, 6
jle 0x4c6d09
lea eax, [ebp - 0x10250]
mov ecx, dword [ebp - 4]
mov edx, 0x4c6e68
call fcn.00405dbc
mov edx, dword [ebp - 0x10250]
mov eax, 0x131
call fcn.004584b4
jmp 0x4c6dea
lea eax, [ebp - 0x14]
call fcn.00405aac
add ebx, 0x80000000
lea eax, [ebp - 0x10128]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405d48
lea eax, [ebp - 0x10128]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x10228]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00405d48
lea ecx, [ebp - 0x10228]
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.0045c6d0
cmp dword [ebp - 0x14], 0
je 0x4c6d6b
mov edx, dword [ebp - 0x14]
mov eax, 0x131
call fcn.004584b4
lea edx, [ebp - 0x10254]
mov eax, dword [ebp - 0x10]
call fcn.00409b18
mov edx, dword [ebp - 0x10254]
mov eax, esi
call fcn.00405b00
jmp 0x4c6dea
lea eax, [ebp - 0x8018]
push eax
push 0x7fff
lea eax, [ebp - 0x10018]
push eax
push 0x4c6ea0
mov eax, dword [0x4d8dbc]
push eax
lea eax, [ebp - 0x10018]
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x10258]
lea eax, [ebp - 0x10018]
call fcn.0040a99c
mov edx, dword [ebp - 0x10258]
mov eax, esi
call fcn.00405b00
lea edx, [ebp - 0x1025c]
mov eax, dword [esi]
call fcn.00409b18
mov edx, dword [ebp - 0x1025c]
mov eax, esi
call fcn.00405b00
mov eax, dword [0x4d8ca0]
mov byte [eax], 1
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6e3e
lea eax, [ebp - 0x1025c]
mov edx, 0xd
call fcn.00405ad0
lea eax, [ebp - 0x10028]
mov edx, 4
call fcn.00405ad0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405ad0
ret