Function at 0x4042a0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2480
call fcn.004b6c70
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x3c
lea eax, [ebp - 0x2480]
mov esi, ecx
push 0
push eax
call fcn.0049aba0
xor eax, eax
mov dword [ebp - 0x2480], 0x3c
push 0x3e
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
mov dword [ebp - 0x2478], 0x20
mov dword [ebp - 0x246c], 0x100
mov dword [ebp - 0x2450], 0x800
mov dword [ebp - 0x2448], 0x800
call fcn.0049aba0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x247c], eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x442]
push eax
call fcn.0049aba0
lea eax, [ebp - 0x444]
mov dword [ebp - 0x2470], eax
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1444], ax
lea eax, [ebp - 0x1442]
push eax
call fcn.0049aba0
lea eax, [ebp - 0x1444]
mov dword [ebp - 0x2454], eax
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x2444], ax
lea eax, [ebp - 0x2442]
push eax
call fcn.0049aba0
lea eax, [ebp - 0x2444]
mov dword [ebp - 0x244c], eax
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x242]
push eax
call fcn.0049aba0
add esp, 0x48
lea eax, [ebp - 0x244]
mov dword [ebp - 0x2464], eax
xor eax, eax
mov word [ebp - 0x144], ax
push 0xfe
push eax
lea eax, [ebp - 0x142]
push eax
call fcn.0049aba0
lea eax, [ebp - 0x144]
add esp, 0xc
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x245c], eax
lea eax, [esi + 4]
jb 0x4043eb
mov eax, dword [eax]
lea ecx, [ebp - 0x2480]
push ecx
push 0
push dword [esi + 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x40451a
mov edx, dword [ebp - 0x2470]
mov eax, dword [ebp - 0x2474]
mov dword [esi + 0x98], eax
push edi
cmp word [edx], 0
jne 0x404423
xor ecx, ecx
jmp 0x40443f
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x404430
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404430
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00402710
mov edx, dword [ebp - 0x2464]
movzx eax, word [ebp - 0x2468]
mov dword [esi + 0x94], eax
cmp word [edx], 0
jne 0x404466
xor ecx, ecx
jmp 0x40447f
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x404470
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404470
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x34]
call fcn.00402710
mov edx, dword [ebp - 0x245c]
cmp word [edx], 0
jne 0x404499
xor ecx, ecx
jmp 0x4044af
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4044a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x4c]
call fcn.00402710
mov edx, dword [ebp - 0x2454]
cmp word [edx], 0
jne 0x4044c9
xor ecx, ecx
jmp 0x4044df
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4044d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x64]
call fcn.00402710
mov edx, dword [ebp - 0x244c]
cmp word [edx], 0
jne 0x4044f9
xor ecx, ecx
jmp 0x40450f
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404500
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x7c]
call fcn.00402710
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00494c10
mov esp, ebp
pop ebp
ret