Function at 0x52c224
Capabilities:
Parse url

Disassembly:
push edi
push esi
push ebx
push ecx
mov eax, 0x40
call fcn.00697340
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.004dbe28
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.004db4f8
mov ecx, esi
mov edx, ebx
call fcn.004f5c14
mov ecx, ebx
call fcn.004db4f8
mov ecx, dword [esi]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x52c326
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x52c311
dec eax
lea edx, [esp]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x52c42f
cmp dword [esp + 0x34], 0
jne 0x52c34b
mov dword [esp + 0x38], 0
mov eax, dword [esp + 8]
test eax, eax
je 0x52c36f
cmp dword [esp + 4], 0
je 0x52c36f
cmp eax, 4
jne 0x52c368
mov dword [edi + 0x36], 0
jmp 0x52c36f
mov dword [edi + 0x36], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52c388
mov edx, dword [esp + 0x10]
test edx, edx
je 0x52c388
lea ecx, [edi + 0x18]
push eax
call fcn.004f73ec
movzx eax, word [esp + 0x18]
mov word [edi + 0x30], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x52c3aa
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x52c3aa
lea ecx, [edi + 0x1c]
push eax
call fcn.004f73ec
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c3c3
mov edx, dword [esp + 0x24]
test edx, edx
je 0x52c3c3
lea ecx, [edi + 0x20]
push eax
call fcn.004f73ec
mov eax, dword [esp + 0x30]
test eax, eax
je 0x52c424
cmp dword [esp + 0x2c], 0
je 0x52c424
mov edx, dword [esp + 0x38]
lea ecx, [eax + edx + 1]
call fcn.004dbe28
mov dword [edi + 0x24], eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
call fcn.006985c0
add esp, 0xc
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x52c419
mov eax, dword [esp + 0x34]
test eax, eax
je 0x52c419
mov edx, dword [esp + 0x30]
add edx, dword [edi + 0x24]
push ecx
push eax
push edx
call fcn.006985c0
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