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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, 0x1020156d
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, 0x1020156d
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 0x10057c60
lea eax, [esp + 0xb0]
sub ecx, edx
push eax
push 0
push ecx
push esi
call fcn.10156930
add esp, 0x10
test eax, eax
jne 0x100580b7
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 0x100580b7
movzx eax, word [esp + 0xb6]
lea ecx, [esp + 0x74]
movzx edx, word [esp + 0xb4]
push eax
add edx, esi
call fcn.1002a0f0
mov eax, dword [esp + 0x78]
add esp, 4
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x20], eax
jbe 0x10057d32
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 0x10057d02
mov esi, dword [esp + 0x64]
mov edi, 0x1020156d
cmp byte [esp + 0x17], 0
je 0x10057d71
movzx eax, word [esp + 0xba]
lea ecx, [esp + 0x8c]
movzx edx, word [esp + 0xb8]
push eax
add edx, esi
call fcn.1002a4f0
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 0x10057d8d
movzx eax, word [esp + 0xbe]
movzx edx, word [esp + 0xbc]
push eax
add edx, esi
jmp 0x10057dca
mov ecx, dword [esp + 0x20]
call fcn.100579f0
mov edx, eax
test edx, edx
jne 0x10057db8
push esi
push str.unknown_scheme_for_URL__s
push 0xc
call fcn.10028740
mov ecx, dword [esp + 0x84]
add esp, 0xc
jmp 0x100580c9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057dc0
sub ecx, edi
push ecx
lea ecx, [esp + 0x84]
call fcn.1002a0f0
add esp, 4
lea ecx, [esp + 0x58]
cmp byte [esp + 0x19], 0
je 0x10057ed3
movzx eax, word [esp + 0xc2]
movzx edx, word [esp + 0xc0]
push eax
add edx, esi
call fcn.1002a0f0
add esp, 4
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x1a], 0
mov dword [esp + 0x1c], ecx
je 0x10057e4a
movzx eax, word [esp + 0xc6]
lea ecx, [esp + 0x98]
movzx edx, word [esp + 0xc4]
push eax
add edx, esi
call fcn.1002a4f0
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 0x10057f1a
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.101748a0
add esp, 0xc
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x68]
test eax, eax
je 0x10057efd
mov edx, dword [esp + 0x54]
mov esi, eax
sub esi, edx
push esi
call fcn.1002a4f0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
sub edi, esi
inc edx
dec edi
push edi
call fcn.1002a4f0
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 0x10057f24
push 1
mov edx, 2
call fcn.10029dc0
add esp, 4
test eax, eax
js 0x10057e03
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov word [eax + ecx], 0x2f
jmp 0x10057e07
push edi
mov edx, esi
call fcn.1002a4f0
mov eax, dword [esp + 0x70]
add esp, 4
mov esi, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jmp 0x10057f1f
mov esi, 0x1020156d
mov ecx, 0x1020156d
mov eax, dword [esp + 0x20]
cmp eax, 0x1020156c
je 0x100580a0
cmp dword [esp + 0x24], 0x1020156c
je 0x100580a0
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
cmp edx, 0x1020156c
je 0x100580a0
mov edi, dword [esp + 0x1c]
cmp edi, 0x1020156c
je 0x100580a0
cmp dword [esp + 0x28], 0x1020156c
je 0x100580a0
cmp esi, 0x1020156c
je 0x100580a0
cmp ecx, 0x1020156c
je 0x100580a0
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x10057fa2
xor ecx, ecx
mov dword [esp + 0x20], 0x1020156d
jmp 0x10057fa4
xor eax, eax
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
je 0x10057fc7
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0x1020156d
jmp 0x10057fc9
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 0x10057ff0
mov edx, 0x1020156d
mov dword [esp + 0x1c], 0
mov dword [esp + 0x4c], edx
jmp 0x10057ff2
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 0x10058016
mov dword [esp + 0x50], 0
mov edi, 0x1020156d
jmp 0x10058018
xor eax, eax
cmp dword [esp + 0x3c], 0
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
je 0x10058038
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0x1020156d
jmp 0x1005803a
xor eax, eax
cmp dword [esp + 0x2c], 0
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x30]
je 0x1005805f
mov edx, 0x1020156d
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
jmp 0x10058061
xor eax, eax
cmp dword [esp + 0x40], 0
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x44]
je 0x10058091
mov edx, 0x1020156d
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 0x100580c9
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [edx + 0x18], eax
jmp 0x100580c9
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
push esi
push str.malformed_URL__s
push 0xc
call fcn.10028740
add esp, 0xc
xor ecx, ecx
test ecx, ecx
je 0x100580f0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100580f0
cmp eax, 0x1020156c
je 0x100580f0
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x38], 0
jbe 0x1005811a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1005811a
cmp eax, 0x1020156c
je 0x1005811a
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x1c], 0
jbe 0x10058144
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10058144
cmp eax, 0x1020156c
je 0x10058144
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x50], 0
jbe 0x1005816b
test edi, edi
je 0x1005816b
cmp edi, 0x1020156c
je 0x1005816b
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x3c], 0
jbe 0x10058195
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10058195
cmp eax, 0x1020156c
je 0x10058195
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x2c], 0
jbe 0x100581bf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100581bf
cmp eax, 0x1020156c
je 0x100581bf
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x40], 0
jbe 0x100581e9
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100581e9
cmp eax, 0x1020156c
je 0x100581e9
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x48]
pop edi
pop esi
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret