Function at 0x4d1044
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x204b
push 0
push 0
dec ecx
jne 0x4d104c
push ecx
push ebx
push esi
mov esi, dword [0x4e2c6c]
xor eax, eax
push ebp
push 0x4d152f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
mov ecx, 9
mov edx, 0x4d153c
call fcn.004d778c
lea eax, [ebp - 4]
mov edx, dword [esi]
call fcn.00405b4c
mov eax, dword [esi]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x8018]
call fcn.0040a7b4
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4d153c
call fcn.004d778c
lea eax, [ebp - 8]
mov edx, dword [esi]
call fcn.00405b4c
mov eax, dword [esi]
call fcn.00405f78
mov edx, eax
lea eax, [ebp - 0x10018]
call fcn.0040a7b4
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4d1540
call fcn.004d778c
lea eax, [ebp - 0xc]
mov edx, dword [esi]
call fcn.00405b4c
mov eax, dword [esi]
call fcn.00405f78
mov edx, eax
mov eax, dword [0x4e2e08]
call fcn.0040a7b4
lea eax, [ebp - 0x10020]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405fd8
mov eax, dword [ebp - 0x10020]
lea edx, [ebp - 0x1001c]
call fcn.004281c4
mov eax, dword [ebp - 0x1001c]
mov edx, 0x4d154c
call fcn.00405ec4
jne 0x4d123f
lea eax, [ebp - 0x10024]
push eax
mov ecx, 1
mov edx, 9
mov eax, dword [ebp - 4]
call fcn.00405fd8
mov eax, dword [ebp - 0x10024]
lea edx, [ebp - 0x18]
call fcn.00404024
mov ebx, eax
cmp dword [ebp - 0x18], 0
jg 0x4d117a
test ebx, ebx
jl 0x4d117a
cmp ebx, 6
jle 0x4d11a2
lea eax, [ebp - 0x10028]
mov ecx, dword [ebp - 4]
mov edx, 0x4d1560
call fcn.00405dc4
mov edx, dword [ebp - 0x10028]
mov eax, 0x131
call fcn.00458bb8
jmp 0x4d14e2
lea eax, [ebp - 0x14]
call fcn.00405ab4
add ebx, 0x80000000
lea eax, [ebp - 0x10128]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405d50
lea eax, [ebp - 0x10128]
push eax
lea eax, [ebp - 0x10228]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00405d50
lea ecx, [ebp - 0x10228]
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.0045d2a4
mov ebx, eax
cmp dword [ebp - 0x14], 0
je 0x4d1202
mov edx, dword [ebp - 0x14]
mov eax, 0x131
call fcn.00458bb8
lea ecx, [ebp - 0x10128]
xor edx, edx
mov eax, ebx
call fcn.00403f8c
lea edx, [ebp - 0x10128]
lea eax, [ebp - 0x10]
call fcn.00405d18
lea edx, [ebp - 0x1022c]
mov eax, dword [ebp - 0x10]
call fcn.00409b68
mov edx, dword [ebp - 0x1022c]
mov eax, esi
call fcn.00405b08
jmp 0x4d14e2
lea eax, [ebp - 0x10234]
push eax
mov ecx, 9
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405fd8
mov eax, dword [ebp - 0x10234]
lea edx, [ebp - 0x10230]
call fcn.004281c4
mov eax, dword [ebp - 0x10230]
mov edx, 0x4d157c
call fcn.00405ec4
jne 0x4d1361
lea eax, [ebp - 0x10238]
push eax
mov ecx, 1
mov edx, 0xa
mov eax, dword [ebp - 4]
call fcn.00405fd8
mov eax, dword [ebp - 0x10238]
lea edx, [ebp - 0x18]
call fcn.00404024
mov ebx, eax
cmp dword [ebp - 0x18], 0
jg 0x4d12b7
test ebx, ebx
jl 0x4d12b7
cmp ebx, 6
jle 0x4d12df
lea eax, [ebp - 0x1023c]
mov ecx, dword [ebp - 4]
mov edx, 0x4d1560
call fcn.00405dc4
mov edx, dword [ebp - 0x1023c]
mov eax, 0x131
call fcn.00458bb8
jmp 0x4d14e2
lea eax, [ebp - 0x14]
call fcn.00405ab4
add ebx, 0x80000000
lea eax, [ebp - 0x10128]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405d50
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.00405d50
lea ecx, [ebp - 0x10228]
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.0045d060
cmp dword [ebp - 0x14], 0
je 0x4d1341
mov edx, dword [ebp - 0x14]
mov eax, 0x131
call fcn.00458bb8
lea edx, [ebp - 0x10240]
mov eax, dword [ebp - 0x10]
call fcn.00409b68
mov edx, dword [ebp - 0x10240]
mov eax, esi
call fcn.00405b08
jmp 0x4d14e2
lea eax, [ebp - 0x10248]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405fd8
mov eax, dword [ebp - 0x10248]
lea edx, [ebp - 0x10244]
call fcn.004281c4
mov eax, dword [ebp - 0x10244]
mov edx, 0x4d1590
call fcn.00405ec4
jne 0x4d1480
lea eax, [ebp - 0x1024c]
push eax
mov ecx, 1
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00405fd8
mov eax, dword [ebp - 0x1024c]
lea edx, [ebp - 0x18]
call fcn.00404024
mov ebx, eax
cmp dword [ebp - 0x18], 0
jg 0x4d13d9
test ebx, ebx
jl 0x4d13d9
cmp ebx, 6
jle 0x4d1401
lea eax, [ebp - 0x10250]
mov ecx, dword [ebp - 4]
mov edx, 0x4d1560
call fcn.00405dc4
mov edx, dword [ebp - 0x10250]
mov eax, 0x131
call fcn.00458bb8
jmp 0x4d14e2
lea eax, [ebp - 0x14]
call fcn.00405ab4
add ebx, 0x80000000
lea eax, [ebp - 0x10128]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405d50
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.00405d50
lea ecx, [ebp - 0x10228]
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.0045ce1c
cmp dword [ebp - 0x14], 0
je 0x4d1463
mov edx, dword [ebp - 0x14]
mov eax, 0x131
call fcn.00458bb8
lea edx, [ebp - 0x10254]
mov eax, dword [ebp - 0x10]
call fcn.00409b68
mov edx, dword [ebp - 0x10254]
mov eax, esi
call fcn.00405b08
jmp 0x4d14e2
lea eax, [ebp - 0x8018]
push eax
push 0x7fff
lea eax, [ebp - 0x10018]
push eax
push 0x4d1598
mov eax, dword [0x4e2e08]
push eax
lea eax, [ebp - 0x10018]
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x10258]
lea eax, [ebp - 0x10018]
call fcn.0040a9ec
mov edx, dword [ebp - 0x10258]
mov eax, esi
call fcn.00405b08
lea edx, [ebp - 0x1025c]
mov eax, dword [esi]
call fcn.00409b68
mov edx, dword [ebp - 0x1025c]
mov eax, esi
call fcn.00405b08
mov eax, dword [0x4e2ce4]
mov byte [eax], 1
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1536
lea eax, [ebp - 0x1025c]
mov edx, 0xd
call fcn.00405ad8
lea eax, [ebp - 0x10028]
mov edx, 4
call fcn.00405ad8
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405ad8
ret