Function at 0x48a07c
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0xd4c
lea ebp, [esp - 4]
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp + 0xd4c], eax
push 0x34
mov eax, 0x4bc7d6
call fcn.00441d06
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
xor ecx, ecx
and dword [ebp - 0x1c], 0
inc ecx
mov ebx, dword [ebp + 0xd58]
test dword [eax + 0x113], 0x4000
jne 0x48a7b5
test ebx, ebx
je 0x48a7dd
push ebx
call fcn.00447230
pop ecx
mov ecx, 0x1f4
cmp ax, cx
ja 0x48a7dd
cmp dword [edi + 0x14], 0
sete al
test al, al
jne 0x48a7dd
lea eax, [ebp + 0x430]
push eax
call fcn.00465e1a
lea ecx, [ebp]
mov dword [esp], 0x4e7988
call fcn.004082c1
and dword [ebp - 4], 0
lea eax, [ebp + 0x18]
push ebx
push eax
lea ecx, [ebp]
call fcn.004084de
push eax
lea ecx, [ebp]
call fcn.00408388
xor ecx, ecx
inc ecx
push 0
push ecx
lea ecx, [ebp + 0x18]
call fcn.0040758b
lea ecx, [ebp + 0x18]
call fcn.00408368
xor eax, eax
lea ecx, [edi + 4]
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x34]
push eax
call fcn.0047833e
mov ecx, eax
call fcn.00478228
mov ecx, eax
call fcn.00489284
movzx eax, ax
push eax
lea eax, [ebp + 0x18]
push str.P__word__5
push eax
call fcn.00409029
add esp, 0xc
lea edx, [ebp + 0x430]
cmp dword [ebp + 0x2c], 0x10
lea ecx, [ebp + 0x18]
lea eax, [ebp]
cmovae ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x14], 0x10
push edx
cmovae eax, dword [ebp]
lea edx, [ebp + 0x30]
push 0x400
push edx
push 0x4c060e
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x30]
push eax
call fcn.00447230
pop ecx
push 1
xor esi, esi
mov byte [ebp - 4], 0
test ax, ax
lea ecx, [ebp + 0x18]
pop eax
push 0
push eax
cmovne esi, eax
call fcn.0040758b
test si, si
jne 0x48a30c
mov eax, dword [edi]
test dword [eax + 0x113], 0x2000
jne 0x48a277
lea ecx, [ebp + 0x18]
call fcn.00408368
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
lea esi, [edi + 4]
push eax
mov ecx, esi
call fcn.0047833e
mov ecx, eax
call fcn.00478228
mov ecx, eax
call fcn.00489284
movzx eax, ax
push eax
push ebx
lea eax, [ebp + 0x18]
push str._str___word__5_POS
push eax
call fcn.00408abf
add esp, 0x10
lea ecx, [ebp + 0x430]
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push ecx
push 0x400
lea ecx, [ebp + 0x30]
push ecx
push 0x4c060e
push eax
push str.RBAR
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x30]
push eax
call fcn.00447230
pop ecx
test ax, ax
jne 0x48a263
push ebx
mov ecx, edi
call fcn.0048b23c
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp + 0x18]
push eax
call fcn.0040758b
jmp 0x48a27a
lea esi, [edi + 4]
lea ecx, [ebp + 0x18]
call fcn.00408368
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.0047833e
mov ecx, eax
call fcn.00478228
mov ecx, eax
call fcn.00489284
movzx eax, ax
push eax
push ebx
lea eax, [ebp + 0x18]
push str._str___word__5_POS
push eax
call fcn.00408abf
add esp, 0x10
lea ecx, [ebp + 0x430]
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push ecx
push 0x400
lea ecx, [ebp + 0x30]
push ecx
push 0x4c060e
push eax
push str.RBAR
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x30]
push eax
call fcn.00447230
pop ecx
test ax, ax
je 0x48a2f8
push ebx
mov ecx, edi
call fcn.0048aca1
xor eax, eax
mov byte [ebp - 4], 0
push 0
inc eax
lea ecx, [ebp + 0x18]
push eax
call fcn.0040758b
jmp 0x48a30f
lea esi, [edi + 4]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0047833e
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00440e34
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [ebp - 0x2c]
je 0x48a576
mov edi, dword [ebp - 0x28]
mov esi, 0x400
push esi
lea eax, [ebp + 0x94c]
push 0
push eax
call fcn.00443240
add esp, 0xc
lea ecx, [ebp + 0x18]
call fcn.00408368
mov byte [ebp - 4], 4
test edi, edi
jne 0x48a35f
xor eax, eax
jmp 0x48a361
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov ecx, dword [eax + ecx*4]
call fcn.00489284
movzx eax, ax
push eax
lea eax, [ebp + 0x18]
push str.P__word__5
push eax
call fcn.00408abf
add esp, 0xc
lea edx, [ebp + 0x430]
cmp dword [ebp + 0x2c], 0x10
lea ecx, [ebp + 0x18]
lea eax, [ebp]
cmovae ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x14], 0x10
push edx
cmovae eax, dword [ebp]
lea edx, [ebp + 0x94c]
push esi
push edx
push 0x4c060e
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x94c]
push eax
call fcn.00447230
pop ecx
test ax, ax
je 0x48a493
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x94c]
push 5
push eax
call fcn.00409892
add esp, 0xc
test ax, ax
jne 0x48a555
mov eax, 0xffff
cmp word [ebp - 0x14], ax
jne 0x48a434
test edi, edi
jne 0x48a404
xor eax, eax
jmp 0x48a406
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov ecx, dword [eax + ecx*4]
test edi, edi
jne 0x48a41a
xor eax, eax
jmp 0x48a41c
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
dec edx
and edx, ebx
mov esi, dword [eax + edx*4]
call fcn.004891dc
xor ecx, ecx
inc ecx
or eax, ecx
jmp 0x48a468
test edi, edi
jne 0x48a43c
xor eax, eax
jmp 0x48a43e
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov ecx, dword [eax + ecx*4]
test edi, edi
jne 0x48a452
xor eax, eax
jmp 0x48a454
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
dec edx
and edx, ebx
mov esi, dword [eax + edx*4]
call fcn.004891dc
and eax, 0xfffffffe
push eax
mov ecx, esi
call fcn.0048c5fb
test edi, edi
jne 0x48a478
xor eax, eax
jmp 0x48a47a
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
push dword [ebp - 0x14]
and ecx, ebx
mov ecx, dword [eax + ecx*4]
call fcn.0048c605
mov esi, 0x400
push esi
lea eax, [ebp + 0x94c]
push 0
push eax
call fcn.00443240
add esp, 0xc
test edi, edi
jne 0x48a4ad
xor eax, eax
jmp 0x48a4af
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebx
mov ecx, dword [eax + ecx*4]
call fcn.00489284
movzx eax, ax
push eax
lea eax, [ebp + 0x18]
push str.W__word__5
push eax
call fcn.00409029
add esp, 0xc
lea edx, [ebp + 0x430]
cmp dword [ebp + 0x2c], 0x10
lea ecx, [ebp + 0x18]
lea eax, [ebp]
cmovae ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x14], 0x10
push edx
cmovae eax, dword [ebp]
lea edx, [ebp + 0x94c]
push esi
push edx
push 0x4c060e
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x94c]
push eax
call fcn.00447230
pop ecx
test ax, ax
je 0x48a555
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x94c]
push 5
push eax
call fcn.00409892
add esp, 0xc
test ax, ax
jne 0x48a555
test edi, edi
jne 0x48a53f
xor eax, eax
jmp 0x48a541
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
push dword [ebp - 0x14]
and ecx, ebx
mov ecx, dword [eax + ecx*4]
call fcn.0048c770
xor eax, eax
mov byte [ebp - 4], 0
push eax
inc eax
lea ecx, [ebp + 0x18]
push eax
call fcn.0040758b
inc ebx
cmp ebx, dword [ebp - 0x2c]
jne 0x48a339
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
cmp dword [edi + 0x14], 0
lea ebx, [edi + 4]
je 0x48a63a
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0047833e
mov esi, eax
lea ecx, [ebp - 0x28]
push esi
call fcn.0042a1a6
mov esi, dword [esi + 8]
mov dword [ebp - 0x20], esi
cmp esi, dword [ebp - 0x2c]
je 0x48a5e2
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne 0x48a5b6
xor ecx, ecx
jmp 0x48a5b8
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
dec eax
and eax, esi
mov ecx, dword [ecx + eax*4]
call fcn.004891dc
test al, 1
jne 0x48a5ce
inc edi
inc esi
cmp esi, dword [ebp - 0x2c]
jne 0x48a5ae
test di, di
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x18]
lea ebx, [edi + 4]
jne 0x48a63a
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0047833e
push 0
mov ecx, eax
call fcn.00478228
mov ecx, eax
call fcn.0048c605
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0047833e
mov ecx, eax
call fcn.00478228
mov esi, eax
mov ecx, ebx
lea eax, [ebp + 0x24]
push eax
call fcn.0047833e
mov ecx, esi
mov edi, eax
call fcn.004891dc
and eax, 0xfffffffe
mov ecx, edi
push eax
call fcn.00478228
mov ecx, eax
call fcn.0048c5fb
mov edi, dword [ebp - 0x18]
mov eax, dword [edi]
test dword [eax + 0x113], 0x400
je 0x48a7a4
cmp dword [ebp + 0x14], 0x10
lea ecx, [ebp + 0x430]
push ecx
push 0xffffffffffffffff
lea eax, [ebp]
cmovae eax, dword [ebp]
push 0x4c0158
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48a68d
lea eax, [ebp + 0x1c]
mov ecx, edi
push eax
call fcn.004899af
xor ecx, ecx
inc ecx
cmp dword [eax + 0x10], 0
je 0x48a690
mov byte [ebp - 0xd], 0
jmp 0x48a696
mov ecx, dword [ebp - 0x1c]
xor eax, eax
inc eax
mov byte [ebp - 0xd], al
test cl, 1
je 0x48a6a3
lea ecx, [ebp + 0x1c]
call fcn.0045b0b8
cmp byte [ebp - 0xd], 0
je 0x48a7a4
xor ecx, ecx
movzx eax, si
test esi, esi
cmovs eax, ecx
cmp dword [ebp + 0x14], 0x10
movzx eax, ax
lea ecx, [ebp + 0x430]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp]
cmovae eax, dword [ebp]
push 0
push 0x4c015c
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [edi + 0x14], 0
mov byte [ebp - 0x18], al
je 0x48a7a4
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.0047833e
mov esi, eax
lea ecx, [ebp - 0x28]
push esi
call fcn.0042a1a6
mov edi, dword [esi + 8]
cmp edi, dword [ebp - 0x2c]
je 0x48a7a4
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x1c]
test esi, esi
jne 0x48a71a
xor ecx, ecx
jmp 0x48a71c
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
dec eax
and eax, edi
mov ecx, dword [ecx + eax*4]
call fcn.00489284
cmp ax, bx
jne 0x48a760
test esi, esi
jne 0x48a73a
xor ecx, ecx
jmp 0x48a73c
mov ecx, dword [esi]
xor eax, eax
inc eax
push eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
dec eax
and eax, edi
mov ecx, dword [ecx + eax*4]
call fcn.0048c766
test esi, esi
jne 0x48a759
xor ecx, ecx
jmp 0x48a75b
mov ecx, dword [esi]
push dword [ebp - 0x18]
jmp 0x48a789
test esi, esi
jne 0x48a768
xor ecx, ecx
jmp 0x48a76a
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
dec eax
and eax, edi
push 0
mov ecx, dword [ecx + eax*4]
call fcn.0048c766
test esi, esi
jne 0x48a785
xor ecx, ecx
jmp 0x48a787
mov ecx, dword [esi]
push 0
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
dec eax
and eax, edi
mov ecx, dword [ecx + eax*4]
call fcn.0048c75c
inc edi
cmp edi, dword [ebp - 0x2c]
jne 0x48a712
xor eax, eax
lea ecx, [ebp]
push 0
inc eax
push eax
call fcn.0040758b
xor ecx, ecx
inc ecx
mov ax, cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd4c]
xor ecx, ebp
call fcn.00441a5e
lea esp, [ebp + 0xd50]
pop ebp
ret 4
xor eax, eax
jmp 0x48a7b8