Function at 0x589700
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x58c460
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp dword [esi + 0x10], 0
je 0x58982e
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x589744
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x58982e
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x74], 0x3c
mov ecx, 0xffffffff
mov edi, dword [esi + 0x10]
lea ebx, [edi + 1]
mov eax, ebx
add eax, ebx
cmovae ecx, eax
push ecx
call fcn.005d8940
add esp, 4
lea ecx, [edi + edi + 2]
mov dword [ebp - 0x64], eax
push ecx
push 0
push eax
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x60], ebx
cmp dword [esi + 0x14], 7
jbe 0x5897f5
mov esi, dword [esi]
lea eax, [ebp - 0x74]
push eax
push 0
push edi
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x5898fc
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 3]
cmp ecx, 1
ja 0x5898fc
cmp eax, 3
movzx eax, word [ebp - 0x5c]
jne 0x589835
cmp ax, 0x50
je 0x589843
jmp 0x5898fc
xor ebx, ebx
jmp 0x58990e
movzx eax, ax
cmp eax, 0x1bb
jne 0x5898fc
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x5898fc
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x5898fc
cmp esi, 7
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
jbe 0x58988d
sub esp, 0xc
mov cl, byte [ebp - 0x20]
mov byte [esp + 4], cl
lea ecx, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.00405590
jmp 0x5898a8
lea ecx, [esi + esi]
mov dword [ebp - 0x28], esi
lea edx, [ebp - 0x38]
push ecx
push eax
push edx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x38], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 1
push eax
call fcn.00589990
add esp, 4
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x5898f6
mov ebx, eax
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5898ea
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x589921
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, ebx
mov bl, 1
test al, al
jne 0x5898fe
xor ebx, ebx
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x58990e
push eax
call fcn.005db8b4
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
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 - 0x24]
cmp ecx, 8
jb 0x58997e
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x589974
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x589983
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