Function at 0x48f252
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffae4
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov esi, 1
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
xor edi, edi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
xor edx, edx
mov dword [ebp + 0x18], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
test eax, eax
je 0x48f2fb
cmp byte [eax], 0x2d
jne 0x48f2fb
push 0x73
push eax
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x48f2a7
mov dword [ebp + 0x18], 1
push 0x62
mov edx, dword [ebp + 0xc]
push dword [edx + 4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x48f2c2
mov dword [ebp - 8], 1
push 0x6e
mov ecx, dword [ebp + 0xc]
push dword [ecx + 4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x48f2dd
mov dword [ebp - 0xc], 1
push 0x69
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x48f2f6
mov edi, 1
mov esi, 2
cmp dword [ebp - 0x24], 0
jne 0x48f306
xor eax, eax
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + esi*4], 0
je 0x48f319
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + esi*4 + 4], 0
jne 0x48f32e
push 0
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479438
jmp 0x48fa19
mov dword [ebp - 4], esi
mov edx, dword [ebp + 0xc]
push dword [edx + esi*4]
call fcn.0054e28c
pop ecx
cmp eax, 0x5a
jbe 0x48f34c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + esi*4]
mov byte [eax + 0x5a], 0
mov edx, dword [ebp + 0xc]
push dword [edx + esi*4]
call fcn.0048e463
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48f38c
mov ecx, dword [ebp + 0xc]
push dword [ecx + esi*4]
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
push 0xb88
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x48fa19
inc esi
push 0
push 0x104
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.004e648f
mov esi, eax
test esi, esi
jge 0x48f3bb
push 3
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479438
jmp 0x48fa19
push dword [ebp + 0x10]
push dword [ebp + 0x10]
call fcn.0042cf68
test eax, eax
jne 0x48f3df
push 3
push 0
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479438
jmp 0x48fa19
test edi, edi
je 0x48f5ec
mov edi, 0x800a
push edi
call fcn.00559d70
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x48f411
push 2
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479438
jmp 0x48fa19
push 0x104
push 0
lea edx, [ebp - 0x51c]
push edx
call fcn.0054e10c
add esp, 0xc
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + esi*4 + 4], 0
jne 0x48f446
push edi
mov esi, 0x566524
lea edi, [ebp - 0x51c]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
jmp 0x48f461
push 0xfa
mov edx, dword [ebp + 0xc]
push dword [edx + esi*4 + 4]
lea ecx, [ebp - 0x51c]
push ecx
call fcn.0054e498
add esp, 0xc
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x2c]
push 0x56652f
push 0
lea eax, [ebp - 0x51c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
jmp 0x48f5d2
cmp dword [ebp - 0xc], 0
je 0x48f4a2
push dword [ebp - 0xc]
push 0x566533
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0xc
inc dword [ebp - 0xc]
jmp 0x48f4c3
push 0x3e7
push 0
push ebx
call fcn.0054e10c
add esp, 0xc
push 0x104
push dword [ebp - 0x30]
push ebx
call fcn.0054e498
add esp, 0xc
push dword [ebp + 0x10]
push 0x3b5
lea ecx, [ebp - 0x418]
push ecx
push 0x566537
push dword [ebp - 0x30]
lea eax, [ebp - 0x51c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x418]
push edx
call fcn.0054e28c
pop ecx
mov edi, eax
lea eax, [edi + 0xa]
push eax
call fcn.00559d70
pop ecx
mov esi, eax
test esi, esi
jne 0x48f523
push dword [ebp - 0x2c]
call fcn.00559c5c
pop ecx
push 2
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479438
jmp 0x48fa19
add edi, 0xa
push edi
push 0
push esi
call fcn.0054e10c
add esp, 0xc
push esi
lea edi, [ebp - 0x418]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0x68
push eax
push edi
push esi
push ebx
call fcn.0048dfda
test eax, eax
jne 0x48f58b
push dword [ebp - 0x2c]
call fcn.00559c5c
pop ecx
push 2
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479438
jmp 0x48fa19
cmp esi, eax
je 0x48f596
push eax
call fcn.00559c5c
pop ecx
cmp dword [0x5664fc], 0
je 0x48f5c5
push ebx
push dword [ebp - 0x1c]
push 0x56653b
lea ecx, [ebp - 0x418]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 2
lea eax, [ebp - 0x418]
push eax
call fcn.0048e528
push dword [ebp - 0x30]
call fcn.0054e28c
pop ecx
inc eax
add dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp byte [edx], 0
jne 0x48f486
push dword [ebp - 0x2c]
call fcn.00559c5c
pop ecx
jmp 0x48f9cf
push 0x40
push 0x566542
push dword [ebp + 0x10]
call fcn.005541f4
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x48f61d
push 4
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479438
jmp 0x48fa19
push 0x1000
push 0
push 0
push dword [ebp - 0x20]
call fcn.00552f84
add esp, 0x10
mov dword [ebp - 0x14], 1
jmp 0x48f962
xor eax, eax
mov dword [ebp - 0x14], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x48f797
cmp dword [ebp - 0xc], 0
je 0x48f67f
push 0x3e7
push 0
push ebx
call fcn.0054e10c
add esp, 0xc
push dword [ebp - 0xc]
push 0x566545
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0xc
inc dword [ebp - 0xc]
jmp 0x48f6d3
push dword [ebp - 0x20]
push 1
push 2
lea edx, [ebp - 0x26]
push edx
call fcn.00551e44
add esp, 0x10
cmp eax, 1
jne 0x48f96f
cmp word [ebp - 0x26], 0x3b5
ja 0x48f96f
push 0x3e7
push 0
push ebx
call fcn.0054e10c
add esp, 0xc
push dword [ebp - 0x20]
push 1
movzx ecx, word [ebp - 0x26]
push ecx
push ebx
call fcn.00551e44
add esp, 0x10
cmp eax, 1
jne 0x48f96f
push dword [ebp - 0x20]
push 1
push 2
lea eax, [ebp - 0x26]
push eax
call fcn.00551e44
add esp, 0x10
cmp eax, 1
jne 0x48f96f
cmp word [ebp - 0x26], 0x3b5
jbe 0x48f74f
cmp word [ebp - 0x26], 0x2000
ja 0x48f96f
cmp dword [ebp - 0x18], 0
jne 0x48f721
push 0x200a
call fcn.00559d70
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48f96f
mov dword [ebp - 0x10], 1
push dword [ebp - 0x20]
push 1
movzx edx, word [ebp - 0x26]
push edx
push dword [ebp - 0x18]
call fcn.00551e44
add esp, 0x10
cmp eax, 1
jne 0x48f96f
movzx edi, word [ebp - 0x26]
jmp 0x48f833
push 0x3e7
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.0054e10c
add esp, 0xc
cmp word [ebp - 0x26], 0
jbe 0x48f833
push dword [ebp - 0x20]
push 1
movzx edx, word [ebp - 0x26]
push edx
lea ecx, [ebp - 0x418]
push ecx
call fcn.00551e44
add esp, 0x10
cmp eax, 1
jne 0x48f96f
jmp 0x48f833
cmp dword [ebp - 0xc], 0
je 0x48f7c3
push 0x3e7
push 0
push ebx
call fcn.0054e10c
add esp, 0xc
push dword [ebp - 0xc]
push 0x566549
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0xc
inc dword [ebp - 0xc]
jmp 0x48f7f2
push 0x3e7
push 0
push ebx
call fcn.0054e10c
add esp, 0xc
push dword [ebp - 0x20]
push 0x3b5
push ebx
call fcn.0055181c
add esp, 0xc
test eax, eax
je 0x48f96f
push ebx
call fcn.0048f1f7
push 0x3e7
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.0054e10c
add esp, 0xc
push dword [ebp - 0x20]
push 0x3b5
lea edx, [ebp - 0x418]
push edx
call fcn.0055181c
add esp, 0xc
test eax, eax
je 0x48f96f
lea ecx, [ebp - 0x418]
push ecx
call fcn.0048f1f7
mov dword [ebp - 0x14], 1
cmp byte [ebx], 0
je 0x48f962
cmp dword [ebp - 0x10], 0
jne 0x48f858
lea eax, [ebp - 0x418]
push eax
call fcn.0054e28c
pop ecx
mov edi, eax
lea eax, [edi + 0xa]
push eax
call fcn.00559d70
pop ecx
mov esi, eax
test esi, esi
jne 0x48f895
cmp dword [ebp - 0x18], 0
je 0x48f877
push dword [ebp - 0x18]
call fcn.00559c5c
pop ecx
push dword [ebp - 0x20]
call fcn.005516ec
pop ecx
push 2
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479438
jmp 0x48fa19
lea edx, [edi + 0xa]
push edx
push 0
push esi
call fcn.0054e10c
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x48f8b9
push edi
push dword [ebp - 0x18]
push esi
call fcn.0054e09c
add esp, 0xc
jmp 0x48f8e1
push esi
lea edi, [ebp - 0x418]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0x68
push eax
push edi
push esi
push ebx
call fcn.0048dfda
test eax, eax
jne 0x48f928
push esi
call fcn.00559c5c
pop ecx
cmp dword [ebp - 0x18], 0
je 0x48f90a
push dword [ebp - 0x18]
call fcn.00559c5c
pop ecx
push dword [ebp - 0x20]
call fcn.005516ec
pop ecx
push 2
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479438
jmp 0x48fa19
cmp esi, eax
je 0x48f933
push eax
call fcn.00559c5c
pop ecx
cmp dword [0x5664fc], 0
je 0x48f962
push ebx
push dword [ebp - 0x1c]
push 0x56654d
lea ecx, [ebp - 0x418]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 2
lea eax, [ebp - 0x418]
push eax
call fcn.0048e528
mov edx, dword [ebp - 0x20]
test byte [edx + 0x12], 0x10
je 0x48f63d
cmp dword [ebp - 0x18], 0
je 0x48f97e
push dword [ebp - 0x18]
call fcn.00559c5c
pop ecx
cmp dword [ebp - 0x14], 0
jne 0x48f9c6
mov ecx, dword [ebp - 0x20]
test byte [ecx + 0x12], 0x20
jne 0x48f9c6
push dword [ebp - 0x20]
call fcn.005516ec
pop ecx
push dword [ebp + 0x10]
call fcn.0042ccfa
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push dword [eax + edx*4]
push 0
push 0xb91
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x48fa19
push dword [ebp - 0x20]
call fcn.005516ec
pop ecx
cmp dword [ebp + 0x18], 0
je 0x48fa14
xor edx, edx
mov dword [0x56cd18], edx
push dword [ebp + 0x10]
call fcn.0042ccfa
push eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push dword [ecx + eax*4]
push 0
push 0xb8f
call fcn.0042c771
push eax
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push dword [0x5618e8]
push ebx
push dword [ebp + 8]
call fcn.004f0245
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14