Function at 0x4719c8
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404dd0
mov eax, dword [ebp - 8]
call fcn.00404dd0
xor eax, eax
push ebp
push 0x471c84
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 4]
call fcn.00404974
mov dword [ebp - 0x4c], 0x3c
mov eax, dword [ebx + 0x18]
call fcn.00404be0
mov esi, eax
mov eax, 0x15
call fcn.004027b4
mov dword [ebp - 0x48], eax
lea edi, [esi + 1]
mov eax, edi
call fcn.004027b4
mov dword [ebp - 0x3c], eax
mov eax, edi
call fcn.004027b4
mov dword [ebp - 0x30], eax
mov eax, edi
call fcn.004027b4
mov dword [ebp - 0x28], eax
mov eax, edi
call fcn.004027b4
mov dword [ebp - 0x20], eax
mov eax, edi
call fcn.004027b4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 0x14
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x4c]
push eax
push 0x90000000
mov eax, dword [ebx + 0x18]
call fcn.00404be0
push eax
mov eax, dword [ebx + 0x18]
call fcn.00404de0
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebx + 0x30], al
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x3c]
call fcn.00404b18
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x30]
call fcn.00404b18
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x28]
call fcn.00404b18
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00404b18
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x18]
call fcn.00404b18
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x48]
call fcn.00404b18
movzx eax, word [ebp - 0x34]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x20]
call fcn.00404b18
mov edx, dword [ebp - 0xc]
mov al, 0x2f
call fcn.0046af04
mov esi, eax
cmp esi, 1
jle 0x471b5f
mov eax, dword [ebp - 0xc]
call fcn.00404be0
cmp esi, eax
jg 0x471b5f
lea eax, [ebp - 0x50]
push eax
lea edx, [esi + 1]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0xc]
call fcn.00404e40
mov edx, dword [ebp - 0x50]
mov eax, 0x471c9c
call fcn.00404f24
test eax, eax
jne 0x471b4a
lea eax, [ebp - 0xc]
mov edx, 0x471ca8
call fcn.00404be8
jmp 0x471b6c
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404e40
jmp 0x471b6c
lea eax, [ebp - 0xc]
mov edx, 0x471ca8
call fcn.004049b8
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404974
cmp dword [ebx + 0x24], 0
jne 0x471b8a
lea eax, [ebx + 0x24]
mov edx, 0x471ca8
call fcn.00404974
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
call fcn.00404b18
mov edx, dword [ebp - 0x10]
mov al, 0x2e
call fcn.0046af04
mov esi, eax
cmp esi, 1
jle 0x471bea
lea eax, [ebx + 0x2c]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404e40
mov edx, dword [ebx + 0x2c]
mov al, 0x2e
call fcn.0046af04
mov esi, eax
test esi, esi
jle 0x471bea
mov eax, dword [ebp - 0x10]
call fcn.00404be0
cmp esi, eax
jge 0x471bea
lea eax, [ebx + 0x2c]
push eax
lea edx, [esi + 1]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x10]
call fcn.00404e40
cmp dword [ebp - 8], 0
je 0x471c21
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x3c]
call fcn.00404b18
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
call fcn.00404be8
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.0046afb4
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x1c]
call fcn.00404974
jmp 0x471c29
lea eax, [ebx + 0x1c]
call fcn.00404920
mov eax, dword [ebp - 0x48]
call fcn.004027d4
mov eax, dword [ebp - 0x3c]
call fcn.004027d4
mov eax, dword [ebp - 0x30]
call fcn.004027d4
mov eax, dword [ebp - 0x28]
call fcn.004027d4
mov eax, dword [ebp - 0x20]
call fcn.004027d4
mov eax, dword [ebp - 0x18]
call fcn.004027d4
mov bl, byte [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471c8b
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404944
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404944
ret