Function at 0x4223e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e93d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b5200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], eax
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x5c], 1
mov dword [ebp - 4], 0
mov eax, dword [edi]
push 0x802
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x54], eax
mov dword [edi + 4], 0
call fcn.0046b90c
mov dword [edi], eax
xor ecx, ecx
add esp, 4
mov word [eax + 0x800], cx
mov eax, dword [edi]
mov word [eax], cx
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x42249d
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [edi]
mov edi, dword [ebx]
push 0x802
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x400
mov dword [ebx + 4], 0
call fcn.0046b90c
xor ecx, ecx
mov dword [ebx], eax
add esp, 4
mov word [eax + 0x800], cx
mov eax, dword [ebx]
mov word [eax], cx
test edi, edi
je 0x4224dc
push edi
call fcn.0046b303
add esp, 4
mov eax, dword [ebx]
push 0x802
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x400
mov dword [ebp - 0x60], 0
call fcn.0046b90c
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], edi
mov word [edi + 0x800], ax
mov word [edi], ax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x400
test esi, esi
je 0x422528
cmp word [esi], ax
je 0x422528
inc eax
cmp word [esi + eax*2], 0
jne 0x422520
lea ecx, [ebp - 0x4c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov byte [ebp - 0x4d], al
test al, al
je 0x422614
mov esi, dword [ebx + 4]
mov byte [ebp - 0x5c], 1
mov byte [ebx + 8], 0
test esi, esi
jne 0x42256b
mov eax, dword [ebx]
test eax, eax
je 0x422568
cmp word [eax], si
je 0x422568
nop dword [eax + eax]
inc esi
cmp word [eax + esi*2], 0
jne 0x422560
mov dword [ebx + 4], esi
xor eax, eax
cmp word [edi], ax
je 0x42257a
inc eax
cmp word [edi + eax*2], 0
jne 0x422572
add esi, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x58], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov ecx, dword [ebx]
add esp, 4
mov dword [ebp - 0x54], eax
mov edx, eax
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x4225ca
movzx ecx, word [ecx]
test cx, cx
je 0x4225ca
mov esi, dword [ebp - 0x68]
sub esi, eax
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x4225b6
mov esi, dword [ebp - 0x58]
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x4225f4
mov esi, edi
sub esi, edx
nop dword [eax + eax]
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x4225e0
mov esi, dword [ebp - 0x58]
xor eax, eax
mov word [edx], ax
mov eax, dword [ebx]
test eax, eax
je 0x422608
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov byte [ebx + 8], 1
mov ecx, dword [ebp - 0x6c]
mov ax, word [ebp - 0x34]
push edi
mov word [ecx], ax
call fcn.0046b303
mov al, byte [ebp - 0x4d]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b2f5
mov esp, ebp
pop ebp
ret 0xc