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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x3d8
mov eax, dword [edx]
mov edi, ecx
mov ebx, edx
lea ecx, [eax - 6]
cmp ecx, 3
setb dl
cmp ecx, 1
setne cl
test dl, cl
jne 0x496a6f
mov ecx, edi
jmp 0x49722f
cmp eax, 6
jne 0x49725d
mov eax, dword [ebx + 8]
mov dword [ebx], 8
cmp eax, 1
ja 0x49726f
lea ecx, [ebx + 8]
lea eax, [esp + 0x1f8]
push 0x138
mov dword [esp + 8], ecx
push ecx
push eax
call sym._memcpy
add esp, 0xc
movzx eax, byte [esp + 0x32c]
mov edx, dword [esp + 0x328]
lea esi, [esp + 0x2b8]
lea ecx, [esp + 0x330]
push eax
push esi
call sym.hyper_util::client::legacy::pool::Pool_LT_T_C_K_GT_::connecting::h22e5a078e49637e8
add esp, 8
cmp byte [esp + 0x330], 3
mov dword [esp + 0x3c], edi
jne 0x496b0f
lea ecx, [esp + 0x1f8]
call sym.__ZN4core3ptr173drop_in_place_LT_hyper_util..client..legacy..client..Client_LT_reqwest..connect..Connector_C_reqwest..async_im
mov dword [esp + 0x14], 5
mov dword [esp + 0xc], 0
mov byte [esp + 1], 2
mov byte [esp + 2], 2
mov dword [esp + 0x10], 0
jmp 0x496de5
movsd xmm0, qword [esp + 0x340]
mov eax, dword [esp + 0x348]
movsd xmm1, qword [esp + 0x338]
lea edi, [esp + 0x330]
lea esi, [esp + 0x1f8]
mov ecx, 0x14
movsd qword [esp + 0x138], xmm0
movsd xmm0, qword [esp + 0x330]
mov dword [esp + 0x140], eax
movsd qword [esp + 0x130], xmm1
movsd qword [esp + 0x128], xmm0
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x324]
movsd xmm2, qword [esp + 0x314]
movsd xmm1, qword [esp + 0x30c]
movsd xmm0, qword [esp + 0x31c]
mov edi, dword [esp + 0x328]
cmp byte [esp + 0x2b8], 2
mov dword [esp + 0x1d0], eax
movzx eax, byte [esp + 0x32d]
movsd qword [esp + 0x1c0], xmm2
movsd qword [esp + 0x1b8], xmm1
movsd xmm2, qword [esp + 0x304]
movsd xmm1, qword [esp + 0x2fc]
movsd qword [esp + 0x1c8], xmm0
mov byte [esp + 3], al
mov eax, dword [esp + 0x248]
movsd qword [esp + 0x1b0], xmm2
movsd qword [esp + 0x1a8], xmm1
movsd xmm2, qword [esp + 0x250]
movsd xmm1, qword [esp + 0x258]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24c]
movsd qword [esp + 0x110], xmm2
movsd qword [esp + 0x118], xmm1
movsd xmm2, qword [esp + 0x2ad]
movsd xmm1, qword [esp + 0x265]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x260]
movsd qword [esp + 0x198], xmm2
movsd qword [esp + 0x1d8], xmm1
movsd xmm2, qword [esp + 0x26d]
movsd xmm1, qword [esp + 0x275]
mov byte [esp + 0x120], al
movzx eax, byte [esp + 0x261]
movsd qword [esp + 0x1e0], xmm2
movsd qword [esp + 0x1e8], xmm1
movsd xmm2, qword [esp + 0x27c]
movsd xmm1, qword [esp + 0x285]
mov byte [esp + 2], al
mov eax, dword [esp + 0x2b4]
movsd qword [esp + 0x1ef], xmm2
movsd qword [esp + 0x170], xmm1
movsd xmm2, qword [esp + 0x28d]
movsd xmm1, qword [esp + 0x295]
mov dword [esp + 0x19f], eax
mov eax, dword [esp + 0x2f8]
movsd qword [esp + 0x178], xmm2
movsd qword [esp + 0x180], xmm1
movsd xmm2, qword [esp + 0x29d]
movsd xmm1, qword [esp + 0x2a5]
mov dword [esp + 0x168], eax
movzx eax, word [esp + 0x262]
movsd qword [esp + 0x188], xmm2
movsd qword [esp + 0x190], xmm1
movsd xmm2, qword [esp + 0x2f0]
movsd xmm1, qword [esp + 0x2e8]
mov word [esp + 0xa], ax
movzx eax, byte [esp + 0x284]
movsd qword [esp + 0x160], xmm2
movsd qword [esp + 0x158], xmm1
movsd xmm2, qword [esp + 0x2e0]
movsd xmm1, qword [esp + 0x2d8]
mov byte [esp + 1], al
movzx eax, byte [esp + 0x264]
movsd qword [esp + 0x150], xmm2
movsd qword [esp + 0x148], xmm1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2d0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2d4]
mov dword [esp + 0x24], eax
jb 0x496dbe
mov esi, dword [esp + 0x2bc]
mov eax, dword [esi]
lea ecx, [esi + 0xc]
mov eax, dword [eax + 0x10]
push dword [esi + 8]
push dword [esi + 4]
push ecx
call eax
add esp, 0xc
push esi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x2c0]
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x2cc]
push dword [esp + 0x2c8]
push dword [esp + 0x2c8]
push eax
call dword [ecx + 0x10]
add esp, 0xc
movsd xmm1, qword [esp + 0x118]
movsd xmm2, qword [esp + 0x1ef]
movzx eax, byte [esp + 0x120]
movsd xmm3, qword [esp + 0x1d8]
movsd xmm0, qword [esp + 0x110]
lea edi, [esp + 0x380]
lea esi, [esp + 0x330]
mov ecx, 0x14
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [esp + 0x1e8]
movsd qword [esp + 0x107], xmm2
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x19f]
movsd xmm2, qword [esp + 0x198]
movsd qword [esp + 0xf0], xmm3
movsd xmm3, qword [esp + 0x170]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x100], xmm1
movsd xmm1, qword [esp + 0x1e0]
mov dword [esp + 0xb7], eax
movsd qword [esp + 0xb0], xmm2
movsd xmm2, qword [esp + 0x188]
mov eax, dword [esp + 0x168]
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0xf8], xmm1
movsd xmm1, qword [esp + 0x190]
movsd qword [esp + 0xa0], xmm2
movsd xmm2, qword [esp + 0x160]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x140]
movsd qword [esp + 0xa8], xmm1
movsd xmm1, qword [esp + 0x180]
movsd qword [esp + 0x78], xmm2
movsd xmm2, qword [esp + 0x148]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1d0]
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [esp + 0x178]
movsd qword [esp + 0x60], xmm2
movsd xmm2, qword [esp + 0x128]
mov dword [esp + 0xe8], eax
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x158]
movsd qword [esp + 0x40], xmm2
movsd xmm2, qword [esp + 0x1c0]
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [esp + 0x150]
movsd qword [esp + 0xd8], xmm2
movsd xmm2, qword [esp + 0x1a8]
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esp + 0x138]
movsd qword [esp + 0xc0], xmm2
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esp + 0x130]
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [esp + 0x1c8]
movsd qword [esp + 0xe0], xmm1
movsd xmm1, qword [esp + 0x1b8]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [esp + 0x1b0]
movsd qword [esp + 0xc8], xmm1
rep movsd dword es:[edi], dword [esi]
mov ecx, 1
mov eax, dword [ebx]
lea edx, [eax - 6]
cmp edx, 3
cmovb ecx, edx
cmp ecx, 1
je 0x496ffa
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
test ecx, ecx
jne 0x497031
mov ecx, edi
call sym.__ZN4core3ptr173drop_in_place_LT_hyper_util..client..legacy..client..Client_LT_reqwest..connect..Connector_C_reqwest..async_im
jmp 0x497031
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
cmp eax, 5
jne 0x49701f
movzx eax, byte [ebx + 0x3c]
lea ecx, [ebx + 4]
cmp eax, 2
je 0x497028
cmp eax, 3
je 0x497031
call sym.__ZN4core3ptr224drop_in_place_LT_hyper_util..client..legacy..pool..Pooled_LT_hyper_util..client..legacy..client..PoolClient_LT
jmp 0x497031
mov ecx, ebx
call sym.__ZN4core3ptr1262drop_in_place_LT_futures_util..future..try_future..try_flatten..TryFlatten_LT_futures_util..future..try_futur
jmp 0x497031
push ecx
call sym.core::ptr::drop_in_place_LT_hyper_util..client..legacy..client..Error_GT_::h1c7e29cafdeb716a
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x107]
movsd xmm3, qword [esp + 0x40]
mov ecx, 0x14
mov dword [ebx], edx
mov dword [ebx + 4], eax
movzx eax, byte [esp + 0x38]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
movsd xmm1, qword [esp + 0xf8]
movsd xmm0, qword [esp + 0xf0]
cmp edx, 6
mov byte [edi + 0x10], al
movzx eax, byte [esp + 2]
lea edi, [ebx + 0xf0]
mov byte [ebx + 0x19], al
movzx eax, word [esp + 0xa]
mov word [ebx + 0x1a], ax
mov eax, dword [esp + 0xc]
mov byte [ebx + 0x1c], al
movsd qword [ebx + 0x25], xmm1
movsd xmm1, qword [esp + 0x100]
movzx eax, byte [esp + 1]
movsd qword [ebx + 0x1d], xmm0
movsd qword [ebx + 0x2d], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [ebx + 0x34], xmm2
mov byte [ebx + 0x3c], al
movsd xmm2, qword [esp + 0x88]
mov eax, dword [esp + 0xb7]
movsd qword [ebx + 0x65], xmm1
movsd xmm1, qword [esp + 0x90]
mov dword [ebx + 0x6c], eax
movsd qword [ebx + 0x3d], xmm2
movsd xmm2, qword [esp + 0xa0]
mov eax, dword [esp + 0x20]
movsd qword [ebx + 0x45], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [ebx + 0x55], xmm2
movsd xmm2, qword [esp + 0x78]
movsd qword [ebx + 0x4d], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [ebx + 0x5d], xmm1
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x24]
movsd xmm1, qword [esp + 0x70]
mov dword [ebx + 0x74], eax
mov eax, dword [esp + 0x80]
movsd qword [ebx + 0x88], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [ebx + 0x90], xmm2
movsd xmm2, qword [esp + 0x60]
mov dword [ebx + 0x98], eax
movsd qword [ebx + 0x80], xmm1
movsd xmm1, qword [esp + 0x48]
mov eax, dword [esp + 0x58]
movsd qword [ebx + 0x78], xmm2
movsd xmm2, qword [esp + 0x50]
movsd qword [ebx + 0x9c], xmm3
movsd qword [ebx + 0xa4], xmm1
mov dword [ebx + 0xb4], eax
movzx eax, byte [esp + 3]
movsd xmm1, qword [esp + 0xe0]
movsd qword [ebx + 0xac], xmm2
mov dword [ebx + 0xb8], esi
movsd xmm2, qword [esp + 0xd8]
lea esi, [esp + 0x380]
mov byte [ebx + 0xbc], al
mov dword [ebx + 0xc0], 0
movsd qword [ebx + 0xe4], xmm1
movsd xmm1, qword [esp + 0xd0]
mov eax, dword [esp + 0xe8]
movsd qword [ebx + 0xdc], xmm2
movsd xmm2, qword [esp + 0xc0]
movsd qword [ebx + 0xd4], xmm1
movsd xmm1, qword [esp + 0xc8]
mov dword [ebx + 0xec], eax
movsd qword [ebx + 0xc4], xmm2
movsd qword [ebx + 0xcc], xmm1
rep movsd dword es:[edi], dword [esi]
jae 0x497244
mov ecx, dword [esp + 0x3c]
mov edx, ebx
push dword [ebp + 8]
call sym.__ZN98__LT_futures_util..future..either..Either_LT_A_C_B_GT__u20_as_u20_core..future..future..Future_GT_4poll17he7dcdbace5fd31
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp edx, 7
je 0x49722b
mov ecx, str.internal_error:_entered_unreachable_code_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.41.1_src_runtime_blocking_schedule.rsP__
mov edx, 0x28
push 0x5aa660
call sym.core::panicking::panic::hf6244c8fb5815825
cmp eax, 7
jne 0x497269
mov ecx, ebx
call sym.__ZN4core3ptr1262drop_in_place_LT_futures_util..future..try_future..try_flatten..TryFlatten_LT_futures_util..future..try_futur
mov dword [ebx], 8
lea eax, [esp + 0x18]
mov dword [esp + str.internal_error:_entered_unreachable_code:_lazy_state_wrong], 0x5aa6ac
mov dword [esp + 0x334], 1
mov dword [esp + 0x340], 0
mov dword [esp + 0x338], eax
mov dword [esp + 0x33c], 0
lea ecx, [esp + 0x330]
mov edx, 0x5aa6b4
call sym.core::panicking::panic_fmt::hced28cb7137b21e1
mov dword [esp + 4], eax
push esi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x2c0]
lea ecx, [esp + 0x2cc]
mov eax, dword [eax + 0x10]
push dword [esp + 0x2c8]
push dword [esp + 0x2c8]
push ecx
call eax
add esp, 0xc
jmp 0x4972ff
push dword [esp + 4]
call sym.__Unwind_Resume
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x107]
movsd xmm3, qword [esp + 0x40]
mov ecx, 0x14
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 4], eax
movzx eax, byte [esp + 0x38]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
movsd xmm1, qword [esp + 0xf8]
movsd xmm0, qword [esp + 0xf0]
mov byte [edi + 0x10], al
movzx eax, byte [esp + 2]
mov byte [ebx + 0x19], al
movzx eax, word [esp + 0xa]
mov word [ebx + 0x1a], ax
mov eax, dword [esp + 0xc]
mov byte [ebx + 0x1c], al
movsd qword [ebx + 0x25], xmm1
movsd xmm1, qword [esp + 0x100]
movzx eax, byte [esp + 1]
movsd qword [ebx + 0x1d], xmm0
movsd qword [ebx + 0x2d], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [ebx + 0x34], xmm2
mov byte [ebx + 0x3c], al
movsd xmm2, qword [esp + 0x88]
mov eax, dword [esp + 0xb7]
movsd qword [ebx + 0x65], xmm1
movsd xmm1, qword [esp + 0x90]
mov dword [ebx + 0x6c], eax
movsd qword [ebx + 0x3d], xmm2
movsd xmm2, qword [esp + 0xa0]
mov eax, dword [esp + 0x20]
movsd qword [ebx + 0x45], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [ebx + 0x55], xmm2
movsd xmm2, qword [esp + 0x78]
movsd qword [ebx + 0x4d], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [ebx + 0x5d], xmm1
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x24]
movsd xmm1, qword [esp + 0x70]
mov dword [ebx + 0x74], eax
mov eax, dword [esp + 0x80]
movsd qword [ebx + 0x88], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [ebx + 0x90], xmm2
movsd xmm2, qword [esp + 0x60]
mov dword [ebx + 0x98], eax
movsd qword [ebx + 0x80], xmm1
mov eax, dword [esp + 0x58]
movsd xmm1, qword [esp + 0x48]
movsd qword [ebx + 0x78], xmm2
movsd xmm2, qword [esp + 0x50]
movsd qword [ebx + 0x9c], xmm3
mov dword [ebx + 0xb4], eax
movsd qword [ebx + 0xa4], xmm1
movzx eax, byte [esp + 3]
movsd xmm1, qword [esp + 0xe0]
movsd qword [ebx + 0xac], xmm2
mov dword [ebx + 0xb8], esi
movsd xmm2, qword [esp + 0xd8]
lea esi, [esp + 0x380]
mov byte [ebx + 0xbc], al
mov dword [ebx + 0xc0], 0
movsd qword [ebx + 0xe4], xmm1
movsd xmm1, qword [esp + 0xd0]
mov eax, dword [esp + 0xe8]
movsd qword [ebx + 0xdc], xmm2
movsd xmm2, qword [esp + 0xc0]
movsd qword [ebx + 0xd4], xmm1
movsd xmm1, qword [esp + 0xc8]
mov dword [ebx + 0xec], eax
movsd qword [ebx + 0xc4], xmm2
movsd qword [ebx + 0xcc], xmm1
add ebx, 0xf0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push dword [esp + 4]
call sym.__Unwind_Resume
mov dword [esp + 4], eax
mov eax, dword [esp + 0x328]
test eax, eax
je 0x49752c
lock dec dword [eax]
jne 0x49752c
mov ecx, dword [esp + 0x328]
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h1ee3d91f184a6f4a
mov ecx, esi
call sym.core::ptr::drop_in_place_LT__LP_http..uri..scheme..Scheme_C_http..uri..authority..Authority_RP__GT_::h74af49180b14d514
lea ecx, [esp + 0x1f8]
call sym.core::ptr::drop_in_place_LT_reqwest..connect..Connector_GT_::h69d1151bf69cbc79
lea ecx, [esp + 0x2fc]
call sym.core::ptr::drop_in_place_LT_http..uri..Uri_GT_::h48cefbc673772432
lea ecx, [esp + 0x248]
call sym.__ZN4core3ptr94drop_in_place_LT_hyper..client..conn..http2..Builder_LT_hyper_util..common..exec..Exec_GT__GT_17h9bd33627633960
mov eax, dword [esp + 0x2d0]
lock dec dword [eax]
jne 0x4972ff
mov edx, dword [esp + 0x2d4]
mov ecx, dword [esp + 0x2d0]
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h19026b6b64bf7a00
jmp 0x4972ff