Function at 0x52c05c
Capabilities:
Parse url

Disassembly:
push edi
push esi
push ebx
push ecx
mov eax, 0x40
call fcn.00696350
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.004dbd48
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.004db418
mov ecx, esi
mov edx, ebx
call fcn.004f5acc
mov ecx, ebx
call fcn.004db418
mov ecx, dword [esi]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x52c15e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x52c149
dec eax
lea edx, [esp]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x52c267
cmp dword [esp + 0x34], 0
jne 0x52c183
mov dword [esp + 0x38], 0
mov eax, dword [esp + 8]
test eax, eax
je 0x52c1a7
cmp dword [esp + 4], 0
je 0x52c1a7
cmp eax, 4
jne 0x52c1a0
mov dword [edi + 0x36], 0
jmp 0x52c1a7
mov dword [edi + 0x36], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x52c1c0
mov edx, dword [esp + 0x10]
test edx, edx
je 0x52c1c0
lea ecx, [edi + 0x18]
push eax
call fcn.004f72a4
movzx eax, word [esp + 0x18]
mov word [edi + 0x30], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x52c1e2
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x52c1e2
lea ecx, [edi + 0x1c]
push eax
call fcn.004f72a4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52c1fb
mov edx, dword [esp + 0x24]
test edx, edx
je 0x52c1fb
lea ecx, [edi + 0x20]
push eax
call fcn.004f72a4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x52c25c
cmp dword [esp + 0x2c], 0
je 0x52c25c
mov edx, dword [esp + 0x38]
lea ecx, [eax + edx + 1]
call fcn.004dbd48
mov dword [edi + 0x24], eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
call fcn.006975d0
add esp, 0xc
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x52c251
mov eax, dword [esp + 0x34]
test eax, eax
je 0x52c251
mov edx, dword [esp + 0x30]
add edx, dword [edi + 0x24]
push ecx
push eax
push edx
call fcn.006975d0
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