Function at 0x50db6c
Capabilities:
Parse url

Disassembly:
push edi
push esi
push ebx
push ecx
mov eax, 0x40
call fcn.006021b0
mov ecx, dword [esp + 0x40]
mov ebx, ecx
mov edi, dword [esp + 0x54]
mov dword [esp], 1
lea edx, [esp + 4]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], eax
mov dword [esp + 4], 0x3c
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], edx
mov eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
lea esi, [esp]
push edx
push esi
push eax
push dword [edi]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov ecx, dword [esp]
inc ecx
call fcn.004dbf60
mov esi, eax
lea eax, [esp]
push 0
push eax
push esi
push dword [edi]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov eax, dword [esp]
mov byte [esi + eax], 0
mov ecx, dword [edi]
call fcn.004dbc10
mov ecx, edi
mov edx, esi
call fcn.004ee018
mov ecx, esi
call fcn.004dbc10
mov edi, dword [edi]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x50dc5a
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x50dc52
lea edx, [esp + 4]
push edx
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x50dd67
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x50dc81
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0xc]
test edx, edx
je 0x50dca6
mov eax, dword [esp + 8]
test eax, eax
je 0x50dca6
cmp edx, 4
jne 0x50dc9f
mov dword [ebx + 0x36], 0
jmp 0x50dca6
mov dword [ebx + 0x36], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x50dcbf
mov edx, dword [esp + 0x14]
test edx, edx
je 0x50dcbf
lea ecx, [ebx + 0x18]
push eax
call fcn.004ececc
movzx eax, word [esp + 0x1c]
mov word [ebx + 0x30], ax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x50dce1
mov edx, dword [esp + 0x20]
test edx, edx
je 0x50dce1
lea ecx, [ebx + 0x1c]
push eax
call fcn.004ececc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x50dcfa
mov edx, dword [esp + 0x28]
test edx, edx
je 0x50dcfa
lea ecx, [ebx + 0x20]
push eax
call fcn.004ececc
mov edx, dword [esp + 0x34]
test edx, edx
je 0x50dd5c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x50dd5c
mov eax, dword [esp + 0x3c]
lea ecx, [eax + edx + 1]
call fcn.004dbf60
mov dword [ebx + 0x24], eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
call fcn.00603410
add esp, 0xc
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x50dd51
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50dd51
mov edx, dword [esp + 0x34]
add edx, dword [ebx + 0x24]
push esi
push eax
push edx
call fcn.00603410
add esp, 0xc
mov esi, dword [esp + 0x3c]
add esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x24]
mov byte [eax + esi], 0
xor eax, eax
add esp, 0x44
pop ebx
pop esi
pop edi
ret 4
mov eax, 1
add esp, 0x44
pop ebx
pop esi
pop edi
ret 4