Function at 0x48b970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc90
mov eax, dword [0x4cd724]
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.004677c0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0048e840
add esp, 0x14
test eax, eax
je 0x48b9b7
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea edx, [ebp - 0x30c]
push str.687474703A2F2F746F6F6C732E6176616E71756573742E636F6D2F41637469766174696F6E2F41637469766174696F6E2E617370
push edx
call fcn.00495340
mov eax, str.687474703A2F2F746F6F6C732E6176616E71756573742E636F6D2F41637469766174696F6E2F41637469766174696F6E2E617370
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48b9d3
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 0x4c1540
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 0x48ba81
lea eax, [ebx + ebx]
call fcn.0046d420
mov eax, esp
mov dword [ebp - 0xc90], eax
test eax, eax
je 0x48ba81
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 0x48ba83
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 0x4c1540
push str.APTitle
push str.General
call edi
lea edx, [ebp - 0x20c]
push edx
push 0x100
lea eax, [esi + 0xb04]
push eax
push 0x4c1540
push str.APMessage
push str.General
call edi
lea ecx, [ebp - 0x20c]
push ecx
push 0x100
lea edx, [esi + 0xd04]
push edx
push 0x4c1540
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.0048fed0
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 0x4c1540
push str.APAppPath
push str.General
call edi
cmp word [ebx], 0
je 0x48bc42
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 0x48bbb0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xc8c]
push ecx
call fcn.0048e680
add esp, 8
test eax, eax
je 0x48bc3d
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 0x48bbe3
lea eax, [ebp - 0x20c]
push eax
push 0x400
lea ecx, [esi + 0x1944]
push ecx
push 0x4c1540
push str.APCmdLine
push str.General
call edi
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x4c4408
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x2144], eax
jmp 0x48bc42
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.004677af
mov esp, ebp
pop ebp
ret