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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2c0
lea edi, [esp + 0xb8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov ecx, edi
call sym.http::request::Parts::new::h181ef6cfafbf5efd
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov dl, byte [edi + 8]
mov dh, byte [edi + 9]
lea ecx, [esp + 0xc2]
mov eax, ebx
xor eax, 3
or eax, esi
je 0x10031259
mov edi, dword [esp + 0x13c]
lea eax, [esp + 0x140]
push 0x7a
push ecx
push eax
mov byte [esp + 0x24], dl
mov byte [esp + 0x1c], dh
call sub.msvcrt.dll_memcpy
mov dh, byte [esp + 0x1c]
mov dl, byte [esp + 0x24]
lea ecx, [esp + 0xce]
add esp, 0xc
shr edi, 8
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], esi
mov byte [esp + 0xc0], dl
mov byte [esp + 0xc1], dh
lea eax, [esp + 0x140]
push 0x7a
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov eax, edi
mov byte [esp + 0x13c], 3
mov word [esp + 0x13d], di
shr eax, 0x10
mov byte [esp + 0x13f], al
mov al, byte [ebx]
cmp al, 0xb
mov byte [esp + 0x1f], al
je 0x10031338
mov eax, dword [ebx + 0x10]
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
lea esi, [esp + 0x278]
mov ecx, ebx
mov edx, 0x101b761c
mov dword [esi + 0x10], eax
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
call sym.__LT_http..method..Method_u20_as_u20_core..cmp..PartialEq_GT_::eq::hb15c8d8f5ff29d91
mov byte [esp + 0x10], al
push 0x88
lea edi, [esp + 0xbc]
push edi
lea eax, [esp + 0x148]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, edi
lea edx, [esp + 0x140]
push esi
call sym.http::request::Builder::and_then::h4c2d3af96c6e67f8
pop eax
cmp word [ebx + 0x44], 0
je 0x100313ee
mov eax, dword [esp + 0x14]
and dword [eax + 8], 0
mov dword [eax + 0xc], 1
and dword [eax + 4], 0
mov dword [eax], 3
jmp 0x10031355
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
and dword [ecx + 4], 0
mov dword [ecx], 3
mov al, 1
mov cl, 1
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x18], cl
xor eax, 3
or eax, dword [esp + 0xbc]
je 0x10031386
lea ecx, [esp + 0xb8]
call sym.core::ptr::drop_in_place_LT_http..request..Parts_GT_::h16a093953e894e25
mov ecx, dword [ebp + 8]
call sym.core::ptr::drop_in_place_LT_http..header..map..HeaderMap_GT_::he97a983049e6b85b
cmp byte [esp + 0x1f], 0xb
jne 0x100313a1
cmp byte [ebx], 0xb
je 0x100313a1
mov ecx, ebx
call sym.core::ptr::drop_in_place_LT_http..method..Method_GT_::h88324839d9d5fea0
cmp dword [ebx + 0x14], 0
setne al
test byte [esp + 0x10], al
je 0x100313b8
lea eax, [ebx + 0x14]
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
cmp dword [ebx + 0x24], 0
setne al
test byte [esp + 0x18], al
je 0x100313cf
lea eax, [ebx + 0x24]
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
cmp dword [ebx + 0x34], 0
setne al
test byte [esp + 0xc], al
je 0x100313e6
add ebx, 0x34
push ebx
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x3c]
mov edi, dword [ebx + 0x24]
and dword [eax - 4], 0
mov dword [eax - 8], 3
and dword [eax], 0
lea eax, [esp + 0x4c]
and dword [eax], 0
lea eax, [ebx + 0x24]
mov dword [esp + 0x60], eax
test edi, edi
je 0x100314c2
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea esi, [esp + 0x140]
lea edx, [esp + 0x1c8]
mov dword [esp + 0x24], edi
mov ecx, esi
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
call sym.__LT_http..byte_str..ByteStr_u20_as_u20_core..clone..Clone_GT_::clone::h9d74cc9e88d4fd2e
mov edx, dword [esp + 0x144]
lea edi, [esp + 0x78]
mov ecx, edi
push dword [esp + 0x148]
call sym.http::uri::authority::create_authority::ha3259f8b7ab9aa3e
pop eax
push esi
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
mov edi, dword [edi]
test edi, edi
je 0x100315ef
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], eax
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..authority..Authority_GT__GT_::h6637d07829a70c32
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x1c8]
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
mov edi, dword [esp + 0x24]
mov dword [esp + 8], 0
jmp 0x100314c8
mov al, 1
mov dword [esp + 8], eax
mov edx, dword [ebx + 0x14]
mov ch, byte [esp + 0x10]
test edi, edi
lea esi, [ebx + 0x14]
sete cl
test edx, edx
sete al
je 0x10031519
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
test ch, ch
movsd qword [esp + 0x1d0], xmm1
movsd qword [esp + 0x1c8], xmm0
je 0x1003158d
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
jmp 0x100316aa
mov dword [esp + 0x30], edx
mov byte [esp + 0x18], cl
test ch, ch
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
je 0x10031626
cmp dword [ebx + 0x34], 0
mov dword [esp + 0x10], eax
je 0x1003176b
lea eax, [ebx + 0x34]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm0
xor eax, eax
inc eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
and dword [ecx + 4], 0
lea eax, [esp + 0x88]
mov dword [ecx], 3
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
mov dword [esp + 0xc], 0
jmp 0x100316d0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1cc]
mov byte [esp + 0x18], cl
mov dword [esp + 0x2c], esi
cmp eax, 5
je 0x1003164d
cmp eax, 4
jne 0x10031677
cmp byte [edx], 0x68
jne 0x1003167c
cmp byte [edx + 1], 0x74
jne 0x1003167c
cmp byte [edx + 2], 0x74
jne 0x1003167c
cmp byte [edx + 3], 0x70
jne 0x1003167c
xor edx, edx
mov cl, 1
xor eax, eax
jmp 0x10031670
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
and dword [ecx + 4], 0
lea eax, [esp + 0x1c8]
mov dword [ecx], 3
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
mov al, 1
mov dword [esp + 8], 0
jmp 0x1003163e
xor eax, eax
inc eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
and dword [ecx + 4], 0
mov al, 1
mov dword [ecx], 3
mov dword [esp + 0xc], eax
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x100316d0
cmp byte [edx], 0x68
jne 0x1003167c
cmp byte [edx + 1], 0x74
jne 0x1003167c
cmp byte [edx + 2], 0x74
jne 0x1003167c
cmp byte [edx + 3], 0x70
jne 0x1003167c
cmp byte [edx + 4], 0x73
jne 0x1003167c
xor eax, eax
mov cl, 1
mov dl, 1
xor esi, esi
jmp 0x10031735
cmp eax, 0x40
ja 0x10031697
xor ecx, ecx
cmp eax, ecx
je 0x100316fc
movzx esi, byte [edx + ecx]
movzx esi, byte [esi + 0x101a16d4]
test esi, esi
je 0x10031697
inc ecx
cmp esi, 0x3a
jne 0x1003167e
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], edx
and dword [ecx + 4], 0
lea eax, [esp + 0x1c8]
mov dword [ecx], 3
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
mov al, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..scheme..Scheme_GT__GT_::h32c096868a4f0ca4
lea ecx, [esp + 0x3c]
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..authority..Authority_GT__GT_::h6637d07829a70c32
lea ecx, [esp + 0x4c]
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..path..PathAndQuery_GT__GT_::h00d97f79b1a66936
cmp byte [esp + 8], 0
setne cl
jmp 0x10031363
lea esi, [esp + 0x140]
mov ecx, esi
push eax
call sym.bytes::bytes::Bytes::copy_from_slice::h29c92cbc1f4176c9
pop eax
push 0x10
pop ecx
push 4
pop edx
call sym.__ZN5alloc5alloc15exchange_malloc17h142decb00e75c662E.1564
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
mov esi, eax
mov cl, 2
xor edx, edx
shr esi, 0x10
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
shl eax, 0x10
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x24], edi
je 0x10031778
movzx edx, dl
movzx edi, cl
mov ecx, dword [esp + 0x34]
shld esi, eax, 0x10
shl eax, 0x10
shl edx, 8
or edi, edx
mov edx, dword [esp + 0x38]
or edi, eax
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..scheme..Scheme_GT__GT_::h32c096868a4f0ca4
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
jmp 0x10031786
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edi
jmp 0x10031884
shld esi, eax, 0x10
movzx ecx, cl
mov edx, esi
call sym.core::ptr::drop_in_place_LT_http..uri..scheme..Scheme_GT_::h2cd1d3fd10e30b77
lea esi, [esp + 0x1c8]
push esi
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
cmp dword [ebx + 0x34], 0
je 0x10031884
lea eax, [ebx + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm0
cmp dword [esp + 0x90], 0
je 0x1003155c
lea edx, [esp + 0x88]
mov ecx, esi
call sym.__LT_http..byte_str..ByteStr_u20_as_u20_core..clone..Clone_GT_::clone::h9d74cc9e88d4fd2e
mov edx, dword [esp + 0x1cc]
lea edi, [esp + 0x140]
mov ecx, edi
push dword [esp + 0x1d0]
call sym.bytes::bytes::Bytes::copy_from_slice::h29c92cbc1f4176c9
pop eax
lea ecx, [esp + 0x64]
mov edx, edi
call sym.http::uri::path::PathAndQuery::from_shared::h4f6407791afeb181
push esi
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
add esp, 4
lea eax, [esp + 0x64]
mov esi, dword [eax]
test esi, esi
je 0x1003155c
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc], eax
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..path..PathAndQuery_GT__GT_::h00d97f79b1a66936
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x88]
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
mov al, 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], eax
jmp 0x10031892
mov al, 1
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
mov cl, byte [esp + 0xc0]
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov byte [esp + 8], cl
mov cl, byte [esp + 0xc1]
mov byte [esp + 7], cl
push 0xb
pop ecx
mov esi, eax
lea edi, [esp + 0x24c]
xor esi, 3
or esi, edx
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
jne 0x10031902
lea esi, [esp + 0x254]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..scheme..Scheme_GT__GT_::h32c096868a4f0ca4
mov ecx, esi
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..authority..Authority_GT__GT_::h6637d07829a70c32
lea ecx, [esp + 0x264]
call sym.core::ptr::drop_in_place_LT_core..option..Option_LT_http..uri..path..PathAndQuery_GT__GT_::h00d97f79b1a66936
xor edi, edi
push 3
pop esi
mov al, byte [esp + 8]
jmp 0x10031a08
push 0xb
pop ecx
lea ebx, [esp + 0x1c8]
lea esi, [esp + 0x34]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14a]
mov dword [ecx - 0xa], eax
mov al, byte [esp + 8]
mov dword [ecx - 6], edx
mov byte [ecx - 2], al
mov al, byte [esp + 7]
mov byte [ecx - 1], al
push 0x7e
lea eax, [esp + 0xc6]
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea esi, [esp + 0x88]
mov edx, ebx
mov ecx, esi
call sym.http::uri::Uri::from_parts::h3af13a15be169c17
mov bl, byte [esi]
mov bh, byte [esi + 1]
cmp bl, 3
jne 0x1003197c
lea ecx, [esp + 0x140]
mov byte [esp + 7], bh
call sym.core::ptr::drop_in_place_LT_http..request..Parts_GT_::h16a093953e894e25
xor edi, edi
push 3
pop esi
mov ebx, dword [esp + 0x20]
mov al, 3
jmp 0x10031a08
lea eax, [esp + 0x8b]
mov cl, byte [eax - 1]
mov byte [esp + 8], cl
push 0x29
pop edi
lea ecx, [esp + 0x293]
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea esi, [esp + 0x180]
mov ecx, esi
call sym.core::ptr::drop_in_place_LT_http..uri..Uri_GT_::h6be8b4948d52ce95
mov al, byte [esp + 8]
mov byte [esi], bl
mov byte [esi + 1], bh
lea ebx, [esp + 0x183]
mov byte [esi + 2], al
push edi
lea eax, [esp + 0x297]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov al, byte [ebx - 0x3b]
mov esi, dword [ebx - 0x43]
mov edi, dword [ebx - 0x3f]
mov byte [esp + 8], al
mov al, byte [ebx - 0x3a]
mov byte [esp + 7], al
push 0x7e
lea eax, [esp + 0x14e]
push eax
lea eax, [esp + 0x1d0]
push eax
call sub.msvcrt.dll_memcpy
mov al, byte [esp + 0x14]
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov cl, byte [esp + 7]
mov byte [esp + 8], al
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edi
mov byte [esp + 0xc0], al
lea eax, [esp + 0x1c8]
mov byte [esp + 0xc1], cl
push 0x7e
push eax
lea eax, [esp + 0xca]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
xor eax, 3
or eax, edi
jne 0x10031a71
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
and dword [ecx + 4], 0
mov dword [ecx], 3
jmp 0x10031386
lea ebx, [esp + 0x14a]
push 0x7e
lea eax, [esp + 0xc6]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov al, byte [esp + 8]
mov cl, byte [esp + 7]
mov dword [ebx - 6], edi
mov dword [ebx - 0xa], esi
mov byte [ebx - 2], al
mov byte [ebx - 1], cl
lea ebx, [esp + 0x140]
mov ecx, ebx
call sym.core::ptr::drop_in_place_LT_http..header..map..HeaderMap_GT_::he97a983049e6b85b
push 0x10
pop ecx
mov esi, dword [ebp + 8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0x88
push ebx
push dword [esp + 0x1c]
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x2c]
jne 0x10031ae0
cmp dword [eax], 0
je 0x10031ae0
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
jne 0x10031afb
cmp dword [eax], 0
je 0x10031afb
push eax
call sym.core::ptr::drop_in_place_LT_bytes..bytes..Bytes_GT_::h3aa660aaac882abc
pop eax
cmp dword [ebx + 0x34], 0
mov ecx, dword [esp + 0x28]
sete al
or cl, al
je 0x100313dc
jmp 0x100313e6