Function at 0x10058290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10282800]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, 0x1029182d
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x84], eax
xor eax, eax
push esi
mov esi, edx
mov dword [esp + 0x34], eax
mov edx, 0x1029182d
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov ecx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0xa0], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, edx
push edi
mov edi, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x68], edx
lea edx, [ecx + 1]
mov dword [esp + 0x64], esi
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xc0], xmm0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x48], 0xfffffff4
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100583a0
lea eax, [esp + 0xb0]
sub ecx, edx
push eax
push 0
push ecx
push esi
call fcn.101c6cd0
add esp, 0x10
test eax, eax
jne 0x100587f7
mov ax, word [esp + 0xb0]
mov cl, al
shr cl, 1
and cl, 1
mov byte [esp + 0x17], cl
mov cl, al
shr cl, 2
and cl, 1
mov byte [esp + 0x18], cl
mov cl, al
shr cl, 3
and cl, 1
mov byte [esp + 0x19], cl
mov cl, al
shr cl, 4
and cl, 1
mov byte [esp + 0x1a], cl
mov cl, al
shr cl, 6
and cl, 1
mov byte [esp + 0x1b], cl
test al, 1
je 0x100587f7
movzx eax, word [esp + 0xb6]
lea ecx, [esp + 0x74]
movzx edx, word [esp + 0xb4]
push eax
add edx, esi
call fcn.1002a7f0
mov eax, dword [esp + 0x78]
add esp, 4
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x20], eax
jbe 0x10058472
xor esi, esi
mov edi, eax
movsx eax, byte [esi + edi]
mov dword [esp + 0x54], eax
lea edx, [eax - 0x41]
add al, 0x20
movzx ecx, al
cmp edx, 0x19
mov eax, dword [esp + 0x54]
movzx eax, al
cmova ecx, eax
mov byte [esi + edi], cl
inc esi
cmp esi, dword [esp + 0x7c]
jb 0x10058442
mov esi, dword [esp + 0x64]
mov edi, 0x1029182d
cmp byte [esp + 0x17], 0
je 0x100584b1
movzx eax, word [esp + 0xba]
lea ecx, [esp + 0x8c]
movzx edx, word [esp + 0xb8]
push eax
add edx, esi
call fcn.1002abf0
mov eax, dword [esp + 0x94]
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
cmp byte [esp + 0x18], 0
je 0x100584cd
movzx eax, word [esp + 0xbe]
movzx edx, word [esp + 0xbc]
push eax
add edx, esi
jmp 0x1005850a
mov ecx, dword [esp + 0x20]
call fcn.10058130
mov edx, eax
test edx, edx
jne 0x100584f8
push esi
push str.unknown_scheme_for_URL__s
push 0xc
call fcn.10028e40
mov ecx, dword [esp + 0x84]
add esp, 0xc
jmp 0x10058809
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058500
sub ecx, edi
push ecx
lea ecx, [esp + 0x84]
call fcn.1002a7f0
add esp, 4
lea ecx, [esp + 0x58]
cmp byte [esp + 0x19], 0
je 0x10058613
movzx eax, word [esp + 0xc2]
movzx edx, word [esp + 0xc0]
push eax
add edx, esi
call fcn.1002a7f0
add esp, 4
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x1a], 0
mov dword [esp + 0x1c], ecx
je 0x1005858a
movzx eax, word [esp + 0xc6]
lea ecx, [esp + 0x98]
movzx edx, word [esp + 0xc4]
push eax
add edx, esi
call fcn.1002abf0
mov eax, dword [esp + 0xa0]
add esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
cmp byte [esp + 0x1b], 0
je 0x1005865a
movzx edi, word [esp + 0xce]
movzx esi, word [esp + 0xcc]
add esi, dword [esp + 0x64]
push edi
push 0x3a
push esi
mov dword [esp + 0x60], esi
call fcn.101e5510
add esp, 0xc
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x68]
test eax, eax
je 0x1005863d
mov edx, dword [esp + 0x54]
mov esi, eax
sub esi, edx
push esi
call fcn.1002abf0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
sub edi, esi
inc edx
dec edi
push edi
call fcn.1002abf0
mov edx, dword [esp + 0x74]
add esp, 8
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jmp 0x10058664
push 1
mov edx, 2
call fcn.1002a4c0
add esp, 4
test eax, eax
js 0x10058543
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov word [eax + ecx], 0x2f
jmp 0x10058547
push edi
mov edx, esi
call fcn.1002abf0
mov eax, dword [esp + 0x70]
add esp, 4
mov esi, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jmp 0x1005865f
mov esi, 0x1029182d
mov ecx, 0x1029182d
mov eax, dword [esp + 0x20]
cmp eax, 0x1029182c
je 0x100587e0
cmp dword [esp + 0x24], 0x1029182c
je 0x100587e0
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
cmp edx, 0x1029182c
je 0x100587e0
mov edi, dword [esp + 0x1c]
cmp edi, 0x1029182c
je 0x100587e0
cmp dword [esp + 0x28], 0x1029182c
je 0x100587e0
cmp esi, 0x1029182c
je 0x100587e0
cmp ecx, 0x1029182c
je 0x100587e0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x100586e2
xor ecx, ecx
mov dword [esp + 0x20], 0x1029182d
jmp 0x100586e4
xor eax, eax
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
je 0x10058707
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0x1029182d
jmp 0x10058709
xor eax, eax
mov dword [esi + 4], eax
mov eax, edx
mov esi, dword [esp + 0x84]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x10058730
mov edx, 0x1029182d
mov dword [esp + 0x1c], 0
mov dword [esp + 0x4c], edx
jmp 0x10058732
xor eax, eax
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x50], esi
mov dword [edx + 8], eax
mov eax, edi
test esi, esi
je 0x10058756
mov dword [esp + 0x50], 0
mov edi, 0x1029182d
jmp 0x10058758
xor eax, eax
cmp dword [esp + 0x3c], 0
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
je 0x10058778
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0x1029182d
jmp 0x1005877a
xor eax, eax
cmp dword [esp + 0x2c], 0
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x30]
je 0x1005879f
mov edx, 0x1029182d
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
jmp 0x100587a1
xor eax, eax
cmp dword [esp + 0x40], 0
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x44]
je 0x100587d1
mov edx, 0x1029182d
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], 0
mov dword [edx + 0x18], eax
jmp 0x10058809
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [edx + 0x18], eax
jmp 0x10058809
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101e3b75
mov esp, ebp
pop ebp
ret
push esi
push str.malformed_URL__s
push 0xc
call fcn.10028e40
add esp, 0xc
xor ecx, ecx
test ecx, ecx
je 0x10058830
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10058830
cmp eax, 0x1029182c
je 0x10058830
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x38], 0
jbe 0x1005885a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1005885a
cmp eax, 0x1029182c
je 0x1005885a
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x1c], 0
jbe 0x10058884
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10058884
cmp eax, 0x1029182c
je 0x10058884
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x50], 0
jbe 0x100588ab
test edi, edi
je 0x100588ab
cmp edi, 0x1029182c
je 0x100588ab
mov esi, dword [fcn.10033600]
mov ecx, esi
push edi
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x3c], 0
jbe 0x100588d5
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100588d5
cmp eax, 0x1029182c
je 0x100588d5
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x2c], 0
jbe 0x100588ff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100588ff
cmp eax, 0x1029182c
je 0x100588ff
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x40], 0
jbe 0x10058929
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10058929
cmp eax, 0x1029182c
je 0x10058929
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x48]
pop edi
pop esi
xor ecx, esp
call fcn.101e3b75
mov esp, ebp
pop ebp
ret