Function at 0x4b2d50
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x166c
call fcn.00495c50
push ebx
push ebp
mov edx, dword [esp + 0x1678]
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x18], esi
mov ebx, dword [esi + 0x60c]
cmp ebx, ebp
je 0x4b2daf
cmp edx, ebp
jle 0x4b2d96
cmp edx, 0xc350
jge 0x4b2d96
mov eax, dword [esi + edx*4 + 0xc50]
cmp eax, ebp
je 0x4b2daf
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x4b2daf
cmp edx, 0x4190ab00
jl 0x4b2daf
mov eax, dword [esi + edx*4 - 0x63f9270]
cmp eax, ebp
je 0x4b2daf
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x226]
mov word [esp + 0x224], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
test eax, eax
je 0x4b2fb5
mov eax, dword [esi + 0x14]
mov ecx, 2
cmp eax, ecx
jne 0x4b2fb5
cmp edx, ebp
je 0x4b2fb5
cmp edx, ecx
jne 0x4b2e1b
add esi, 0x3d0
lea ecx, [esp + 0x224]
push esi
push 0x4de3ac
push 0x102
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x4b2fb5
cmp ebx, ebp
je 0x4b2fb5
cmp edx, ebp
jle 0x4b2e40
cmp edx, 0xc350
jge 0x4b2e40
mov eax, dword [esi + edx*4 + 0xc50]
cmp eax, ebp
je 0x4b2fb5
jmp 0x4b2e5b
cmp edx, 0x4190ab00
jl 0x4b2fb5
mov eax, dword [esi + edx*4 - 0x63f9270]
cmp eax, ebp
je 0x4b2fb5
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4b2fb5
cmp eax, dword [esi + 0x624]
jge 0x4b2fb5
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 7
add eax, ebx
cmp eax, ebp
je 0x4b2fb5
cmp dword [eax], edx
jne 0x4b2fb5
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ebp
cmp edx, ecx
jne 0x4b2ea0
mov dword [esp + 0x10], 1
mov ebx, dword [eax]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42e]
mov word [esp + 0x42c], bp
cmp ebx, 2
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x4b2f49
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
jmp 0x4b2ed1
mov esi, dword [esp + 0x18]
push ebx
mov ecx, esi
call fcn.004b1710
cmp eax, 0xffffffff
je 0x4b2fb3
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea edi, [esp + 0x1e]
lea edx, [esp + 0x42c]
mov ebx, dword [ecx + 0x60c]
lea esi, [eax + eax*4]
shl esi, 7
add esi, ebx
mov ecx, 0x81
xor eax, eax
push edx
mov ebx, dword [esi + 8]
mov word [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push 0x4de3ac
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x1c]
add esi, 0x48
lea edx, [esp + 0x42c]
push ecx
push esi
push str._s_s
push edx
call ebp
add esp, 0x10
cmp ebx, 2
jne 0x4b2ecd
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.004b7b80
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.004c5370
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, ebp
lea edx, [esp + 0x42c]
lea eax, [esp + 0x1c]
push edx
push eax
je 0x4b2f96
push 0x4de7b4
jmp 0x4b2f9b
push str._s_s.url
lea ecx, [esp + 0x230]
push 0x102
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x4b2fb5
xor ebp, ebp
lea edx, [esp + 0x224]
mov dword [esp + 0x14], ebp
push edx
push ebp
push str.IconIndex
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x636]
mov word [esp + 0x634], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
lea ecx, [esp + 0x634]
push eax
push 0x823
push ecx
push 0x4f04e0
push str.IconFile
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x634]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4b3041
push eax
lea eax, [esp + 0x18]
push eax
push ebp
lea ecx, [esp + 0x640]
push esi
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x166c
ret 4