Function at 0x4220a7
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
push edi
sub eax, 0x10
call fcn.00409cf0
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add ebx, 0x10
sub eax, 0x10
mov dword [ebp - 4], ebx
call fcn.00409cf0
mov edi, eax
mov eax, dword [esi]
add edi, 0x10
xor esi, esi
mov dword [ebp - 8], edi
cmp dword [eax - 0xc], esi
jne 0x4222f0
push 0x3c
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00430790
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push esi
push esi
push eax
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x48], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov ecx, 0x457fa0
test eax, eax
jne 0x42213d
mov esi, dword [ebp + 8]
call fcn.00402110
lea eax, [edi - 0x10]
call fcn.0040469f
lea eax, [ebx - 0x10]
call fcn.0040469f
mov eax, esi
jmp 0x42236d
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
lea esi, [ebp + 0x10]
call fcn.00409276
cmp dword [ebp - 0x3c], 5
mov edx, dword [ebp + 0x10]
mov eax, dword [edx - 0xc]
push 0x2f
pop esi
jne 0x42215d
push 0x5c
pop esi
test eax, eax
jle 0x422190
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4221d4
cmp ecx, eax
jg 0x4221d4
cmp word [edx + ecx*2], si
jne 0x422190
lea edx, [ebp - 0xc]
lea eax, [ebp + 0x10]
call fcn.00408df0
lea edi, [ebp + 0x10]
call fcn.0040896f
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040469f
push esi
lea esi, [ebp + 0x10]
call fcn.00408ce3
mov esi, eax
test esi, esi
jl 0x4221ca
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0xc]
sub ecx, esi
push eax
dec ecx
lea eax, [ebp + 0x10]
call fcn.00410531
lea edi, [ebp - 4]
call fcn.0040896f
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040469f
mov ebx, dword [ebp - 4]
cmp dword [ebp - 0x3c], 3
jne 0x4221de
push 0x3f
jmp 0x4221e6
push 0x80070057
call fcn.0040467b
cmp dword [ebp - 0x3c], 1
jne 0x4221f2
push 0x3b
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c88
mov esi, eax
test esi, esi
jle 0x422205
mov ecx, esi
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00408df0
jmp 0x42227f
jne 0x422292
mov ebx, dword [ebx - 0xc]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.00410531
lea edi, [ebp - 4]
call fcn.0040896f
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040469f
push 0x26
xor ecx, ecx
mov esi, edi
call fcn.00408c88
test eax, eax
jle 0x42225b
mov ecx, eax
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.00408df0
call fcn.0040896f
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040469f
push 0x3d
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c88
test eax, eax
jle 0x422292
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
lea eax, [ebp - 0xc]
push eax
dec ecx
mov eax, esi
call fcn.00410531
lea edi, [ebp - 4]
call fcn.0040896f
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040469f
lea eax, [ebp - 4]
push eax
call fcn.0040a4f0
lea eax, [ebp - 0xc]
mov dword [esp], 0x452b5c
call fcn.004045c6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0040a0cc
pop ecx
push 0x2e
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c88
mov esi, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x4222d7
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.00402357
lea eax, [esi - 0x10]
call fcn.0040469f
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040469f
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
push 0x3a
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c88
test eax, eax
jle 0x422321
add ebx, 0xfffffff0
mov eax, ebx
call fcn.00409cf0
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
call fcn.0040469f
mov eax, ebx
jmp 0x422131
cmp dword [edi - 0xc], 0
je 0x42233c
lea esi, [ebp - 8]
call fcn.00409d6a
push dword [ebx - 0xc]
mov eax, esi
push ebx
call fcn.00402357
jmp 0x422347
lea eax, [ebp - 4]
lea edi, [ebp - 8]
call fcn.0040896f
mov esi, dword [ebp - 8]
add esi, 0xfffffff0
mov eax, esi
call fcn.00409cf0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.0040469f
lea eax, [ebx - 0x10]
call fcn.0040469f
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret