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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x498
mov ebx, ecx
mov ch, byte [edx + 0x28]
mov edi, edx
xor eax, eax
add ch, 0xfb
movzx edx, ch
inc edx
cmp ch, 2
cmovb eax, edx
test eax, eax
je 0x4f9f02
cmp eax, 1
jne 0x4fa928
push edi
push ebx
call fcn.004e01c6
add esp, 8
jmp 0x4fa687
lea esi, [esp + 0x170]
lea edx, [edi + 0x10]
mov ecx, esi
mov dword [esp + 0xe4], edx
call fcn.004fa988
cmp dword [esi], 0
mov dword [esp + 0x50], edi
je 0x4f9f42
mov eax, dword [esp + 0x174]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], eax
jmp 0x4f9f8b
mov eax, dword [esp + 0x174]
test eax, eax
mov dword [esp + 8], eax
je 0x4fa126
mov edx, dword [esp + 0x17c]
mov ecx, dword [esp + 0x180]
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x184]
mov ecx, dword [esp + 0x188]
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x170]
mov ecx, 0xb
mov edi, edx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov byte [eax + 0x28], 6
cmp byte [edx + 0x28], 5
jae 0x4fa939
lea ecx, [esp + 0x180]
movsd xmm0, qword [ecx - 0x10]
movsd xmm1, qword [ecx - 8]
movsd qword [esp + 0x118], xmm1
movsd qword [esp + 0x110], xmm0
call fcn.004f9cf4
cmp dword [esp + 8], 0
je 0x4fa0ee
mov eax, dword [esp + 0x114]
mov dword [esp + 0xe0], ebx
mov esi, dword [esp + 0x110]
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x5c91e4]
cmp eax, 3
jbe 0x4fa051
lea ecx, [esp + 0x170]
xor eax, eax
mov edx, 4
mov dword [ecx], str.Got_HTTP_response_head
mov dword [ecx + 4], 1
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push 0xf5
push 0x59a55c
call fcn.0046a714
add esp, 8
mov edi, dword [esp + 0x4c]
cmp edi, dword [esp + 4]
ja 0x4fa94f
movsd xmm0, qword [str.failed_to_write_whole_buffer]
movsd xmm1, qword [str.failed_to_write_whole_buffer]
mov eax, 0xfffffce0
mov dword [esp + 0x28], esi
movsd qword [esp + eax + 0x498], xmm0
movsd qword [esp + eax + 0x490], xmm1
add eax, 0x10
jne 0x4fa078
lea edx, [esp + 0x120]
lea eax, [esp + 0x170]
lea esi, [esp + 0x58]
mov byte [edx + 0x14], 0
mov word [edx], 0
mov dword [edx + 0xc], 0
mov dword [edx + 4], eax
mov dword [edx + 8], 0x32
mov ecx, esi
push edi
push dword [esp + 0xc]
call fcn.00463672
add esp, 8
mov eax, dword [esi]
cmp eax, 2
jne 0x4fa112
movzx eax, byte [esp + 0x5c]
xor edx, edx
mov ecx, 4
xor edi, edi
shl eax, 8
or eax, 3
mov dword [esp + 0x10], eax
jmp 0x4fa3d4
lea ecx, [esp + 0x110]
call fcn.004f9d19
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx], 1
jmp 0x4fa687
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4fa132
xor edx, edx
mov ecx, 3
jmp 0x4fa3d8
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
jmp 0x4fa687
mov ecx, dword [esp + 0x5c]
mov edx, edi
sub edx, ecx
jb 0x4fa964
xor edi, edi
cmp word [esp + 0x120], 0
mov eax, 4
mov word [esp + 0x9c], 0xc8
mov byte [esp + 0x9e], 2
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], edi
je 0x4fa972
movzx eax, word [esp + 0x122]
lea ecx, [eax - 0x258]
movzx ecx, cx
cmp ecx, 0xfe0c
jae 0x4fa1d6
mov dword [esp + 0x10], 7
xor esi, esi
jmp 0x4fa3bd
mov edi, dword [esp + 0x128]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xc], ebx
mov word [esp + 0x9c], ax
test edi, edi
je 0x4fa348
mov esi, dword [esp + 0x124]
shl edi, 4
lea ebx, [esp + 0x41]
add edi, esi
mov edx, dword [esi]
lea ecx, [esp + 0x30]
push dword [esi + 4]
call fcn.0045de8c
add esp, 4
mov dl, byte [esp + 0x30]
cmp dl, 2
je 0x4fa382
mov al, byte [ebx - 0xe]
lea ecx, [esp + 0xe9]
mov byte [esp + 0x10], dl
mov byte [esp + 0x56], al
mov byte [ecx + 2], al
movzx eax, word [ebx - 0x10]
mov word [ecx], ax
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xe8], dl
mov word [esp + 0x54], ax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xf4], ecx
lea ecx, [esp + 0x30]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
call fcn.004611c4
add esp, 4
mov al, byte [esp + 0x40]
cmp al, 2
je 0x4fa38f
mov cl, byte [ebx + 2]
lea edx, [esp + 0x10d]
movsd xmm0, qword [esp + 0xe8]
movsd xmm1, qword [esp + 0xf0]
mov byte [edx + 2], cl
movzx ecx, word [ebx]
mov word [edx], cx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x30]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x38]
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0xf8]
mov byte [esp + 0x10c], al
lea eax, [esp + 0xfc]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x58]
push eax
call fcn.004609c3
add esp, 4
add esi, 0x10
cmp esi, edi
jne 0x4fa208
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], ecx
jmp 0x4fa352
mov dword [esp + 0x48], 0
xor edx, edx
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x68]
lea edi, [esp + 0xa0]
mov ecx, 0xe
add eax, dword [esp + 8]
mov dword [esp + 0x20], eax
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
jmp 0x4fa3d8
mov ebx, dword [esp + 0xc]
xor edi, edi
mov eax, 5
jmp 0x4fa3b2
xor edi, edi
cmp byte [esp + 0x10], 0
mov ebx, dword [esp + 0xc]
mov eax, 6
je 0x4fa3b2
lea ecx, [esp + 0xec]
call fcn.0041d4b8
mov eax, 6
mov esi, dword [esp + 0x98]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x58]
call fcn.00462502
mov ecx, esi
call fcn.00462580
xor edx, edx
mov ecx, 4
mov esi, dword [esp + 0x14]
mov eax, ecx
xor eax, 4
or eax, edx
jne 0x4fa418
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x170]
mov dword [ecx + 4], edi
mov dword [ecx], eax
call fcn.004cd0c3
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0x5939a0
mov dword [esp + 0xa0], 0
jmp 0x4fa507
mov dword [esp + 0x24], edi
mov eax, ecx
mov dword [esp + 0xc], ebx
lea edi, [esp + 0x138]
lea esi, [esp + 0xa0]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, 3
or eax, edx
jne 0x4fa471
mov ecx, str.Something_wrong_with_response_HTTP_headSomething_wrong_with_parsing_HTTPHTTP_response_status:
mov edx, 0x27
call fcn.0041b310
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0x547894
mov dword [esp + 0xa0], 0
jmp 0x4fa4ff
mov ebx, ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x180]
lea esi, [esp + 0x138]
mov edi, eax
mov dword [eax - 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax - 4], ecx
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xdc]
mov ecx, dword [esp + 0x20]
test esi, esi
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], esi
mov dword [eax - 0xc], edx
mov dword [eax - 0x10], ebx
je 0x4fa68f
mov ecx, 0x59a5db
mov edx, 0x21
call fcn.0041b310
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x170]
mov dword [esp + 0xa8], 0x547894
mov dword [esp + 0xa0], 0
push eax
call fcn.004f49e2
add esp, 4
mov ecx, dword [esp + 0x1b0]
call fcn.00462580
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov eax, dword [esp]
test eax, eax
je 0x4fa51f
push dword [esp + 8]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
push esi
mov eax, dword [esp + 0x1c]
call dword [eax]
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [eax + 4], 0
je 0x4fa54a
cmp dword [eax + 8], 9
jb 0x4fa53c
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov esi, dword [esp + 0x28]
push esi
mov edi, dword [esp + 0x30]
call dword [edi]
mov eax, edi
add esp, 4
cmp dword [edi + 4], 0
mov edi, ebx
je 0x4fa579
cmp dword [eax + 8], 9
jb 0x4fa56b
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
test edi, edi
je 0x4fa5a8
push edi
mov esi, dword [esp + 0x20]
call dword [esi]
add esp, 4
cmp dword [esi + 4], 0
je 0x4fa5a8
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 9
jb 0x4fa59a
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov edi, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xb4]
movsd xmm0, qword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
test edi, edi
mov dword [esp + 0x60], eax
movsd qword [esp + 0x58], xmm0
mov dword [esp + 8], ecx
je 0x4fa60a
mov eax, dword [esp + 0x60]
movsd xmm0, qword [esp + 0x58]
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x178], eax
movsd qword [esp + 0x170], xmm0
jmp 0x4fa618
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 0x18], ebx
inc eax
mov dword [esp + 4], eax
mov esi, dword [esp + 0x50]
mov ecx, esi
call fcn.004f9cae
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0xe4]
movsd xmm0, qword [esp + 0x58]
mov dword [esi], 0
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [ecx + 8], edx
movsd qword [ecx], xmm0
mov byte [esi + 0x28], 5
mov ecx, dword [esp + 0xe0]
mov esi, dword [esp + 4]
mov edx, dword [esp]
movsd xmm0, qword [esp + 0x170]
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x178]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x18], edx
movsd qword [ecx + 0x10], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x58]
lea esi, [esp + 0x170]
mov ecx, 0x12
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movzx eax, word [eax + 0x44]
mov word [esp + 0xfc], ax
mov eax, dword [0x5c91e4]
cmp eax, 3
jb 0x4fa710
lea eax, [esp + 0xfc]
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x120]
mov dword [esp + 0x120], eax
xor eax, eax
mov dword [esp + 0x124], 0x45ebe0
mov dword [ecx], 0x59a614
inc eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov edx, 3
push 0x104
push 0x59a55c
call fcn.0046a714
add esp, 8
mov eax, dword [0x5c91e4]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
cmp eax, 3
jbe 0x4fa7bf
lea eax, [esp + 0x30]
lea ecx, [esp + 0x58]
xor edx, edx
mov dword [eax], ecx
mov ecx, 2
inc edx
mov dword [eax + 4], 0x4f4a9b
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x120]
mov dword [esp + 0xac], 6
mov dword [esp + 0xb0], 0x20
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 4
mov byte [esp + 0xbc], 3
mov dword [ecx], str.failed_to_write_whole_buffer
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea eax, [esp + 0xa0]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edx, 4
push 0x105
push 0x59a55c
call fcn.0046a714
add esp, 8
movzx eax, word [esp + 0xfc]
add eax, 0xffffff9c
movzx eax, ax
cmp eax, 0xc8
jae 0x4fa831
lea eax, [esp + 0x58]
push eax
call fcn.004f49e2
add esp, 4
mov ecx, dword [esp + 0x98]
call fcn.00462580
mov eax, dword [esp + 4]
sub eax, edi
mov dword [esp + 0x138], eax
jne 0x4fa87b
lea ecx, [esp + 0xa0]
mov edx, esi
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x28]
call fcn.004fac94
add esp, 0x14
cmp dword [esp], 0
je 0x4fa5a8
push dword [esp + 8]
jmp 0x4fa59b
mov ecx, str.HTTP_response_indicates_failure_bytes_of_debt_to_be_read
mov edx, 0x1f
call fcn.0041b310
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xa8], 0x547894
mov dword [esp + 0xa0], 0
push eax
call fcn.004f49e2
add esp, 4
mov ecx, dword [esp + 0x98]
call fcn.00462580
jmp 0x4fa507
mov ecx, dword [0x5c91e4]
cmp ecx, 4
jb 0x4fa8e0
lea eax, [esp + 0x138]
lea ecx, [esp + 0x170]
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov dword [ecx], str.failed_to_write_whole_buffer
mov dword [ecx + 4], 2
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 1
mov dword [esp + 0x5c], fcn.004444a0
mov dword [ecx + 0x10], 0
mov edx, 4
push 0x110
push 0x59a55c
call fcn.0046a714
add esp, 8
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x170]
mov dword [edx], ecx
mov ecx, dword [esp]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 4]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 0x14], eax
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], ecx
lea ecx, [esp + 0xa0]
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.004fabf0
add esp, 0x10
jmp 0x4fa5a8
mov ecx, str.cannot_poll_a_chained_future_twice
mov edx, 0x22
push 0x5a3d04
jmp 0x4fa948
mov ecx, 0x5a3cc0
mov edx, 0xe
push 0x5a3cd0
call fcn.004bb0d7
jmp 0x4fa95f
mov edx, dword [esp + 4]
mov ecx, edi
push 0x59a5a4
call fcn.00445020
add esp, 4
ud2
mov edx, edi
push 0x5552a0
call fcn.00444cf0
jmp 0x4fa95f
mov ecx, str.called__Option::unwrap____on_a__None__value_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_url_1.7.2_src_lib.rsURL_has_no_host
mov edx, 0x2b
push 0x5552b0
call fcn.00445340
jmp 0x4fa95f