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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov esi, ecx
lea ecx, [esp + 0x70]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
call fcn.0052e310
test al, 1
je 0x53a84f
mov byte [esp + 0x20], 1
push 0x18
pop eax
mov ecx, str.unexpected_end_of_packet
jmp 0x53a8ad
mov ebx, edx
test dl, 0x40
jne 0x53a86b
cmp byte [ebp + 0x14], 0
jne 0x53a86b
mov byte [esp + 0x20], 1
push 0xf
pop eax
mov ecx, str.fixed_bit_unsetcid_out_of_boundsmalformed_cidtoken_out_of_boundspacket_number_too_large_to_encode
jmp 0x53a8ad
test bl, bl
js 0x53a98a
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
xor edi, edi
mov edx, eax
sub edx, ecx
neg edx
cmp eax, ecx
mov eax, dword [esp + 0x84]
sbb eax, 0
mov eax, dword [ebp + 8]
cmovb edi, edx
cmp edi, eax
jae 0x53a9bd
mov byte [esp + 0x20], 1
push 0x11
pop eax
mov ecx, 0x7679e7
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov cl, byte [esp + 0xa]
movsd xmm1, qword [esp + 0x40]
movsd xmm0, qword [esp + 0x20]
mov byte [esp + 0x36], cl
mov ecx, dword [esp + 0x48]
movsd qword [esp + 0xc8], xmm1
movsd qword [esi + 4], xmm0
movsd qword [esp + 0xd8], xmm0
movsd xmm1, qword [esp + 0xc8]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xd0]
mov dword [esi + 0xc], ecx
movsd qword [esi + 0x19], xmm1
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x21], edx
mov dl, byte [esp + 0x36]
mov byte [esi + 0x2a], dl
movzx edx, word [esp + 8]
mov word [esp + 0x34], dx
movzx edx, word [esp + 0x34]
mov word [esi + 0x28], dx
mov edx, edi
mov word [esi + 0x10], bx
mov byte [esi + 0x12], ah
mov word [esi + 0x13], di
mov bl, byte [esp + 1]
shr edx, 0x10
mov byte [esi + 0x15], dl
mov byte [esi + 0x16], al
movzx eax, word [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov word [esi + 0x17], ax
mov eax, dword [esp + 0xc]
mov byte [esi + 0x27], al
mov eax, dword [esp + 0x10]
mov word [esi + 0x25], ax
mov byte [esi + 0x2b], bl
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov byte [esi], 5
lea ecx, [esp + 0x70]
call fcn.00455d6a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x28]
lea ecx, [esp + 0x70]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x50], eax
call fcn.0052e3a1
test eax, eax
je 0x53ac04
mov byte [esp + 0x20], 1
push 0x18
pop edi
mov edx, str.unexpected_end_of_packet
jmp 0x53af33
lea edi, [esp + 0x90]
lea edx, [esp + 0x70]
mov ecx, edi
push eax
call fcn.0053b32d
pop eax
mov al, byte [edi]
movzx ecx, word [edi + 0x12]
movsd xmm0, qword [edi + 3]
shr bl, 5
and bl, 1
mov byte [esp + 0xc], bl
mov bl, 3
mov byte [esp + 0x38], al
movzx eax, word [edi + 1]
movsd qword [esp + 0x20], xmm0
mov word [esp + 0x2c], ax
mov eax, dword [edi + 0xb]
mov dword [esp + 0x28], eax
movzx eax, word [edi + 0xf]
mov word [esp + 2], ax
mov al, byte [edi + 0x11]
mov byte [esp + 1], al
movzx eax, byte [edi + 0x14]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
mov al, byte [esp + 0xa]
movzx ecx, word [esp + 8]
mov edx, dword [esp + 0x48]
movzx edi, byte [esp + 7]
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x40]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x36], al
mov eax, dword [esp + 0x28]
mov word [esp + 0x34], cx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xb0], edx
movzx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x74]
shl edi, 0x10
test bl, bl
movsd qword [esp + 0xd8], xmm0
movsd qword [esp + 0xc8], xmm1
movsd qword [esp + 0xb8], xmm0
movsd qword [esp + 0xa8], xmm1
mov dword [esp + 0xe0], eax
mov dword [esp + 0xc0], eax
mov al, byte [esp + 0x36]
mov byte [esp + 0x4e], al
movzx eax, word [esp + 0x34]
mov word [esp + 0x4c], ax
mov eax, dword [esp + 0x50]
je 0x53aac8
movzx eax, byte [esp + 0x10]
cmp eax, 1
mov eax, edx
jne 0x53aacf
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x80]
or edi, ecx
xor ebx, ebx
cmp edx, eax
mov ecx, 0xff
setne bl
cmovae ecx, ebx
test cl, cl
je 0x53ae24
mov bl, byte [esp + 1]
movzx ecx, cl
cmp ecx, 1
jne 0x53af0f
lea ecx, [esp + 0x90]
lea edx, [esp + 0x70]
push eax
call fcn.00455969
pop eax
mov eax, dword [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xb0]
movsd qword [esi + 4], xmm0
movsd xmm0, qword [esp + 0xa8]
mov dword [esi + 0x21], eax
movzx eax, word [esp + 0x4c]
movsd qword [esi + 0x19], xmm0
mov word [esi + 0x28], ax
lea eax, [esp + 0x70]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd xmm2, qword [eax + 0x10]
mov al, byte [esp + 0x4e]
mov byte [esi + 0x2a], al
mov eax, dword [esp + 0x10]
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x50], xmm2
movsd qword [esi + 0x40], xmm0
mov byte [esi], al
mov al, byte [esp + 0x38]
mov byte [esi + 1], al
movzx eax, word [esp + 0x2c]
mov word [esi + 2], ax
movzx eax, word [esp + 2]
mov word [esi + 0x10], ax
mov eax, ecx
mov byte [esi + 0x12], bl
mov word [esi + 0x13], cx
mov bl, byte [esp]
mov ecx, dword [esp + 0x64]
shr eax, 0x10
mov byte [esi + 0x15], al
mov al, byte [esp + 0xc]
mov byte [esi + 0x16], al
movzx eax, word [esp + 4]
mov word [esi + 0x17], ax
mov eax, edi
mov word [esi + 0x25], di
shr eax, 0x10
mov byte [esi + 0x27], al
mov byte [esi + 0x2b], bl
mov dword [esi + 0x2c], edx
mov dword [esi + 0x34], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x30], edx
mov dword [esi + 0x3c], ecx
lea ecx, [esp + 0x90]
mov edx, dword [esp + 0x50]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esi + 0x38], edx
movsd qword [esi + 0x60], xmm1
movsd qword [esi + 0x58], xmm0
jmp 0x53a982
lea edi, [esp + 0x90]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x70]
mov ecx, edi
call fcn.0053b394
cmp byte [edi], 0
je 0x53af26
lea edi, [esp + 0x90]
mov byte [esp + 0xc], bl
mov al, byte [edi + 3]
movzx edx, byte [edi + 0x15]
movzx ecx, word [edi + 0x13]
movzx ebx, word [edi + 0xc]
mov byte [esp + 0x1a], al
movzx eax, word [edi + 1]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x70]
mov ecx, edi
mov word [esp + 0x18], ax
mov eax, dword [edi + 4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x5c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 0xf]
mov word [esp + 0x14], ax
mov al, byte [edi + 0x11]
mov byte [esp + 0x16], al
mov al, byte [edi + 0x12]
mov byte [esp + 1], al
call fcn.0053b394
cmp byte [edi], 0
je 0x53af26
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
movzx ecx, word [esp + 0x9f]
movzx edi, word [esp + 0xa3]
shl eax, 0x10
or ebx, eax
mov eax, dword [esp + 0x2c]
shl eax, 0x10
or edx, eax
mov al, byte [esp + 0x93]
mov byte [esp + 0x1e], al
movzx eax, word [esp + 0x91]
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x60], eax
movzx eax, word [esp + 0x9c]
mov word [esp + 2], ax
movzx eax, byte [esp + 0xa1]
shl eax, 0x10
or ecx, eax
mov al, byte [esp + 0xa2]
mov ah, byte [esp + 0x9e]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
mov byte [esp + 7], al
mov al, byte [esp + 0xa5]
test ecx, ecx
mov byte [esp], al
je 0x53af5f
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0xc]
mov word [esp + 0x2c], di
mov dword [esp + 0x10], ebx
mov byte [esp + 4], ah
push dword [ebp + 0x10]
call fcn.00527b78
pop ecx
mov cl, byte [esp + 0xc]
test al, al
je 0x53b014
shr cl, 1
mov ebx, 0x3000102
and cl, 0x18
shr ebx, cl
mov eax, ebx
add al, 0xfe
movzx ecx, al
cmp al, 2
push 2
pop eax
cmovb eax, ecx
mov ecx, dword [esp + 0x30]
mov dl, byte [esp]
mov dh, byte [esp + 4]
mov edi, dword [esp + 0x60]
cmp al, 2
je 0x53b099
movzx eax, al
cmp eax, 1
jne 0x53b175
mov eax, dword [esp + 0x10]
mov bl, 2
mov word [esp + 0x28], ax
shr eax, 0x10
mov byte [esp + 0x2a], al
movzx eax, word [esp + 2]
mov word [esp + 0x48], ax
movzx eax, word [esp + 0x2c]
mov byte [esp + 0x4a], dh
mov byte [esp + 0x4b], cl
shr ecx, 8
mov dword [esp + 0x30], ecx
mov word [esp + 8], ax
mov al, byte [esp + 0x14]
mov byte [esp + 0xa], dl
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x18]
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x19]
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
movzx eax, word [esp + 0x15]
mov word [esp + 2], ax
mov al, byte [esp + 0x1c]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0x1d]
mov dword [esp + 0x44], edi
mov word [esp + 4], ax
jmp 0x53b00f
mov eax, dword [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
movsd xmm1, qword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
mov bl, byte [esp]
mov edx, dword [esp + 0x68]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xb0]
movsd qword [esi + 4], xmm0
movsd xmm0, qword [esp + 0xa8]
mov dword [esi + 0x21], eax
movzx eax, word [esp + 0x4c]
movsd qword [esi + 0x19], xmm0
movsd xmm0, qword [esp + 0x70]
mov word [esi + 0x28], ax
mov al, byte [esp + 0x4e]
mov byte [esi + 0x2a], al
movsd qword [esi + 0x40], xmm0
movsd xmm0, qword [esp + 0x80]
mov eax, dword [esp + 0x10]
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x50], xmm0
mov byte [esi], al
mov al, byte [esp + 0x38]
mov byte [esi + 1], al
movzx eax, word [esp + 0x2c]
mov word [esi + 2], ax
movzx eax, word [esp + 2]
mov word [esi + 0x10], ax
mov al, byte [esp + 1]
mov byte [esi + 0x12], al
mov eax, ecx
mov word [esi + 0x13], cx
mov ecx, dword [esp + 0x6c]
shr eax, 0x10
mov byte [esi + 0x15], al
mov al, byte [esp + 0xc]
mov byte [esi + 0x16], al
movzx eax, word [esp + 4]
mov word [esi + 0x17], ax
mov eax, edi
mov word [esi + 0x25], di
shr eax, 0x10
mov byte [esi + 0x27], al
mov byte [esi + 0x2b], bl
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x30], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
and dword [esi + 0x58], 0
jmp 0x53a982
mov byte [esi + 4], 1
mov dword [esi + 8], str.packet_too_short_to_contain_payload_lengthC:Users9B6E629E7D13D387.cargo_registry_src_rsproxy.cn_0dccff568467c15bquinn_proto_0.10.6_srcpacket.rs
mov dword [esi + 0xc], 0x2a
jmp 0x53a976
mov byte [esp + 0x20], 1
push 0xd
pop edi
mov edx, 0x7679f8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], ebx
movzx ebx, word [esp + 2]
mov dword [eax], edx
mov eax, dword [esp + 0x38]
mov dword [eax], edi
mov edi, dword [esp + 0x30]
mov ah, byte [esp + 4]
mov al, cl
jmp 0x53a8bd
mov al, byte [esp + 0x1a]
movzx ecx, byte [esp + 1]
mov byte [esp + 0x20], al
mov word [esp + 0x29], bx
shr ebx, 0x10
mov byte [esp + 0x2b], bl
mov bl, ah
mov eax, edx
shr edx, 0x10
shl eax, 8
or eax, ecx
mov cl, byte [esp + 0x1e]
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x1c]
mov byte [esp + 0x40], cl
movzx ecx, word [esp + 2]
mov word [esp + 4], ax
mov word [esp + 0x49], cx
mov cl, byte [esp + 7]
mov byte [esp + 0x4b], bl
mov bl, 4
mov byte [esp + 8], cl
mov ecx, dword [esp + 0x58]
mov word [esp + 9], di
mov edi, dword [esp + 0x54]
mov dword [esp + 0x21], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x41], edi
movzx edi, word [esp + 0x18]
mov dword [esp + 0x25], ecx
mov cl, byte [esp + 0xc]
mov word [esp + 0x2c], di
mov edi, dword [esp + 0x60]
mov byte [esp + 0xc], dl
and cl, 0x7f
mov dword [esp + 0x45], edi
movzx edi, word [esp + 0x14]
mov byte [esp + 0x38], cl
mov ecx, edx
mov ecx, dword [esp + 0x30]
mov dl, byte [esp + 0x16]
mov word [esp + 2], di
shr ecx, 0x10
mov byte [esp + 7], cl
mov byte [esp + 1], dl
jmp 0x53aa23
mov ch, byte [esp]
movzx edi, word [esp + 0x18]
lea edx, [esp + 0x44]
movzx eax, word [esp + 0x1c]
mov cl, byte [esp + 0x1e]
movzx ebx, word [esp + 0x14]
mov dword [esp + 0x50], edx
mov byte [edx - 4], ch
mov ch, byte [esp + 0x1a]
mov word [edx - 3], di
mov edi, dword [esp + 0x54]
mov byte [esp + 0x23], cl
mov word [esp + 0x21], ax
mov cl, byte [esp + 0x16]
mov byte [esp + 0x20], 0
mov word [esp + 8], bx
mov ebx, dword [esp + 0x3c]
mov byte [edx - 1], ch
lea edx, [esp + 0x48]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x60]
mov byte [esp + 0xa], cl
mov cl, byte [esp + 7]
and ebx, 0xffffff
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x5c]
shr edx, 0x10
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x58]
jmp 0x53af3b
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0xf8]
lea edx, [esp + 0x70]
mov ecx, ebx
call fcn.0052e68c
cmp dword [ebx], 0
jne 0x53a840
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov bl, 1
mov dword [esp + 0x64], eax
and dl, 1
mov eax, dword [esp + 0x100]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov word [esp + 0x28], ax
shr eax, 0x10
mov byte [esp + 0x2a], al
movzx eax, word [esp + 2]
mov word [esp + 0x48], ax
movzx eax, word [esp + 0x2c]
mov word [esp + 8], ax
mov al, byte [esp + 0x14]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov al, byte [esp + 4]
mov byte [esp + 0x4a], al
mov eax, dword [esp + 0x54]
mov byte [esp + 0x4b], cl
shr ecx, 8
mov dword [esp + 0x30], ecx
movzx ecx, word [esp + 0x1d]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x18]
mov dword [esp + 0x44], edi
movzx edi, word [esp + 0x15]
mov word [esp + 4], cx
mov byte [esp + 0x38], al
movzx eax, word [esp + 0x19]
mov word [esp + 2], di
mov word [esp + 0x2c], ax
mov al, byte [esp]
mov byte [esp], dl
mov byte [esp + 0xa], al
mov eax, edx
mov dl, byte [esp + 0x1c]
mov byte [esp + 0xc], dl
jmp 0x53b00f
lea edi, [esp + 0x108]
mov bl, dh
lea edx, [esp + 0x70]
mov ecx, edi
call fcn.0052e68c
cmp dword [edi], 0
jne 0x53a840
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x74]
xor edx, edx
mov ecx, edi
sub ecx, eax
neg ecx
cmp edi, eax
mov eax, dword [esp + 0x84]
sbb eax, 0
mov eax, dword [esp + 0x110]
cmovb edx, ecx
cmp edx, eax
jae 0x53b1d1
mov byte [esp + 0x20], 1
push 0x13
pop eax
mov ecx, 0x767a05
jmp 0x53a8ad
lea ecx, [esp + 0x70]
mov edx, eax
mov dword [esp + 0x64], eax
call fcn.0052c1e4
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x70]
call fcn.0052e68c
lea eax, [esp + 0xe8]
cmp dword [eax], 0
jne 0x53a840
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xf0]
add dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov word [esp + 0x28], ax
shr eax, 0x10
mov byte [esp + 0x2a], al
movzx eax, word [esp + 2]
mov word [esp + 0x48], ax
movzx eax, word [esp + 0x2c]
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], cl
shr ecx, 8
xor ebx, ebx
mov dword [esp + 0x30], ecx
movzx ecx, word [esp + 0x1d]
mov word [esp + 8], ax
mov al, byte [esp + 0x14]
mov word [esp + 4], cx
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x18]
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0x19]
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
movzx eax, word [esp + 0x15]
mov word [esp + 2], ax
mov al, byte [esp]
mov byte [esp + 0xa], al
mov al, byte [esp + 0x1c]
mov byte [esp + 0xc], al
jmp 0x53aa23