Function at 0x48f752
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 0x48f7fb
cmp byte [eax], 0x2d
jne 0x48f7fb
push 0x73
push eax
call fcn.0054c230
add esp, 8
test eax, eax
je 0x48f7a7
mov dword [ebp + 0x18], 1
push 0x62
mov edx, dword [ebp + 0xc]
push dword [edx + 4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x48f7c2
mov dword [ebp - 8], 1
push 0x6e
mov ecx, dword [ebp + 0xc]
push dword [ecx + 4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x48f7dd
mov dword [ebp - 0xc], 1
push 0x69
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x48f7f6
mov edi, 1
mov esi, 2
cmp dword [ebp - 0x24], 0
jne 0x48f806
xor eax, eax
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + esi*4], 0
je 0x48f819
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + esi*4 + 4], 0
jne 0x48f82e
push 0
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x48ff19
mov dword [ebp - 4], esi
mov edx, dword [ebp + 0xc]
push dword [edx + esi*4]
call fcn.0054c2d0
pop ecx
cmp eax, 0x5a
jbe 0x48f84c
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.0048e963
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48f88c
mov ecx, dword [ebp + 0xc]
push dword [ecx + esi*4]
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
push 0xb88
call fcn.0042c564
push eax
push 0x57e17c
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x48ff19
inc esi
push 0
push 0x104
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.004e5393
mov esi, eax
test esi, esi
jge 0x48f8bb
push 3
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x48ff19
push dword [ebp + 0x10]
push dword [ebp + 0x10]
call fcn.0042cd5e
test eax, eax
jne 0x48f8df
push 3
push 0
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479c10
jmp 0x48ff19
test edi, edi
je 0x48faec
mov edi, 0x800a
push edi
call fcn.00557db4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x48f911
push 2
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x48ff19
push 0x104
push 0
lea edx, [ebp - 0x51c]
push edx
call fcn.0054c150
add esp, 0xc
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + esi*4 + 4], 0
jne 0x48f946
push edi
mov esi, 0x5644a0
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 0x48f961
push 0xfa
mov edx, dword [ebp + 0xc]
push dword [edx + esi*4 + 4]
lea ecx, [ebp - 0x51c]
push ecx
call fcn.0054c4dc
add esp, 0xc
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x2c]
push 0x5644ab
push 0
lea eax, [ebp - 0x51c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
jmp 0x48fad2
cmp dword [ebp - 0xc], 0
je 0x48f9a2
push dword [ebp - 0xc]
push 0x5644af
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0xc
inc dword [ebp - 0xc]
jmp 0x48f9c3
push 0x3e7
push 0
push ebx
call fcn.0054c150
add esp, 0xc
push 0x104
push dword [ebp - 0x30]
push ebx
call fcn.0054c4dc
add esp, 0xc
push dword [ebp + 0x10]
push 0x3b5
lea ecx, [ebp - 0x418]
push ecx
push 0x5644b3
push dword [ebp - 0x30]
lea eax, [ebp - 0x51c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea edx, [ebp - 0x418]
push edx
call fcn.0054c2d0
pop ecx
mov edi, eax
lea eax, [edi + 0xa]
push eax
call fcn.00557db4
pop ecx
mov esi, eax
test esi, esi
jne 0x48fa23
push dword [ebp - 0x2c]
call fcn.00557ca0
pop ecx
push 2
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x48ff19
add edi, 0xa
push edi
push 0
push esi
call fcn.0054c150
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.0048e4da
test eax, eax
jne 0x48fa8b
push dword [ebp - 0x2c]
call fcn.00557ca0
pop ecx
push 2
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x48ff19
cmp esi, eax
je 0x48fa96
push eax
call fcn.00557ca0
pop ecx
cmp dword [0x564478], 0
je 0x48fac5
push ebx
push dword [ebp - 0x1c]
push 0x5644b7
lea ecx, [ebp - 0x418]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 2
lea eax, [ebp - 0x418]
push eax
call fcn.0048ea28
push dword [ebp - 0x30]
call fcn.0054c2d0
pop ecx
inc eax
add dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp byte [edx], 0
jne 0x48f986
push dword [ebp - 0x2c]
call fcn.00557ca0
pop ecx
jmp 0x48fecf
push 0x40
push 0x5644be
push dword [ebp + 0x10]
call fcn.00552238
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x48fb1d
push 4
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479c10
jmp 0x48ff19
push 0x1000
push 0
push 0
push dword [ebp - 0x20]
call fcn.00550fc8
add esp, 0x10
mov dword [ebp - 0x14], 1
jmp 0x48fe62
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 0x48fc97
cmp dword [ebp - 0xc], 0
je 0x48fb7f
push 0x3e7
push 0
push ebx
call fcn.0054c150
add esp, 0xc
push dword [ebp - 0xc]
push 0x5644c1
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0xc
inc dword [ebp - 0xc]
jmp 0x48fbd3
push dword [ebp - 0x20]
push 1
push 2
lea edx, [ebp - 0x26]
push edx
call fcn.0054fe88
add esp, 0x10
cmp eax, 1
jne 0x48fe6f
cmp word [ebp - 0x26], 0x3b5
ja 0x48fe6f
push 0x3e7
push 0
push ebx
call fcn.0054c150
add esp, 0xc
push dword [ebp - 0x20]
push 1
movzx ecx, word [ebp - 0x26]
push ecx
push ebx
call fcn.0054fe88
add esp, 0x10
cmp eax, 1
jne 0x48fe6f
push dword [ebp - 0x20]
push 1
push 2
lea eax, [ebp - 0x26]
push eax
call fcn.0054fe88
add esp, 0x10
cmp eax, 1
jne 0x48fe6f
cmp word [ebp - 0x26], 0x3b5
jbe 0x48fc4f
cmp word [ebp - 0x26], 0x2000
ja 0x48fe6f
cmp dword [ebp - 0x18], 0
jne 0x48fc21
push 0x200a
call fcn.00557db4
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48fe6f
mov dword [ebp - 0x10], 1
push dword [ebp - 0x20]
push 1
movzx edx, word [ebp - 0x26]
push edx
push dword [ebp - 0x18]
call fcn.0054fe88
add esp, 0x10
cmp eax, 1
jne 0x48fe6f
movzx edi, word [ebp - 0x26]
jmp 0x48fd33
push 0x3e7
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.0054c150
add esp, 0xc
cmp word [ebp - 0x26], 0
jbe 0x48fd33
push dword [ebp - 0x20]
push 1
movzx edx, word [ebp - 0x26]
push edx
lea ecx, [ebp - 0x418]
push ecx
call fcn.0054fe88
add esp, 0x10
cmp eax, 1
jne 0x48fe6f
jmp 0x48fd33
cmp dword [ebp - 0xc], 0
je 0x48fcc3
push 0x3e7
push 0
push ebx
call fcn.0054c150
add esp, 0xc
push dword [ebp - 0xc]
push 0x5644c5
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0xc
inc dword [ebp - 0xc]
jmp 0x48fcf2
push 0x3e7
push 0
push ebx
call fcn.0054c150
add esp, 0xc
push dword [ebp - 0x20]
push 0x3b5
push ebx
call fcn.0054f860
add esp, 0xc
test eax, eax
je 0x48fe6f
push ebx
call fcn.0048f6f7
push 0x3e7
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.0054c150
add esp, 0xc
push dword [ebp - 0x20]
push 0x3b5
lea edx, [ebp - 0x418]
push edx
call fcn.0054f860
add esp, 0xc
test eax, eax
je 0x48fe6f
lea ecx, [ebp - 0x418]
push ecx
call fcn.0048f6f7
mov dword [ebp - 0x14], 1
cmp byte [ebx], 0
je 0x48fe62
cmp dword [ebp - 0x10], 0
jne 0x48fd58
lea eax, [ebp - 0x418]
push eax
call fcn.0054c2d0
pop ecx
mov edi, eax
lea eax, [edi + 0xa]
push eax
call fcn.00557db4
pop ecx
mov esi, eax
test esi, esi
jne 0x48fd95
cmp dword [ebp - 0x18], 0
je 0x48fd77
push dword [ebp - 0x18]
call fcn.00557ca0
pop ecx
push dword [ebp - 0x20]
call fcn.0054f730
pop ecx
push 2
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x48ff19
lea edx, [edi + 0xa]
push edx
push 0
push esi
call fcn.0054c150
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x48fdb9
push edi
push dword [ebp - 0x18]
push esi
call fcn.0054c0e0
add esp, 0xc
jmp 0x48fde1
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.0048e4da
test eax, eax
jne 0x48fe28
push esi
call fcn.00557ca0
pop ecx
cmp dword [ebp - 0x18], 0
je 0x48fe0a
push dword [ebp - 0x18]
call fcn.00557ca0
pop ecx
push dword [ebp - 0x20]
call fcn.0054f730
pop ecx
push 2
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x48ff19
cmp esi, eax
je 0x48fe33
push eax
call fcn.00557ca0
pop ecx
cmp dword [0x564478], 0
je 0x48fe62
push ebx
push dword [ebp - 0x1c]
push 0x5644c9
lea ecx, [ebp - 0x418]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 2
lea eax, [ebp - 0x418]
push eax
call fcn.0048ea28
mov edx, dword [ebp - 0x20]
test byte [edx + 0x12], 0x10
je 0x48fb3d
cmp dword [ebp - 0x18], 0
je 0x48fe7e
push dword [ebp - 0x18]
call fcn.00557ca0
pop ecx
cmp dword [ebp - 0x14], 0
jne 0x48fec6
mov ecx, dword [ebp - 0x20]
test byte [ecx + 0x12], 0x20
jne 0x48fec6
push dword [ebp - 0x20]
call fcn.0054f730
pop ecx
push dword [ebp + 0x10]
call fcn.0042caf0
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push dword [eax + edx*4]
push 0
push 0xb91
call fcn.0042c564
push eax
push 0x57e17c
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x48ff19
push dword [ebp - 0x20]
call fcn.0054f730
pop ecx
cmp dword [ebp + 0x18], 0
je 0x48ff14
xor edx, edx
mov dword [0x56ac00], edx
push dword [ebp + 0x10]
call fcn.0042caf0
push eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push dword [ecx + eax*4]
push 0
push 0xb8f
call fcn.0042c564
push eax
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x10
push dword [0x55f89c]
push ebx
push dword [ebp + 8]
call fcn.004ef100
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14