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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [0x1027132c]
mov ebx, dword [esp + 0x9c]
mov eax, dword [eax]
test eax, eax
je 0x101223bd
mov esi, dword [ebx + 4]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0x38]
cmp eax, esi
jbe 0x101227ae
mov ecx, dword [ebp + 0x34]
imul edi, esi, 0xf0
mov edx, dword [ecx + edi]
xor edx, 3
or edx, dword [ecx + edi + 4]
je 0x101227ae
add ecx, edi
cmp dword [ecx + 0xcc], ebx
jne 0x101227ae
cmp byte [ecx + 0x20], 6
jae 0x101225e7
test byte [ecx + 0x64], 1
jne 0x101225e7
cmp dword [ecx + 0xd8], 0
jne 0x101225e7
cmp dword [ecx + 0x18], 0x3b9aca00
jne 0x101222fe
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
push eax
push ebp
call fcn.101395b0
add esp, 8
cmp byte [esp + 0xa0], 0
je 0x101222fe
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10122875
dec eax
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0x38]
cmp eax, esi
jbe 0x101227ae
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx + edi]
xor edx, 3
or edx, dword [ecx + edi + 4]
je 0x101227ae
add ecx, edi
cmp dword [ecx + 0xcc], ebx
jne 0x101227ae
cmp byte [ecx + 0xe0], 0
je 0x101225e7
mov eax, dword [0x1027132c]
mov eax, dword [eax]
test eax, eax
je 0x10122686
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
cmp dword [ebp + 0x38], esi
jbe 0x101227ae
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x101227ae
add eax, edi
cmp dword [eax + 0xcc], ebx
jne 0x101227ae
cmp byte [eax + 0xe0], 0
mov ecx, dword [esp + 0x98]
je 0x10122853
test ebx, ebx
je 0x10122864
movzx eax, byte [ecx + 0x2c]
xor al, bl
test al, 1
je 0x1012259a
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10122886
add ecx, 0xc
jmp 0x101225a8
movzx eax, byte [0x10270938]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10122482
movzx eax, al
push eax
push dword [0x10270930]
call fcn.101498b0
add esp, 8
test al, al
je 0x10122260
mov eax, dword [0x10270930]
cmp dword [eax + 0x20], 0
je 0x101227fb
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x101227fb
lea esi, [eax + 0x20]
mov dword [esp + 0x1c], edx
mov edi, dword [ebx + 4]
movsd xmm0, qword [esi]
movsd qword [esp + 0x20], xmm0
mov edx, dword [esi + 8]
mov esi, dword [ebx + 8]
mov dword [esp + 0x68], edi
mov dword [esp + 0x28], edx
mov edx, dword [ebx]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], esi
cmp dword [edx + 0x38], edi
jbe 0x101227f5
mov edx, dword [edx + 0x34]
imul edi, edi, 0xf0
mov ebx, dword [edx + edi]
xor ebx, 3
or ebx, dword [edx + edi + 4]
je 0x101227f5
add edx, edi
cmp dword [edx + 0xcc], esi
jne 0x101227f5
cmp byte [edx + 0x20], 5
lea edi, [edx + 0xcc]
lea esi, [edx + 0x20]
ja 0x1012247e
test byte [edx + 0x64], 1
je 0x101224a4
xor ebx, ebx
jmp 0x101224ae
test ecx, ecx
je 0x10122260
push 0x10270930
call fcn.101c9b80
add esp, 4
test al, al
jne 0x101223d3
jmp 0x10122260
cmp dword [edx + 0xd8], 0
sete bl
mov byte [esp + 2], bl
movzx ebx, byte [edx + 0x64]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0x10123dc0
mov dword [esp + 0x38], esi
lea esi, [esp + 2]
mov dword [esp + 0x3c], 0x10123cb0
add edx, 0xd8
mov dword [esp + 4], 0x101f27c0
mov dword [esp + 8], 7
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], esi
lea esi, [esp + 3]
mov dword [esp + 0x44], 0x10020c80
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0x10020c80
mov dword [esp + 0x50], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x54], fcn.101bf6a0
mov dword [esp + 0xc], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x10], 7
xor bl, 1
mov dword [esp + 0x74], edx
lea edx, [esp + 4]
mov byte [esp + 3], bl
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x78], edx
lea edx, [esp + 0x74]
mov dword [esp + 0x7c], 0x101f27f8
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x68]
lea ebp, [ebx + 0x14]
add ebx, 0xc
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], fcn.101bf6a0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], fcn.101bf6a0
push ecx
push eax
call fcn.1014a4e0
add esp, 8
mov ebx, dword [esp + 0x9c]
jmp 0x10122260
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x10122897
add ecx, 0x14
dec eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [ecx], eax
cmp dword [ebp + 0x38], esi
jbe 0x1012280c
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x1012280c
add eax, edi
cmp dword [eax + 0xcc], ebx
jne 0x1012280c
mov byte [eax + 0xe0], 0
mov eax, dword [ebp + 0x38]
cmp eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
jbe 0x101227ae
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x101227ae
add eax, edi
cmp dword [eax + 0xcc], ebx
jne 0x101227ae
cmp byte [eax + 0x20], 5
ja 0x1012267b
test byte [eax + 0x64], 1
jne 0x1012267b
cmp dword [eax + 0xd8], 0
jne 0x1012267b
cmp dword [eax + 0xd0], 0
jne 0x1012267b
cmp byte [eax + 0xe1], 0
jne 0x1012267b
cmp byte [eax + 0xe2], 0
jne 0x1012267b
cmp byte [eax + 0xe6], 0
jne 0x1012267b
cmp byte [eax + 0xe7], 0
jne 0x1012267b
cmp byte [eax + 0xe4], 0
jne 0x1012267b
cmp dword [eax + 0x18], 0x3b9aca00
jne 0x1012267b
push dword [esp + 0x9c]
call fcn.10120f70
add esp, 4
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x10270944]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1012278c
movzx eax, al
push eax
push dword [0x1027093c]
call fcn.101498b0
add esp, 8
test al, al
je 0x1012234e
mov eax, dword [0x1027093c]
cmp dword [eax + 0x20], 0
je 0x101228a8
lea ecx, [eax + 0x1c]
mov dword [esp + 0x80], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x101228a8
add eax, 0x20
mov dword [esp + 4], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
push dword [esp + 0x9c]
call fcn.10121120
add esp, 4
add eax, 0xcc
mov dword [esp + 0x30], 0x101f2830
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x78], 0x10123dc0
mov dword [esp + 0x38], eax
lea eax, [esp + 4]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x68], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x70], 0x101f27f8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x1027093c]
call fcn.1014a4e0
add esp, 8
jmp 0x1012234e
test ecx, ecx
je 0x1012234e
push 0x1027093c
call fcn.101c9b80
add esp, 4
test al, al
jne 0x1012269c
jmp 0x1012234e
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov dword [esp + 0x30], 0x101f195c
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 8], 0x10121770
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
lea eax, [esp + 0x30]
push 0x101f1964
push eax
call fcn.101cc530
lea eax, [esp + 0x6c]
jmp 0x101227b2
push 0x101f2740
push 0x22
push 0x101f271c
call fcn.101cc4e0
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x101f195c
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x10121770
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
lea eax, [esp + 0x30]
push 0x101f1974
push eax
call fcn.101cc530
push 0x101f285c
push 0x23
push str.assertion_failed:_stream.is_counted
call fcn.101cc600
push 0x101efb3c
push 0x1f
push str.assertion_failed:__id.is_zero__C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcprotopeer.rs
call fcn.101cc600
push 0x101f2918
push 0x32
push str.assertion_failed:_self.num_local_reset_streams___0
call fcn.101cc600
push 0x101f28d4
push 0x2b
push str.assertion_failed:_self.num_send_streams___0
call fcn.101cc600
push 0x101f2898
push 0x2b
push str.assertion_failed:_self.num_recv_streams___0
call fcn.101cc600
push 0x101f2808
push 0x22
push 0x101f271c
call fcn.101cc4e0
int3