Function at 0x421762
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.00409baf
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.00409baf
mov edi, eax
mov eax, dword [esi]
add edi, 0x10
xor esi, esi
mov dword [ebp - 8], edi
cmp dword [eax - 0xc], esi
jne 0x4219ab
push 0x3c
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.004302c0
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, 0x456f60
test eax, eax
jne 0x4217f8
mov esi, dword [ebp + 8]
call fcn.00402131
lea eax, [edi - 0x10]
call fcn.004046b1
lea eax, [ebx - 0x10]
call fcn.004046b1
mov eax, esi
jmp 0x421a28
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
lea esi, [ebp + 0x10]
call fcn.00409169
cmp dword [ebp - 0x3c], 5
mov edx, dword [ebp + 0x10]
mov eax, dword [edx - 0xc]
push 0x2f
pop esi
jne 0x421818
push 0x5c
pop esi
test eax, eax
jle 0x42184b
lea ecx, [eax - 1]
test ecx, ecx
jl 0x42188f
cmp ecx, eax
jg 0x42188f
cmp word [edx + ecx*2], si
jne 0x42184b
lea edx, [ebp - 0xc]
lea eax, [ebp + 0x10]
call fcn.00408d6f
lea edi, [ebp + 0x10]
call fcn.004088ee
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
push esi
lea esi, [ebp + 0x10]
call fcn.00408c62
mov esi, eax
test esi, esi
jl 0x421885
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.00410262
lea edi, [ebp - 4]
call fcn.004088ee
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
mov ebx, dword [ebp - 4]
cmp dword [ebp - 0x3c], 3
jne 0x421899
push 0x3f
jmp 0x4218a1
push 0x80070057
call fcn.0040468d
cmp dword [ebp - 0x3c], 1
jne 0x4218ad
push 0x3b
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c07
mov esi, eax
test esi, esi
jle 0x4218c0
mov ecx, esi
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00408d6f
jmp 0x42193a
jne 0x42194d
mov ebx, dword [ebx - 0xc]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.00410262
lea edi, [ebp - 4]
call fcn.004088ee
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
push 0x26
xor ecx, ecx
mov esi, edi
call fcn.00408c07
test eax, eax
jle 0x421916
mov ecx, eax
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.00408d6f
call fcn.004088ee
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
push 0x3d
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c07
test eax, eax
jle 0x42194d
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.00410262
lea edi, [ebp - 4]
call fcn.004088ee
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004046b1
lea eax, [ebp - 4]
push eax
call fcn.0040a3c0
lea eax, [ebp - 0xc]
mov dword [esp], 0x451594
call fcn.004045e3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00409f8b
pop ecx
push 0x2e
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c07
mov esi, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x421992
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.00402383
lea eax, [esi - 0x10]
call fcn.004046b1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004046b1
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
push 0x3a
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00408c07
test eax, eax
jle 0x4219dc
add ebx, 0xfffffff0
mov eax, ebx
call fcn.00409baf
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
call fcn.004046b1
mov eax, ebx
jmp 0x4217ec
cmp dword [edi - 0xc], 0
je 0x4219f7
lea esi, [ebp - 8]
call fcn.00409c29
push dword [ebx - 0xc]
mov eax, esi
push ebx
call fcn.00402383
jmp 0x421a02
lea eax, [ebp - 4]
lea edi, [ebp - 8]
call fcn.004088ee
mov esi, dword [ebp - 8]
add esi, 0xfffffff0
mov eax, esi
call fcn.00409baf
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.004046b1
lea eax, [ebx - 0x10]
call fcn.004046b1
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret