Function at 0x52c690
Capabilities:
Parse url

Disassembly:
push edi
push esi
push ebx
push ecx
mov eax, 0x40
call fcn.006977b0
mov ecx, dword [esp + 0x40]
mov edi, ecx
mov esi, dword [esp + 0x54]
mov dword [esp + 0x3c], 1
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp], 0x3c
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edx
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
lea ebx, [esp + 0x40]
lea ecx, [esp + 0x3c]
push edx
push ecx
push ebx
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov ecx, dword [esp + 0x3c]
inc ecx
call fcn.004dc288
mov ebx, eax
lea eax, [esp + 0x3c]
push 0
push eax
push ebx
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov eax, dword [esp + 0x3c]
mov byte [ebx + eax], 0
mov ecx, dword [esi]
call fcn.004db958
mov ecx, esi
mov edx, ebx
call fcn.004f60bc
mov ecx, ebx
call fcn.004db958
mov ecx, dword [esi]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x52c792
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x52c77d
dec eax
lea edx, [esp]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x52c89b
cmp dword [esp + 0x34], 0
jne 0x52c7b7
mov dword [esp + 0x38], 0
mov eax, dword [esp + 8]
test eax, eax
je 0x52c7db
cmp dword [esp + 4], 0
je 0x52c7db
cmp eax, 4
jne 0x52c7d4
mov dword [edi + 0x36], 0
jmp 0x52c7db
mov dword [edi + 0x36], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52c7f4
mov edx, dword [esp + 0x10]
test edx, edx
je 0x52c7f4
lea ecx, [edi + 0x18]
push eax
call fcn.004f7894
movzx eax, word [esp + 0x18]
mov word [edi + 0x30], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x52c816
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x52c816
lea ecx, [edi + 0x1c]
push eax
call fcn.004f7894
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c82f
mov edx, dword [esp + 0x24]
test edx, edx
je 0x52c82f
lea ecx, [edi + 0x20]
push eax
call fcn.004f7894
mov eax, dword [esp + 0x30]
test eax, eax
je 0x52c890
cmp dword [esp + 0x2c], 0
je 0x52c890
mov edx, dword [esp + 0x38]
lea ecx, [eax + edx + 1]
call fcn.004dc288
mov dword [edi + 0x24], eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
call fcn.00698a30
add esp, 0xc
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x52c885
mov eax, dword [esp + 0x34]
test eax, eax
je 0x52c885
mov edx, dword [esp + 0x30]
add edx, dword [edi + 0x24]
push ecx
push eax
push edx
call fcn.00698a30
add esp, 0xc
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x30]
mov eax, dword [edi + 0x24]
mov byte [eax + ecx], 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