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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x2608
call fcn.00615550
movzx eax, byte [ecx + 0xc1]
mov ebx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 8], ecx
test eax, eax
je 0x406e12
cmp eax, 3
jne 0x406e26
jmp 0x406e9f
call fcn.0041d7b0
mov dword [ebx + 0x90], eax
and dword [ebx + 0x94], 0
jmp 0x406e38
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completion
push 0x636c6c
call fcn.0062d4b0
mov esi, dword [esp + 8]
xor ecx, ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 8]
mov byte [esi + 0xc0], cl
mov ecx, dword [esp + 8]
lea esi, [esp + 0xf0]
lea edi, [edx + 0xac]
lea ebx, [eax + 0xc0]
lea edx, [ecx + 0xa0]
mov ecx, esi
call fcn.005dd7b3
mov eax, dword [esp + 8]
xor ecx, ecx
mov dword [eax], edi
mov eax, dword [esp + 8]
mov byte [eax + 0x58], cl
mov eax, dword [esp + 8]
lea edi, [eax + 0x5c]
push 9
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 8]
mov dword [eax + 0x98], ebx
mov ebx, dword [esp + 8]
mov dword [ebx + 0x9c], ebx
call fcn.005d7a8b
mov edi, eax
mov eax, dword [ebx + 0x9c]
mov esi, dword [ebx + 0x98]
xor ebx, ebx
mov dword [esp + 0xc], eax
add eax, 0x5c
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 4], eax
mov eax, ebx
cmp eax, 2
je 0x406f3a
mov dl, byte [esi]
lea ecx, [edi + eax]
lea ebx, [eax + 1]
test cl, 1
jne 0x406ee0
test dl, 1
jne 0x406ee5
jmp 0x406ee8
test dl, 2
je 0x406f17
inc eax
jmp 0x406ec7
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xf0]
push dword [esp + 0x4c]
call fcn.0041cc6c
pop eax
mov ecx, dword [esp + 0xf0]
cmp ecx, 3
jne 0x4077a7
mov dword [esp + 4], 0
jmp 0x406ec5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
call fcn.005dd7cb
test al, al
mov dword [esp + 4], 0
jne 0x406ec5
mov al, 2
push 3
pop ebx
jmp 0x40781f
push 4
pop ebx
test byte [esp + 4], 1
mov edi, dword [esp + 8]
je 0x40774c
movsd xmm1, qword [esp + 0x15f8]
movsd xmm0, qword [esp + 0x1600]
movsd xmm2, qword [esp + 0x15e8]
mov ecx, edi
movsd qword [esp + 0xe0], xmm1
movsd xmm1, qword [esp + 0x15f0]
movsd qword [esp + 0xe8], xmm0
movsd qword [esp + 0xd0], xmm2
movsd qword [esp + 0xd8], xmm1
call fcn.00415b9d
lea ecx, [ebx - 3]
xor eax, eax
lea edx, [ebx - 2]
cmp ecx, 2
cmovb eax, edx
test eax, eax
jne 0x407753
cmp ebx, 2
jne 0x4070fc
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov eax, dword [0x7f50bc]
cmp eax, 4
jb 0x4070ec
mov esi, dword [0x7f2a60]
lea edi, [esp + 0x50]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi], 4
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
call fcn.00513e14
mov ebx, eax
push edi
push eax
mov dword [esp + 0xc], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4070ec
mov eax, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
mov ecx, dword [0x7f2a60]
mov dword [esp + 0x20], eax
movsd qword [esp + 0x18], xmm0
lea eax, [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0xc], eax
xor eax, eax
test edx, edx
je 0x40705f
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], ecx
and dword [esp + 0x100], 0
lea edi, [esp + 0xf0]
lea ecx, [esp + 0x15e8]
mov dword [edi], eax
mov edx, edi
push 0x636c9c
call fcn.0052f9f9
pop eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0xc4]
mov dword [edi], str.error_receiving_TLS_tcp_stream_error:
lea edx, [esp + 0x15e8]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], fcn.005b02f0
inc eax
mov dword [edi + 4], eax
and dword [edi + 0x10], 0
mov dword [edi + 8], ecx
lea ecx, [esp + 0x1108]
mov dword [edi + 0xc], eax
mov dword [ecx], edx
mov dword [ecx + 4], edi
lea edi, [esp + 0x98]
mov dword [ecx + 8], 0x636700
mov edx, ebx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, esi
mov dword [edi + 8], eax
lea eax, [esp + 0x18]
push edi
push eax
mov eax, dword [esp + 0xc]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
lea eax, [esp + 0x60]
push eax
call fcn.00416dc5
pop eax
jmp 0x406e38
lea edx, [esp + 0xd0]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x18], ebx
movsd xmm0, qword [edx + 0x18]
movsd xmm1, qword [edx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], esi
lea esi, [esp + 0x8c]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esp + 0xa0], xmm1
mov dword [esp + 0x24], ecx
mov ecx, esi
movsd qword [esp + 0xa8], xmm0
movsd xmm0, qword [edx]
movsd qword [esp + 0x98], xmm0
call fcn.005076db
cmp dword [esi], 0x80000000
jne 0x407389
mov edx, dword [esp + 0x90]
mov ecx, 0x80000000
call fcn.00565cb9
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x40], eax
lock inc dword [eax]
jle 0x407857
mov eax, dword [edi + 0xa8]
lock inc dword [eax]
jle 0x407857
movsd xmm1, qword [esp + 0xa8]
movsd xmm0, qword [esp + 0xb0]
movsd xmm2, qword [esp + 0x98]
mov dword [esp + 4], eax
lea eax, [edi + 0x90]
mov edx, dword [0x7f31f4]
mov dword [esp + 0x74], eax
movsd qword [esp + 0x15d8], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 0x15e0], xmm0
movsd qword [esp + 0x15c8], xmm2
movsd qword [esp + 0x15d0], xmm1
mov eax, dword [edi + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x84]
mov edi, dword [edi + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [0x7f31f0]
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x7f31f0]
jne 0x407226
lea esi, [esp + 0x50]
lea ebx, [esp + 0x15e8]
mov dword [esi], eax
lea eax, [esp + 0x1108]
mov dword [esi + 4], edx
push 0x4e0
push eax
push ebx
call fcn.00616830
add esp, 0xc
mov eax, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
mov dword [ebx + 0x4e4], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x4e0], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x4e8], edi
mov dword [ebx + 0xaa0], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0xaa4], eax
mov eax, dword [esp + 0x28]
movsd qword [ebx + 0xaa8], xmm0
movsd qword [ebx + 0xab0], xmm1
mov dword [ebx + 0xab8], eax
mov byte [ebx + 0xabc], 0
mov dword [ebx + 0x1010], esi
call fcn.00421206
test eax, eax
je 0x407859
mov ecx, eax
call fcn.004c850d
mov ebx, dword [eax]
mov esi, eax
mov dword [esp + 0x14], edx
push 0x4e0
lea eax, [esp + 0x110c]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00616830
add esp, 0xc
cmp ebx, 2
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
mov dword [esp + 0x5d4], ebx
mov dword [esp + 0x5d0], eax
mov dword [esp + 0x5d8], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xb90], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0xb94], edi
mov dword [esp + 0xba8], edx
movsd qword [esp + 0xb98], xmm0
movsd qword [esp + 0xba0], xmm1
mov byte [esp + 0xbac], 0
mov dword [esp + 0x1100], ecx
jne 0x40750a
lea ecx, [esp + 0xf0]
call fcn.00415ebc
xor esi, esi
jmp 0x40771b
mov eax, dword [esp + 0x94]
movsd xmm0, qword [esp + 0x8c]
mov dword [esp + 0x88], eax
movsd qword [esp + 0x80], xmm0
mov eax, dword [0x7f50bc]
cmp eax, 2
jb 0x4074e9
mov esi, dword [0x7f2a6c]
lea edi, [esp + 0xb8]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi], 2
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
call fcn.00513e14
mov ebx, eax
push edi
push eax
mov dword [esp + 0xc], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4074e9
mov eax, dword [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
mov ecx, dword [0x7f2a6c]
mov dword [esp + 0x68], eax
movsd qword [esp + 0x60], xmm0
lea eax, [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0xc], eax
xor eax, eax
test edx, edx
je 0x407447
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], ecx
and dword [esp + 0x100], 0
lea edi, [esp + 0xf0]
lea ecx, [esp + 0x15e8]
mov dword [edi], eax
mov edx, edi
push 0x636c7c
call fcn.0052f9f9
pop eax
lea eax, [esp + 0x98]
lea ecx, [esp + 0x1108]
mov dword [edi], str.address_can_not_be_responded_to
mov dword [ecx], eax
lea eax, [esp + 0x80]
mov dword [ecx + 4], fcn.0045bfb0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], fcn.0042120d
push 2
pop eax
mov dword [edi + 4], eax
and dword [edi + 0x10], 0
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
lea eax, [esp + 0x50]
lea ecx, [esp + 0x15e8]
mov edx, ebx
mov dword [eax], ecx
mov dword [eax + 4], edi
lea edi, [esp + 0xc4]
mov dword [eax + 8], 0x636700
mov ecx, esi
mov dword [edi], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 4], 1
mov dword [edi + 8], eax
lea eax, [esp + 0x60]
push edi
push eax
mov eax, dword [esp + 0xc]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
call fcn.00518bab
lea ecx, [esp + 0x18]
call fcn.00417f72
jmp 0x406e38
mov eax, esi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add esi, 4
cmp dword [eax], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
je 0x407623
mov ebx, dword [esi]
lock inc dword [ebx]
jle 0x407857
lea eax, [ebx + 8]
mov dword [esp + 0x30], eax
lea eax, [ebx + 0x90]
mov dword [esp + 0x2c], eax
push 0x40
pop edx
mov ecx, 0x1080
call fcn.0041c1ed
mov dword [eax], 0xcc
and dword [eax + 4], 0
mov dword [eax + 8], 0x637ec8
mov esi, eax
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax + 0x18], ebx
mov eax, dword [esp + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x28]
push 0x4e0
lea ecx, [esp + 0x110c]
push ecx
push eax
call fcn.00616830
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esi + 0x50c], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x508], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x510], eax
mov eax, dword [esp + 4]
mov dword [esi + 0xac8], eax
mov dword [esi + 0xacc], edi
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
movsd qword [esi + 0xad0], xmm0
movsd qword [esi + 0xad8], xmm1
mov eax, dword [esp + 0x28]
mov dword [esi + 0xae0], eax
mov byte [esi + 0xae4], 0
and dword [esi + 0x1038], 0
and dword [esi + 0x103c], 0
and dword [esi + 0x1040], 0
push esi
call fcn.0051b746
pop ecx
mov ecx, dword [esp + 0x30]
mov edx, eax
call fcn.005d9e2e
jmp 0x40771b
mov eax, dword [esi]
mov dword [esp + 0x70], esi
lock inc dword [eax]
jle 0x407857
mov dword [esp + 0x2c], eax
add eax, 8
mov dword [esp + 0x30], eax
push 0x40
pop edx
mov ecx, 0x1080
call fcn.0041c1ed
mov dword [eax], 0xcc
and dword [eax + 4], 0
mov dword [eax + 8], 0x637e28
mov esi, eax
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x28]
push 0x4e0
lea ecx, [esp + 0x110c]
push ecx
push eax
call fcn.00616830
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [esi + 0x50c], ebx
mov ecx, dword [esp + 0x30]
mov edx, esi
mov dword [esi + 0x508], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x510], eax
mov eax, dword [esp + 4]
mov dword [esi + 0xac8], eax
mov dword [esi + 0xacc], edi
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
movsd qword [esi + 0xad0], xmm0
movsd qword [esi + 0xad8], xmm1
mov eax, dword [esp + 0x28]
mov dword [esi + 0xae0], eax
mov byte [esi + 0xae4], 0
and dword [esi + 0x1038], 0
and dword [esi + 0x103c], 0
and dword [esi + 0x1040], 0
push esi
call fcn.0051b746
pop ecx
test eax, eax
je 0x40771b
mov ecx, dword [esp + 0x70]
mov edx, eax
call fcn.005d9ad6
mov eax, dword [esp + 0x14]
dec dword [eax]
test esi, esi
je 0x407869
mov edi, dword [esp + 0x74]
mov edx, esi
mov ecx, edi
call fcn.0041d7dc
mov eax, dword [esi + 8]
push esi
call dword [eax + 0x14]
add esp, 4
mov ecx, edi
call fcn.0050739f
jmp 0x406e38
xor eax, eax
mov cl, 3
inc eax
jmp 0x407797
cmp eax, 1
jne 0x40782a
lea ecx, [edi + 0x90]
call fcn.00418941
lea ecx, [edi + 0xac]
call fcn.004186a9
lea ecx, [edi + 0xa0]
call fcn.00418bf9
lea ecx, [edi + 0xa4]
call fcn.00418a55
lea ecx, [edi + 0xa8]
call fcn.00416e43
xor eax, eax
mov cl, 1
mov byte [edi + 0xc1], cl
mov edx, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xf4]
movsd xmm0, qword [esp + 0x104]
mov ebx, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xf8]
movsd qword [esp + 0x15e8], xmm0
movsd xmm0, qword [esp + 0x10c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x100]
movsd qword [esp + 0x15f0], xmm0
movsd xmm0, qword [esp + 0x114]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xfc]
movsd qword [esp + 0x15f8], xmm0
movsd xmm0, qword [esp + 0x11c]
mov dword [esp + 0x7c], eax
movsd qword [esp + 0x1600], xmm0
mov al, 1
mov edi, dword [esp + 8]
or byte [esi], al
jmp 0x406f4c
lea ecx, [esp + 0xf0]
mov edx, 0x636cdc
mov dword [ecx], 0x636bd4
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x7b0e68
and dword [ecx + 0xc], 0
call fcn.0062d360
ud2
lea ecx, [esp + 0x15e8]
call fcn.00415ebc
mov al, 1
jmp 0x40786b
xor eax, eax
lea ecx, [esp + 0xf0]
mov edx, 0x636c8c
mov byte [ecx], al
call fcn.0062fd72
int3