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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10156440]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, 0x1015de6d
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, 0x1015de6d
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 0x10057770
lea eax, [esp + 0xb0]
sub ecx, edx
push eax
push 0
push ecx
push esi
call fcn.100d9870
add esp, 0x10
test eax, eax
jne 0x10057bc7
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 0x10057bc7
movzx eax, word [esp + 0xb6]
lea ecx, [esp + 0x74]
movzx edx, word [esp + 0xb4]
push eax
add edx, esi
call fcn.10029bd0
mov eax, dword [esp + 0x78]
add esp, 4
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x20], eax
jbe 0x10057842
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 0x10057812
mov esi, dword [esp + 0x64]
mov edi, 0x1015de6d
cmp byte [esp + 0x17], 0
je 0x10057881
movzx eax, word [esp + 0xba]
lea ecx, [esp + 0x8c]
movzx edx, word [esp + 0xb8]
push eax
add edx, esi
call fcn.10029fe0
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 0x1005789d
movzx eax, word [esp + 0xbe]
movzx edx, word [esp + 0xbc]
push eax
add edx, esi
jmp 0x100578da
mov ecx, dword [esp + 0x20]
call fcn.10057500
mov edx, eax
test edx, edx
jne 0x100578c8
push esi
push str.unknown_scheme_for_URL__s
push 0xc
call fcn.10028220
mov ecx, dword [esp + 0x84]
add esp, 0xc
jmp 0x10057bd9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100578d0
sub ecx, edi
push ecx
lea ecx, [esp + 0x84]
call fcn.10029bd0
add esp, 4
lea ecx, [esp + 0x58]
cmp byte [esp + 0x19], 0
je 0x100579e3
movzx eax, word [esp + 0xc2]
movzx edx, word [esp + 0xc0]
push eax
add edx, esi
call fcn.10029bd0
add esp, 4
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x1a], 0
mov dword [esp + 0x1c], ecx
je 0x1005795a
movzx eax, word [esp + 0xc6]
lea ecx, [esp + 0x98]
movzx edx, word [esp + 0xc4]
push eax
add edx, esi
call fcn.10029fe0
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 0x10057a2a
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.100f6310
add esp, 0xc
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x68]
test eax, eax
je 0x10057a0d
mov edx, dword [esp + 0x54]
mov esi, eax
sub esi, edx
push esi
call fcn.10029fe0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
sub edi, esi
inc edx
dec edi
push edi
call fcn.10029fe0
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 0x10057a34
push 1
mov edx, 2
call fcn.100298a0
add esp, 4
test eax, eax
js 0x10057913
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov word [eax + ecx], 0x2f
jmp 0x10057917
push edi
mov edx, esi
call fcn.10029fe0
mov eax, dword [esp + 0x70]
add esp, 4
mov esi, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jmp 0x10057a2f
mov esi, 0x1015de6d
mov ecx, 0x1015de6d
mov eax, dword [esp + 0x20]
cmp eax, 0x1015de6c
je 0x10057bb0
cmp dword [esp + 0x24], 0x1015de6c
je 0x10057bb0
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
cmp edx, 0x1015de6c
je 0x10057bb0
mov edi, dword [esp + 0x1c]
cmp edi, 0x1015de6c
je 0x10057bb0
cmp dword [esp + 0x28], 0x1015de6c
je 0x10057bb0
cmp esi, 0x1015de6c
je 0x10057bb0
cmp ecx, 0x1015de6c
je 0x10057bb0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x10057ab2
xor ecx, ecx
mov dword [esp + 0x20], 0x1015de6d
jmp 0x10057ab4
xor eax, eax
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
je 0x10057ad7
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0x1015de6d
jmp 0x10057ad9
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 0x10057b00
mov edx, 0x1015de6d
mov dword [esp + 0x1c], 0
mov dword [esp + 0x4c], edx
jmp 0x10057b02
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 0x10057b26
mov dword [esp + 0x50], 0
mov edi, 0x1015de6d
jmp 0x10057b28
xor eax, eax
cmp dword [esp + 0x3c], 0
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
je 0x10057b48
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0x1015de6d
jmp 0x10057b4a
xor eax, eax
cmp dword [esp + 0x2c], 0
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x30]
je 0x10057b6f
mov edx, 0x1015de6d
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
jmp 0x10057b71
xor eax, eax
cmp dword [esp + 0x40], 0
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x44]
je 0x10057ba1
mov edx, 0x1015de6d
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 0x10057bd9
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [edx + 0x18], eax
jmp 0x10057bd9
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.100f46b4
mov esp, ebp
pop ebp
ret
push esi
push str.malformed_URL__s
push 0xc
call fcn.10028220
add esp, 0xc
xor ecx, ecx
test ecx, ecx
je 0x10057c00
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10057c00
cmp eax, 0x1015de6c
je 0x10057c00
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182fc]
call esi
add esp, 4
cmp dword [esp + 0x38], 0
jbe 0x10057c2a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10057c2a
cmp eax, 0x1015de6c
je 0x10057c2a
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182fc]
call esi
add esp, 4
cmp dword [esp + 0x1c], 0
jbe 0x10057c54
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10057c54
cmp eax, 0x1015de6c
je 0x10057c54
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182fc]
call esi
add esp, 4
cmp dword [esp + 0x50], 0
jbe 0x10057c7b
test edi, edi
je 0x10057c7b
cmp edi, 0x1015de6c
je 0x10057c7b
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182fc]
call esi
add esp, 4
cmp dword [esp + 0x3c], 0
jbe 0x10057ca5
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10057ca5
cmp eax, 0x1015de6c
je 0x10057ca5
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182fc]
call esi
add esp, 4
cmp dword [esp + 0x2c], 0
jbe 0x10057ccf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10057ccf
cmp eax, 0x1015de6c
je 0x10057ccf
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182fc]
call esi
add esp, 4
cmp dword [esp + 0x40], 0
jbe 0x10057cf9
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10057cf9
cmp eax, 0x1015de6c
je 0x10057cf9
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182fc]
call esi
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x48]
pop edi
pop esi
xor ecx, esp
call fcn.100f46b4
mov esp, ebp
pop ebp
ret