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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, 0x102069cd
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, 0x102069cd
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 0x1005a020
lea eax, [esp + 0xb0]
sub ecx, edx
push eax
push 0
push ecx
push esi
call fcn.1015ab30
add esp, 0x10
test eax, eax
jne 0x1005a477
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 0x1005a477
movzx eax, word [esp + 0xb6]
lea ecx, [esp + 0x74]
movzx edx, word [esp + 0xb4]
push eax
add edx, esi
call fcn.1002bf10
mov eax, dword [esp + 0x78]
add esp, 4
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x20], eax
jbe 0x1005a0f2
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 0x1005a0c2
mov esi, dword [esp + 0x64]
mov edi, 0x102069cd
cmp byte [esp + 0x17], 0
je 0x1005a131
movzx eax, word [esp + 0xba]
lea ecx, [esp + 0x8c]
movzx edx, word [esp + 0xb8]
push eax
add edx, esi
call fcn.1002c310
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 0x1005a14d
movzx eax, word [esp + 0xbe]
movzx edx, word [esp + 0xbc]
push eax
add edx, esi
jmp 0x1005a18a
mov ecx, dword [esp + 0x20]
call fcn.10059db0
mov edx, eax
test edx, edx
jne 0x1005a178
push esi
push str.unknown_scheme_for_URL__s
push 0xc
call fcn.1002a5a0
mov ecx, dword [esp + 0x84]
add esp, 0xc
jmp 0x1005a489
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a180
sub ecx, edi
push ecx
lea ecx, [esp + 0x84]
call fcn.1002bf10
add esp, 4
lea ecx, [esp + 0x58]
cmp byte [esp + 0x19], 0
je 0x1005a293
movzx eax, word [esp + 0xc2]
movzx edx, word [esp + 0xc0]
push eax
add edx, esi
call fcn.1002bf10
add esp, 4
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x1a], 0
mov dword [esp + 0x1c], ecx
je 0x1005a20a
movzx eax, word [esp + 0xc6]
lea ecx, [esp + 0x98]
movzx edx, word [esp + 0xc4]
push eax
add edx, esi
call fcn.1002c310
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 0x1005a2da
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.10178720
add esp, 0xc
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x68]
test eax, eax
je 0x1005a2bd
mov edx, dword [esp + 0x54]
mov esi, eax
sub esi, edx
push esi
call fcn.1002c310
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
sub edi, esi
inc edx
dec edi
push edi
call fcn.1002c310
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 0x1005a2e4
push 1
mov edx, 2
call fcn.1002bbe0
add esp, 4
test eax, eax
js 0x1005a1c3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov word [eax + ecx], 0x2f
jmp 0x1005a1c7
push edi
mov edx, esi
call fcn.1002c310
mov eax, dword [esp + 0x70]
add esp, 4
mov esi, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jmp 0x1005a2df
mov esi, 0x102069cd
mov ecx, 0x102069cd
mov eax, dword [esp + 0x20]
cmp eax, 0x102069cc
je 0x1005a460
cmp dword [esp + 0x24], 0x102069cc
je 0x1005a460
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
cmp edx, 0x102069cc
je 0x1005a460
mov edi, dword [esp + 0x1c]
cmp edi, 0x102069cc
je 0x1005a460
cmp dword [esp + 0x28], 0x102069cc
je 0x1005a460
cmp esi, 0x102069cc
je 0x1005a460
cmp ecx, 0x102069cc
je 0x1005a460
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x1005a362
xor ecx, ecx
mov dword [esp + 0x20], 0x102069cd
jmp 0x1005a364
xor eax, eax
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
je 0x1005a387
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0x102069cd
jmp 0x1005a389
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 0x1005a3b0
mov edx, 0x102069cd
mov dword [esp + 0x1c], 0
mov dword [esp + 0x4c], edx
jmp 0x1005a3b2
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 0x1005a3d6
mov dword [esp + 0x50], 0
mov edi, 0x102069cd
jmp 0x1005a3d8
xor eax, eax
cmp dword [esp + 0x3c], 0
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
je 0x1005a3f8
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0x102069cd
jmp 0x1005a3fa
xor eax, eax
cmp dword [esp + 0x2c], 0
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x30]
je 0x1005a41f
mov edx, 0x102069cd
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
jmp 0x1005a421
xor eax, eax
cmp dword [esp + 0x40], 0
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x44]
je 0x1005a451
mov edx, 0x102069cd
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 0x1005a489
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [edx + 0x18], eax
jmp 0x1005a489
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10176e3f
mov esp, ebp
pop ebp
ret
push esi
push str.malformed_URL__s
push 0xc
call fcn.1002a5a0
add esp, 0xc
xor ecx, ecx
test ecx, ecx
je 0x1005a4b0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1005a4b0
cmp eax, 0x102069cc
je 0x1005a4b0
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x38], 0
jbe 0x1005a4da
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1005a4da
cmp eax, 0x102069cc
je 0x1005a4da
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x1c], 0
jbe 0x1005a504
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1005a504
cmp eax, 0x102069cc
je 0x1005a504
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x50], 0
jbe 0x1005a52b
test edi, edi
je 0x1005a52b
cmp edi, 0x102069cc
je 0x1005a52b
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x3c], 0
jbe 0x1005a555
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1005a555
cmp eax, 0x102069cc
je 0x1005a555
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x2c], 0
jbe 0x1005a57f
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1005a57f
cmp eax, 0x102069cc
je 0x1005a57f
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x40], 0
jbe 0x1005a5a9
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1005a5a9
cmp eax, 0x102069cc
je 0x1005a5a9
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x48]
pop edi
pop esi
xor ecx, esp
call fcn.10176e3f
mov esp, ebp
pop ebp
ret