Function at 0x49f310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x49f318
push ebx
push esi
push edi
mov esi, 0x4b2380
mov edi, 0x4b1fe0
xor eax, eax
push ebp
push 0x49f6c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 4]
mov ecx, 0x49f6dc
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov eax, dword [ebp - 4]
call fcn.00404bb8
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [0x4b2378], eax
mov eax, dword [0x4b2378]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 8]
mov ecx, 0x49f6dc
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00402e2c
mov eax, edi
call fcn.00402bc8
call fcn.00402924
mov edx, 0x49f6f0
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
lea eax, [ebp - 0xc]
mov ecx, 0x49f718
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov eax, dword [ebp - 0xc]
call fcn.00404bb8
push eax
push 0
push 0x49f724
push 0x49f730
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4b237c], eax
push 0x49f744
lea edx, [ebp - 0x14]
mov eax, dword [0x4b237c]
call fcn.00408ea8
push dword [ebp - 0x14]
push 0x49f764
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a80
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
push 0x49f770
lea edx, [ebp - 0x1c]
mov eax, dword [0x4b237c]
call fcn.00408ea8
push dword [ebp - 0x1c]
push 0x49f764
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404a80
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
mov ebx, dword [0x4b237c]
test ebx, ebx
jle 0x49f5ce
mov dword [esi], 1
mov ecx, 0x49f718
lea eax, [ebp - 0x20]
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov eax, dword [ebp - 0x20]
call fcn.00404bb8
push eax
push 0x78
push 0x4b1de8
push 0x49f78c
lea edx, [ebp - 0x28]
mov eax, dword [esi]
call fcn.00408ea8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x49f798
call fcn.00404a0c
mov eax, dword [ebp - 0x24]
call fcn.00404bb8
push eax
push 0x49f730
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x49f7a4
lea edx, [ebp - 0x30]
mov eax, dword [esi]
dec eax
call fcn.00408ea8
push dword [ebp - 0x30]
push 0x49f7b8
lea eax, [ebp - 0x34]
mov edx, 0x4b1de8
mov ecx, 0x1f7
call fcn.00404970
push dword [ebp - 0x34]
push 0x49f7c4
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00404a80
mov edx, dword [ebp - 0x2c]
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
mov ecx, 0x49f718
lea eax, [ebp - 0x38]
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov eax, dword [ebp - 0x38]
call fcn.00404bb8
push eax
push 0x78
push 0x4b1de8
push 0x49f78c
lea edx, [ebp - 0x40]
mov eax, dword [esi]
call fcn.00408ea8
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x49f7d0
call fcn.00404a0c
mov eax, dword [ebp - 0x3c]
call fcn.00404bb8
push eax
push 0x49f730
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x49f7e4
lea edx, [ebp - 0x48]
mov eax, dword [esi]
dec eax
call fcn.00408ea8
push dword [ebp - 0x48]
push 0x49f7b8
lea eax, [ebp - 0x4c]
mov edx, 0x4b1de8
mov ecx, 0x1f7
call fcn.00404970
push dword [ebp - 0x4c]
push 0x49f7c4
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00404a80
mov edx, dword [ebp - 0x44]
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
inc dword [esi]
dec ebx
jne 0x49f475
mov edx, 0x49f7f8
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
lea eax, [ebp - 0x50]
mov ecx, 0x49f80c
mov edx, dword [0x4b1de4]
call fcn.00404a0c
mov edx, dword [ebp - 0x50]
mov eax, 0x4b21ac
call fcn.00402e2c
mov eax, 0x4b21ac
call fcn.00402bb0
call fcn.00402924
mov edx, 0x4b2388
mov eax, 0x4b21ac
call fcn.004031e0
mov eax, 0x4b21ac
call fcn.0040324c
call fcn.00402924
mov edx, dword [0x4b2388]
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
mov edx, 0x4b2388
mov eax, 0x4b21ac
call fcn.004031e0
mov eax, 0x4b21ac
call fcn.0040324c
call fcn.00402924
mov edx, dword [0x4b2388]
mov eax, edi
call fcn.00404dd4
call fcn.0040345c
call fcn.00402924
mov eax, 0x4b21ac
call fcn.00402ef4
call fcn.00402924
mov eax, edi
call fcn.00402edc
mov eax, edi
call fcn.00402ef4
call fcn.00402924
mov eax, 0x4b2388
call fcn.00404708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f6cb
lea eax, [ebp - 0x50]
mov edx, 0x14
call fcn.0040472c
ret