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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe0
lea esi, [esp + 0x90]
push 0xa
push str.keep_aliveclose
push esi
call fcn.100a8559
add esp, 0xc
cmp dword [esi], 0
jne 0x1005dad4
movups xmm0, xmmword [esp + 0x94]
movups xmmword [esp], xmm0
lea esi, [esp + 0x14]
push 0x10
push str.proxy_connection
push esi
call fcn.100a8559
add esp, 0xc
cmp dword [esi], 0
jne 0x1005dadf
mov ebp, dword [esp + 0xf4]
lea eax, [esp + 0x20]
movups xmm0, xmmword [eax - 8]
movups xmmword [esp + 0xa0], xmm0
mov edi, esp
movups xmm0, xmmword [edi]
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [0x1010d5f8]
movups xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [0x1010d544]
movups xmmword [esp + 0xc0], xmm0
movups xmm0, xmmword [0x1010d608]
movups xmmword [esp + 0xd0], xmm0
xor ebx, ebx
lea esi, [esp + ebx]
add esi, 0x90
push esi
push ebp
lea eax, [esp + 0x1c]
push eax
call fcn.100671c4
add esp, 0xc
cmp byte [esp + 0x24], 2
je 0x1005d5e7
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
call dword [eax + 0xc]
add esp, 0xc
mov eax, dword [0x1017e714]
mov eax, dword [eax]
cmp eax, 3
ja 0x1005d5e7
mov al, byte [0x1017d09c]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1005d5e3
movzx eax, al
push eax
push dword [0x1017d094]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1005d5e7
mov ecx, dword [0x1017d094]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x1005dac3
mov edi, ebp
lea edx, [ecx + 0x1c]
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ecx, esi
call fcn.1005c1a4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
lea eax, [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x1008cc50
mov dword [esp + 0x14], 0x1010d708
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov esi, esp
mov dword [esp + 0x48], esi
lea eax, [esp + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x1010d47c
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x70]
push eax
call fcn.100779c8
add esp, 0xc
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], eax
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
push eax
push dword [0x1017d094]
call fcn.1008cd25
add esp, 8
mov ebp, edi
mov edi, esi
jmp 0x1005d5e7
test ecx, ecx
jne 0x1005d5f5
add ebx, 0x10
cmp ebx, 0x50
jne 0x1005d499
jmp 0x1005d60c
push 0x1017d094
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1005d4f7
jmp 0x1005d5e7
movups xmm0, xmmword [0x1010d618]
cmp byte [esp + 0xf8], 0
je 0x1005d72f
movups xmmword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.100833c0
add esp, 8
test eax, eax
je 0x1005d889
mov dword [esp + 0x14], 0x1010d730
mov dword [esp + 0x18], 8
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.100ae837
add esp, 8
test al, al
jne 0x1005d889
mov eax, dword [0x1017e714]
mov eax, dword [eax]
cmp eax, 3
ja 0x1005d851
mov al, byte [0x1017d090]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1005d849
movzx eax, al
push eax
push dword [0x1017d088]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1005d851
mov edx, dword [0x1017d088]
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x1005db18
lea eax, [edx + 0x1c]
mov esi, dword [edx + 0x1c]
mov edi, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x1010d6b8
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_std_srcioimpls.rs
mov dword [esp + 0x20], ecx
mov edi, esp
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0x1010d47c
lea ecx, [esp + 0x48]
push ecx
push eax
lea esi, [esp + 0x70]
push esi
call fcn.100779c8
add esp, 0xc
push esi
push dword [0x1017d088]
call fcn.1008cd25
add esp, 8
jmp 0x1005d851
movups xmmword [esp], xmm0
push edi
push ebp
lea eax, [esp + 0x1c]
push eax
call fcn.10067405
add esp, 0xc
cmp byte [esp + 0x24], 2
je 0x1005d889
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
call dword [eax + 0xc]
add esp, 0xc
mov eax, dword [0x1017e714]
mov eax, dword [eax]
cmp eax, 3
ja 0x1005d889
mov al, byte [0x1017d084]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1005d82e
movzx eax, al
push eax
push dword [0x1017d07c]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1005d889
mov edx, dword [0x1017d07c]
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x1005db11
lea eax, [edx + 0x1c]
mov esi, dword [edx + 0x1c]
mov edi, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x1010d660
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_std_srcioimpls.rs
mov dword [esp + 0x20], ecx
mov edi, esp
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0x1010d47c
lea ecx, [esp + 0x48]
push ecx
push eax
lea esi, [esp + 0x70]
push esi
call fcn.100779c8
add esp, 0xc
push esi
push dword [0x1017d07c]
call fcn.1008cd25
add esp, 8
jmp 0x1005d889
test ecx, ecx
je 0x1005d889
push 0x1017d07c
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1005d788
jmp 0x1005d889
test ecx, ecx
jne 0x1005daa9
movups xmm0, xmmword [0x1010d618]
movups xmmword [esp], xmm0
push edi
push ebp
lea eax, [esp + 0x1c]
push eax
call fcn.10067405
add esp, 0xc
cmp byte [esp + 0x24], 2
je 0x1005d889
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
call dword [eax + 0xc]
add esp, 0xc
movups xmm0, xmmword [0x1010d6c0]
movups xmmword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x70]
push eax
call fcn.10067405
add esp, 0xc
cmp byte [esp + 0x78], 2
je 0x1005da5e
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], eax
movups xmm0, xmmword [esp + 0x68]
movups xmmword [esp + 0x48], xmm0
mov eax, dword [0x1017e714]
mov eax, dword [eax]
cmp eax, 3
ja 0x1005d9bb
mov al, byte [0x1017d078]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1005d9b3
movzx eax, al
push eax
push dword [0x1017d070]
call fcn.1008c89d
add esp, 8
test al, al
je 0x1005d9bb
mov ecx, dword [0x1017d070]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x1005db0a
lea esi, [ecx + 0x1c]
mov edx, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 0x10], edi
mov ecx, 0x1010d6c0
call fcn.1005c1a4
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0x88]
lea ecx, [esp + 0x5c]
mov dword [eax], ecx
mov dword [eax + 4], 0x1008cc50
mov dword [esp + 0x14], 0x1010d708
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov edi, esp
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x1010d47c
lea eax, [esp + 0x3c]
push eax
push esi
lea esi, [esp + 0x84]
push esi
call fcn.100779c8
add esp, 0xc
push esi
push dword [0x1017d070]
call fcn.1008cd25
add esp, 8
jmp 0x1005d9bb
test ecx, ecx
jne 0x1005da8f
lea eax, [esp + 0x48]
push eax
call fcn.100a870d
add esp, 4
test eax, eax
je 0x1005dafa
mov esi, 0x2c
lea ecx, [esp + 0x14]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
xor eax, eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 1
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], edx
mov word [ecx + 0x24], 1
call fcn.1005cbd9
test eax, eax
je 0x1005da4a
lea ebx, [esp + 0xc]
lea esi, [esp + 0x14]
push edx
push eax
call fcn.10059abc
add esp, 8
push edx
push eax
push ebp
push edi
call fcn.10067359
add esp, 0x10
cmp byte [esp + 0x10], 2
je 0x1005da3f
mov eax, dword [esp]
push dword [esp + 8]
push dword [esp + 8]
push ebx
call dword [eax + 0xc]
add esp, 0xc
mov ecx, esi
call fcn.1005cbd9
test eax, eax
jne 0x1005da10
lea eax, [esp + 0x54]
mov ecx, dword [eax - 0xc]
push dword [eax - 4]
push dword [eax - 8]
push eax
call dword [ecx + 0xc]
add esp, 0xc
mov esi, 5
lea edi, [esp + 0x9c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x1005da7e
push dword [edi - 4]
push dword [edi - 8]
push edi
call dword [eax + 0xc]
add esp, 0xc
add edi, 0x10
dec esi
jne 0x1005da6a
add esp, 0xe0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1017d070
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1005d8e9
jmp 0x1005d9bb
push 0x1017d088
call fcn.100ff6f5
add esp, 4
test al, al
jne 0x1005d686
jmp 0x1005d851
push 0x1010d720
push 0x22
push 0x1010d428
call fcn.10101180
lea eax, [esp + 0x3c]
push 0x1010d5c8
jmp 0x1005dae8
lea eax, [esp + 0x3c]
push 0x1010d5e8
push 0x1010cd04
push eax
push 0x2b
push 0x1010ccc8
call fcn.10101580
push 0x1010d710
push 0x1010ccf4
lea eax, [esp + 0x44]
jmp 0x1005daed
push 0x1010d6d0
jmp 0x1005dac8
push 0x1010d628
jmp 0x1005dac8
push 0x1010d668
jmp 0x1005dac8