Function at 0x417d70
Capabilities:
Create http request
Read .ini file

Disassembly:
sub esp, 0xc4
push ebx
push ebp
mov ebp, dword [esp + 0xd0]
push esi
push edi
push ebp
mov dword [esp + 0x14], 0
call fcn.004039d0
push 0
push ebp
mov dword [esp + 0x24], eax
call fcn.00401df0
mov ecx, dword [0x42d3c4]
add esp, 0xc
cmp eax, ecx
jge 0x417dbe
push ebp
push 0x91a580
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, 1
jmp 0x418032
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x42728c
push ebp
lea esi, [ebp - 3]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add eax, esi
push eax
call ebx
test eax, eax
jne 0x417f53
push 0x428cdc
push ebp
call fcn.0041c19c
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x417eca
test edi, edi
jne 0x417ed2
push edi
push edi
push edi
push edi
push str.InetAll
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x418078
push 0
push Ordinal_2
push 0
push 0
push ebp
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
jne 0x417e4e
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.004181a0
add esp, 8
test eax, eax
je 0x417eb9
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, 0x91a580
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00401df0
mov ecx, dword [0x42d3c4]
add esp, 8
cmp eax, ecx
jge 0x417ea3
lea edx, [esp + 0x34]
push edx
push esi
call edi
mov edx, dword [esp + 0x10]
add esi, 0xa0
inc edx
cmp esi, 0x942580
mov dword [esp + 0x10], edx
jge 0x417eb5
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.004181a0
add esp, 8
test eax, eax
jne 0x417e6b
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
jmp 0x418028
test edi, edi
je 0x418078
lea ecx, [esp + 0x34]
push ecx
push 0x428cd8
push edi
call fcn.0041c166
add esp, 0xc
cmp eax, 0xffffffff
je 0x417f45
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, 0x91a580
lea edx, [esp + 0x34]
push 0
push edx
call fcn.00401df0
mov ecx, dword [0x42d3c4]
add esp, 8
cmp eax, ecx
jge 0x417f2d
lea eax, [esp + 0x34]
push eax
push esi
call ebx
mov edx, dword [esp + 0x10]
add esi, 0xa0
inc edx
cmp esi, 0x942580
mov dword [esp + 0x10], edx
jge 0x417f45
lea ecx, [esp + 0x34]
push ecx
push 0x428cd8
push edi
call fcn.0041c166
add esp, 0xc
cmp eax, 0xffffffff
jne 0x417ef5
push edi
call fcn.0041c110
add esp, 4
jmp 0x418028
push 0x427288
push ebp
call edi
add eax, esi
push eax
call ebx
test eax, eax
jne 0x418078
mov edx, dword [str.File_1d]
mov eax, dword [0x428cd4]
xor esi, esi
push ebp
push esi
push str.NumberOfEntries
push str.playlist
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov word [esp + 0x34], si
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x418078
jle 0x418078
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x91a580
inc esi
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x2c]
push ecx
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x34]
lea ecx, [esp + 0x28]
push ebp
push 0xa0
push eax
push 0x82d6c0
push ecx
push str.playlist
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x418022
lea edx, [esp + 0x34]
push 0
push edx
call fcn.00401df0
mov ecx, dword [0x42d3c4]
add esp, 8
cmp eax, ecx
jge 0x418022
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x10]
add edi, 0xa0
inc edx
cmp edi, 0x942580
mov dword [esp + 0x10], edx
jge 0x418028
cmp esi, dword [esp + 0x14]
jl 0x417fb1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x418078
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x418043
push ebp
call fcn.00418090
add esp, 4
call fcn.00417410
mov dword [0x830818], esi
mov dword [0x88e0dc], 0
mov byte [0x830815], 0
mov dword [0x82f2f4], 1
mov dword [0x428ca8], 0x70
call fcn.00417430
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret