Function at 0x48bf10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc90
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x2148
push 0
push esi
call fcn.00467d60
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048ede0
add esp, 0x14
test eax, eax
je 0x48bf57
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea edx, [ebp - 0x30c]
push str.687474703A2F2F746F6F6C732E6176616E71756573742E636F6D2F41637469766174696F6E2F41637469766174696F6E2E617370
push edx
call fcn.004958e0
mov eax, str.687474703A2F2F746F6F6C732E6176616E71756573742E636F6D2F41637469766174696F6E2F41637469766174696F6E2E617370
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48bf73
sub eax, edx
shr eax, 1
mov byte [ebp + eax - 0x30c], cl
lea eax, [ebp - 0x20c]
push eax
push 1
push str.HasUrlRedirect
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x20c]
push ecx
push 0x100
lea edx, [esi + 0x804]
push edx
neg eax
push 0x4c2790
sbb eax, eax
push str.UrlRedirectText
neg eax
push str.General
mov dword [esi], eax
call edi
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jg 0x48c021
lea eax, [ebx + ebx]
call fcn.0046d9c0
mov eax, esp
mov dword [ebp - 0xc90], eax
test eax, eax
je 0x48c021
push ebx
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x30c]
xor ecx, ecx
push edx
push ecx
push 3
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, dword [ebp - 0xc90]
jmp 0x48c023
xor eax, eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x400
lea edx, [esi + 4]
push edx
push eax
push str.UrlRedirect
push str.General
call edi
lea eax, [ebp - 0x20c]
push eax
push 0x80
lea ecx, [esi + 0xa04]
push ecx
push 0x4c2790
push str.APTitle
push str.General
call edi
lea edx, [ebp - 0x20c]
push edx
push 0x100
lea eax, [esi + 0xb04]
push eax
push 0x4c2790
push str.APMessage
push str.General
call edi
lea ecx, [ebp - 0x20c]
push ecx
push 0x100
lea edx, [esi + 0xd04]
push edx
push 0x4c2790
push str.BLMessage
push str.General
call edi
push 0x40
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x48c]
push 0x80
push ecx
call fcn.00490460
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
push 0x100
lea eax, [esi + 0xf04]
push eax
lea ecx, [ebp - 0x48c]
push ecx
push str.APProductName
push str.General
call edi
lea edx, [ebp - 0x20c]
push edx
push 0x20
lea eax, [esi + 0x1104]
push eax
lea ecx, [ebp - 0x38c]
push ecx
push str.APProductVersion
push str.General
call edi
lea edx, [ebp - 0x20c]
push edx
push 0x400
lea ebx, [esi + 0x1144]
push ebx
push 0x4c2790
push str.APAppPath
push str.General
call edi
cmp word [ebx], 0
je 0x48c1e2
lea edx, [ebp - 0xc8c]
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x48c150
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xc8c]
push ecx
call fcn.0048ec20
add esp, 8
test eax, eax
je 0x48c1dd
lea eax, [ebp - 0xc8c]
mov edx, eax
sub ebx, edx
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x48c183
lea eax, [ebp - 0x20c]
push eax
push 0x400
lea ecx, [esi + 0x1944]
push ecx
push 0x4c2790
push str.APCmdLine
push str.General
call edi
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x4c5658
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x2144], eax
jmp 0x48c1e2
xor eax, eax
mov word [ebx], ax
lea esp, [ebp - 0xc9c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret