Function at 0x582140
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x58c300
mov dword [ebp - 0x5c], ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 0x38]
test eax, 0x100000
jne 0x582336
and eax, 0x30000
cmp eax, 0x20000
je 0x582336
lea eax, [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x582336
lea ecx, [ebp + 8]
cmp dword [ecx + 0x14], 7
mov eax, ecx
jbe 0x5821a8
mov eax, dword [ecx]
mov dword [ebp - 0x10], 2
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x582336
lea edx, [ebp + 8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x50], 1
mov eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 7
mov ecx, edx
jbe 0x582237
mov ecx, dword [edx]
lea edx, [ebp - 0x58]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x582336
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffffd
cmp eax, 1
ja 0x582336
lea eax, [ebp + 8]
cmp dword [eax + 0x28], 0
je 0x582336
lea ecx, [ebp + 8]
lea eax, [ebp + 0x20]
cmp dword [ecx + 0x2c], 7
jbe 0x582278
mov eax, dword [ecx + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x582336
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x50], 1
lea edx, [ebp + 8]
lea ecx, [ebp + 0x20]
mov eax, dword [edx + 0x28]
cmp dword [edx + 0x2c], 7
jbe 0x582302
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x58]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x582336
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffffd
cmp eax, 1
ja 0x582336
push 1
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 0xec]
call fcn.004e7af0
add esp, 0xc
lea esi, [ebp + 8]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x58236f
mov eax, dword [esi]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x582365
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5823ce
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], 0
mov ecx, dword [esi + 0x2c]
cmp ecx, 8
jb 0x5823bb
lea eax, [ebp + 0x20]
lea edx, [ecx + ecx + 2]
mov eax, dword [eax]
cmp edx, 0x1000
jb 0x5823b1
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5823da
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret 0x34
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
nop word cs:[eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea eax, [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x582453
lea eax, [ebp + 8]
lea edx, [ecx + ecx + 2]
mov eax, dword [eax]
cmp edx, 0x1000
jb 0x582449
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5824a7
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
lea eax, [ebp + 8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], 0
mov ecx, dword [eax + 0x2c]
cmp ecx, 8
jb 0x5824a2
lea eax, [ebp + 0x20]
lea edx, [ecx + ecx + 2]
mov eax, dword [eax]
cmp edx, 0x1000
jb 0x582498
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5824a7
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x10
pop ebp
ret
call fcn.006207e0
int3