Function at 0x48d572
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574ddd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9e0
mov dword [ebp - 0x9dc], ecx
push 0
lea ecx, [ebp - 0x774]
call fcn.0046eef0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x59c]
call fcn.004737a0
mov byte [ebp - 4], 1
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x53c], 0
mov eax, dword [ebp - 0x9dc]
cmp dword [eax + 0x1550], 0
je 0x48d606
mov ecx, dword [ebp - 0x9dc]
mov edx, dword [ecx + 0x1550]
push edx
mov ecx, dword [ebp - 0x9dc]
call fcn.004116d0
mov eax, dword [ebp - 0x9dc]
mov dword [eax + 0x1550], 0
cmp dword [0x67aa9c], 0
je 0x48d64c
push 0
push 0x67fab0
push 0x5bec54
mov ecx, dword [ebp - 0x9dc]
call fcn.00564245
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x59c]
call fcn.00441b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x774]
call fcn.00470620
jmp 0x48dc22
lea ecx, [ebp - 0x59c]
call fcn.0056632b
cmp dword [0x67ac0c], 0
je 0x48d66a
mov dword [ebp - 0x538], 0
mov ecx, dword [ebp - 0x538]
mov dword [ebp - 0x718], ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.00529440
add esp, 4
push str.DEFAULT.INI
lea eax, [ebp - 0x41c]
push eax
call fcn.0054bea0
add esp, 8
lea ecx, [ebp - 0x41c]
push ecx
push 1
push 0x5bec78
push 0x5bec84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
push 0x5bec8c
lea eax, [ebp - 0x318]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x318]
push edx
push str.OPCheckMode
push 0x5bec9c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x6785ac
call fcn.0054ce70
add esp, 4
mov dword [ebp - 0x528], eax
jmp 0x48d70f
mov eax, dword [ebp - 0x528]
sub eax, 1
mov dword [ebp - 0x528], eax
cmp dword [ebp - 0x528], 0
jl 0x48d72e
mov ecx, dword [ebp - 0x528]
movsx edx, byte [ecx + 0x6785ac]
cmp edx, 0x5c
jne 0x48d72c
jmp 0x48d72e
jmp 0x48d700
cmp dword [ebp - 0x528], 0
je 0x48d77e
push 0x6785ac
lea eax, [ebp - 0x218]
push eax
call fcn.0054be90
add esp, 8
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0054bf90
add esp, 0xc
mov edx, dword [ebp - 0x528]
push edx
push 0x6785ac
lea eax, [ebp - 0x114]
push eax
call fcn.0054c7e0
add esp, 0xc
jmp 0x48d792
push 0x67fab4
lea ecx, [ebp - 0x218]
push ecx
call fcn.0054be90
add esp, 8
cmp dword [ebp - 0x538], 0
jne 0x48d80c
cmp dword [ebp - 0x10], 0
jne 0x48d80c
push 0
lea ecx, [ebp - 0x7d4]
call fcn.004820a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7d4]
call fcn.0056632b
cmp eax, 1
jne 0x48d7cc
mov dword [0x5ee02c], 0
mov ecx, dword [ebp - 0x9dc]
call fcn.005657e7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7d4]
call fcn.00404980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x59c]
call fcn.00441b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x774]
call fcn.00470620
jmp 0x48dc22
lea edx, [ebp - 0x524]
push edx
call fcn.00529440
add esp, 4
push 0
push str.ini_Files__.ini_.iniAll_Files_._.
push 0x221000
lea eax, [ebp - 0x218]
push eax
push 0
push 1
lea ecx, [ebp - 0x9cc]
call fcn.0055f87c
mov byte [ebp - 4], 3
push 0x6784a8
push 0
push str.FIRSTINIABSPATH
push 0x5bece4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x48d86a
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x944], ecx
jmp 0x48d876
lea edx, [ebp - 0x524]
mov dword [ebp - 0x944], edx
cmp dword [0x5ee050], 0
je 0x48d905
push 0x6785ac
call fcn.0054ce70
add esp, 4
mov dword [ebp - 0x528], eax
jmp 0x48d8a7
mov eax, dword [ebp - 0x528]
sub eax, 1
mov dword [ebp - 0x528], eax
cmp dword [ebp - 0x528], 0
jl 0x48d8c6
mov ecx, dword [ebp - 0x528]
movsx edx, byte [ecx + 0x6785ac]
cmp edx, 0x5c
jne 0x48d8c4
jmp 0x48d8c6
jmp 0x48d898
cmp dword [ebp - 0x528], 0
je 0x48d8ec
mov eax, dword [ebp - 0x528]
add eax, 0x6785ad
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0054be90
add esp, 8
jmp 0x48d900
push 0x67fab8
lea edx, [ebp - 0x218]
push edx
call fcn.0054be90
add esp, 8
jmp 0x48da1e
lea ecx, [ebp - 0x9cc]
call fcn.0055f9de
mov dword [ebp - 0x9d0], eax
cmp dword [ebp - 0x9d0], 1
jne 0x48d9de
lea eax, [ebp - 0x9d4]
push eax
lea ecx, [ebp - 0x9cc]
call fcn.0055fab9
mov dword [ebp - 0x9e0], eax
mov ecx, dword [ebp - 0x9e0]
mov dword [ebp - 0x9e4], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x9e4]
call fcn.005287a0
push eax
push 0x6785ac
call fcn.0054be90
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9d4]
call fcn.0056206c
lea edx, [ebp - 0x9d8]
push edx
lea ecx, [ebp - 0x9cc]
call fcn.0055fab9
mov dword [ebp - 0x9e8], eax
mov eax, dword [ebp - 0x9e8]
mov dword [ebp - 0x9ec], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x9ec]
call fcn.005287a0
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0054be90
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9d8]
call fcn.0056206c
push 0x6785ac
push 0x5becf0
push 0x5e911c
call fcn.0055f827
add esp, 0xc
jmp 0x48da1e
mov ecx, dword [ebp - 0x9dc]
call fcn.005657e7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9cc]
call fcn.004048d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x59c]
call fcn.00441b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x774]
call fcn.00470620
jmp 0x48dc22
call fcn.004a5ec3
call fcn.0053062e
push 0
push 1
call fcn.00529d0e
add esp, 8
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x710]
push eax
call fcn.0054be90
add esp, 8
push 0
mov ecx, dword [ebp - 0x9dc]
call fcn.004bc1fd
lea ecx, [ebp - 0x774]
call fcn.0056632b
cmp eax, 1
jne 0x48db06
mov dword [0x5ee02c], 0
push 0x5eddc0
push 0
push 0x5becf4
push 0x5bed08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x5edfb8], eax
push 0
push 0
call fcn.00529d0e
add esp, 8
push 0x67f2a6
push 0x5bed10
push 0x5e9120
call fcn.0055f827
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x9dc]
call fcn.004bc1fd
call fcn.004a5ec3
mov ecx, dword [ebp - 0x9dc]
push ecx
push 0x6785ac
call fcn.004ad773
add esp, 8
mov ecx, dword [ebp - 0x9dc]
call fcn.004af9d1
mov ecx, dword [ebp - 0x9dc]
call fcn.0048c5f0
mov ecx, dword [ebp - 0x9dc]
call fcn.004ae97a
mov ecx, dword [ebp - 0x9dc]
call fcn.004aaafd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9cc]
call fcn.004048d0
push 0x679058
call fcn.0054ce70
add esp, 4
mov dword [ebp - 0x778], eax
push 0x40
push 0
push 0x678884
call fcn.0054bf90
add esp, 0xc
mov dword [ebp - 0x420], 0
jmp 0x48db54
mov edx, dword [ebp - 0x420]
add edx, 1
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x778]
jge 0x48db7c
mov ecx, dword [ebp - 0x420]
mov edx, dword [ebp - 0x420]
mov al, byte [edx + 0x679058]
mov byte [ecx + 0x678884], al
jmp 0x48db45
push 0x678f58
call fcn.0054ce70
add esp, 4
mov dword [ebp - 0x778], eax
push 0xff
push 0
push 0x678d58
call fcn.0054bf90
add esp, 0xc
mov dword [ebp - 0x420], 0
jmp 0x48dbbe
mov ecx, dword [ebp - 0x420]
add ecx, 1
mov dword [ebp - 0x420], ecx
mov edx, dword [ebp - 0x420]
cmp edx, dword [0x673ba8]
jge 0x48dbe6
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x420]
mov dl, byte [ecx + 0x678e58]
mov byte [eax + 0x678d58], dl
jmp 0x48dbaf
push 0x6785ac
mov ecx, dword [ebp - 0x9dc]
call fcn.004ad3e0
mov ecx, dword [ebp - 0x9dc]
call fcn.005657e7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x59c]
call fcn.00441b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x774]
call fcn.00470620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret