Function at 0x585700
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x58c3c0
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp byte [esi + 0xe0], 0
je 0x585cfb
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
je 0x585cfb
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x585756
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x585cfb
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xc8], 0x3c
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xb4], 1
mov ecx, edi
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
jbe 0x585808
mov ecx, dword [edi]
lea edx, [ebp - 0xc8]
push edx
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x585cfb
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffffd
cmp eax, 1
ja 0x585cfb
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x20], esi
test eax, eax
je 0x585ce0
mov ebx, dword [ebp - 0xc0]
test ebx, ebx
je 0x585ce0
mov esi, dword [ebp - 0xb8]
test esi, esi
je 0x585ce0
mov edi, dword [ebp - 0xb4]
test edi, edi
je 0x585ce0
cmp ebx, 7
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], 0
jbe 0x5858b1
sub esp, 0xc
mov cl, byte [ebp - 0x8c]
mov byte [esp + 4], cl
lea ecx, [ebp - 0x5c]
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00405590
mov esi, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xb4]
jmp 0x5858cc
lea ecx, [ebx + ebx]
mov dword [ebp - 0x4c], ebx
lea edx, [ebp - 0x5c]
push ecx
push eax
push edx
call fcn.0061e340
add esp, 0xc
mov word [ebp + ebx*2 - 0x5c], 0
cmp edi, 7
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], 0
jbe 0x58590d
mov dword [ebp - 0x10], 4
sub esp, 0xc
mov al, byte [ebp - 0x8c]
lea ecx, [ebp - 0x44]
mov byte [esp + 4], al
mov dword [esp + 8], esi
mov dword [esp], edi
call fcn.00405590
mov ebx, dword [ebp - 0x20]
jmp 0x58592b
lea eax, [edi + edi]
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x44]
push eax
push esi
push ecx
call fcn.0061e340
add esp, 0xc
mov ebx, dword [ebp - 0x20]
mov word [ebp + edi*2 - 0x44], 0
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x48], 7
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
jbe 0x585947
mov eax, dword [ebp - 0x5c]
jmp 0x58594a
lea eax, [ebp - 0x5c]
cmp esi, 7
ja 0x585972
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, 7
movsd qword [ebp - 0x84], xmm1
movsd qword [ebp - 0x8c], xmm0
jmp 0x5859f7
mov dword [ebp - 0x28], eax
mov eax, esi
mov ecx, 0x7ffffffe
mov dword [ebp - 0x24], esi
or eax, 7
cmp eax, 0x7ffffffe
mov dword [ebp - 0x2c], eax
cmovb ecx, eax
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x5859c4
cmp ecx, 0x7fffffee
mov dword [ebp - 0x10], 5
jae 0x585d11
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x5859d7
add eax, 2
mov dword [ebp - 0x10], 5
push eax
call fcn.005d0220
add esp, 4
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x8c], eax
lea ecx, [esi + esi + 2]
push ecx
push dword [ebp - 0x28]
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], esi
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 7
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
jbe 0x585a19
mov ecx, dword [ebp - 0x44]
jmp 0x585a1c
lea ecx, [ebp - 0x44]
cmp esi, 7
ja 0x585a40
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea eax, [ebp - 0x74]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, 7
jmp 0x585ac2
mov eax, esi
mov dword [ebp - 0x2c], ecx
mov ecx, 0x7ffffffe
mov dword [ebp - 0x28], esi
or eax, 7
cmp eax, 0x7ffffffe
mov dword [ebp - 0x24], eax
cmovb ecx, eax
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x585a92
cmp ecx, 0x7fffffee
mov dword [ebp - 0x10], 6
jae 0x585d16
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x585aa5
add eax, 2
mov dword [ebp - 0x10], 6
push eax
call fcn.005d0220
add esp, 4
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x74], eax
lea ecx, [esi + esi + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov esi, dword [ebx + 0x108]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x585b01
lea ebx, [ebp - 0x8c]
nop dword [eax]
lea eax, [edi + 0x10]
push ebx
push eax
call fcn.0058c0e0
add esp, 8
test al, al
movzx eax, al
cmove esi, edi
mov edi, dword [edi + eax*8]
cmp byte [edi + 0xd], 0
je 0x585ae0
mov ebx, dword [ebp - 0x20]
cmp byte [esi + 0xd], 0
jne 0x585b1e
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x8c]
push eax
push ecx
call fcn.0058c0e0
add esp, 8
test al, al
je 0x585b24
mov esi, dword [ebx + 0x108]
mov ecx, dword [ebp - 0x60]
cmp ecx, 8
jb 0x585b5f
mov eax, dword [ebp - 0x74]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585b55
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585d1b
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x585bb1
mov eax, dword [ebp - 0x8c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585ba7
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585d27
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
cmp esi, dword [ebx + 0x108]
je 0x585c63
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
jb 0x585bcf
mov eax, dword [eax]
mov dword [ebp - 0x10], 5
mov ecx, dword [ebx + 0xe8]
mov dword [ebp - 0x10], 5
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x585c1f
mov eax, dword [ebp - 0x44]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585c15
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585d33
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x585cfb
mov eax, dword [ebp - 0x5c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585c54
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585d3f
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
jmp 0x585cfb
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x585c9e
mov eax, dword [ebp - 0x44]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585c94
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585d4b
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x585cd9
mov eax, dword [ebp - 0x5c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585ccf
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585d57
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 7
jbe 0x585ceb
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x20]
push ecx
push dword [eax + 0xe8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.005e8c60
call fcn.005e8c60
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
mov dword [ebp - 0x10], 2
call fcn.006207e0
mov dword [ebp - 0x10], 3
call fcn.006207e0
mov dword [ebp - 0x10], 7
call fcn.006207e0
mov dword [ebp - 0x10], 8
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x585db1
mov eax, dword [ebp - 0x8c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585da7
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585dcd
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], 0
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
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
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
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x585e5e
mov eax, dword [ebp - 0x44]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585e54
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585e77
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], 0
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x585ebe
mov eax, dword [ebp - 0x5c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x585eb4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x585ec3
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
nop dword [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
int3