Function at 0x1012d960
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 0x1012dadd
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 0x1012dece
mov ecx, dword [ebp + 0x34]
imul edi, esi, 0xf0
mov edx, dword [ecx + edi]
xor edx, 3
or edx, dword [ecx + edi + 4]
je 0x1012dece
add ecx, edi
cmp dword [ecx + 0xcc], ebx
jne 0x1012dece
cmp byte [ecx + 0x20], 6
jae 0x1012dd07
test byte [ecx + 0x64], 1
jne 0x1012dd07
cmp dword [ecx + 0xd8], 0
jne 0x1012dd07
cmp dword [ecx + 0x18], 0x3b9aca00
jne 0x1012da1e
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
push eax
push ebp
call fcn.101404f0
add esp, 8
cmp byte [esp + 0xa0], 0
je 0x1012da1e
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1012df95
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 0x1012dece
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx + edi]
xor edx, 3
or edx, dword [ecx + edi + 4]
je 0x1012dece
add ecx, edi
cmp dword [ecx + 0xcc], ebx
jne 0x1012dece
cmp byte [ecx + 0xe0], 0
je 0x1012dd07
mov eax, dword [0x1027132c]
mov eax, dword [eax]
test eax, eax
je 0x1012dda6
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
cmp dword [ebp + 0x38], esi
jbe 0x1012dece
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x1012dece
add eax, edi
cmp dword [eax + 0xcc], ebx
jne 0x1012dece
cmp byte [eax + 0xe0], 0
mov ecx, dword [esp + 0x98]
je 0x1012df73
test ebx, ebx
je 0x1012df84
movzx eax, byte [ecx + 0x2c]
xor al, bl
test al, 1
je 0x1012dcba
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1012dfa6
add ecx, 0xc
jmp 0x1012dcc8
movzx eax, byte [0x10270e00]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1012dba2
movzx eax, al
push eax
push dword [0x10270df8]
call fcn.10149b60
add esp, 8
test al, al
je 0x1012d980
mov eax, dword [0x10270df8]
cmp dword [eax + 0x20], 0
je 0x1012df1b
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1012df1b
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 0x1012df15
mov edx, dword [edx + 0x34]
imul edi, edi, 0xf0
mov ebx, dword [edx + edi]
xor ebx, 3
or ebx, dword [edx + edi + 4]
je 0x1012df15
add edx, edi
cmp dword [edx + 0xcc], esi
jne 0x1012df15
cmp byte [edx + 0x20], 5
lea edi, [edx + 0xcc]
lea esi, [edx + 0x20]
ja 0x1012db9e
test byte [edx + 0x64], 1
je 0x1012dbc4
xor ebx, ebx
jmp 0x1012dbce
test ecx, ecx
je 0x1012d980
push 0x10270df8
call fcn.101c9ee0
add esp, 4
test al, al
jne 0x1012daf3
jmp 0x1012d980
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], 0x1012f4e0
mov dword [esp + 0x38], esi
lea esi, [esp + 2]
mov dword [esp + 0x3c], 0x1012f3d0
add edx, 0xd8
mov dword [esp + 4], 0x101f7bd4
mov dword [esp + 8], 7
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], esi
lea esi, [esp + 3]
mov dword [esp + 0x44], 0x10020e70
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0x10020e70
mov dword [esp + 0x50], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x54], fcn.101bfa60
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], 0x101f7c0c
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.101bfa60
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], fcn.101bfa60
push ecx
push eax
call fcn.1014a450
add esp, 8
mov ebx, dword [esp + 0x9c]
jmp 0x1012d980
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1012dfb7
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 0x1012df2c
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x1012df2c
add eax, edi
cmp dword [eax + 0xcc], ebx
jne 0x1012df2c
mov byte [eax + 0xe0], 0
mov eax, dword [ebp + 0x38]
cmp eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
jbe 0x1012dece
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x1012dece
add eax, edi
cmp dword [eax + 0xcc], ebx
jne 0x1012dece
cmp byte [eax + 0x20], 5
ja 0x1012dd9b
test byte [eax + 0x64], 1
jne 0x1012dd9b
cmp dword [eax + 0xd8], 0
jne 0x1012dd9b
cmp dword [eax + 0xd0], 0
jne 0x1012dd9b
cmp byte [eax + 0xe1], 0
jne 0x1012dd9b
cmp byte [eax + 0xe2], 0
jne 0x1012dd9b
cmp byte [eax + 0xe6], 0
jne 0x1012dd9b
cmp byte [eax + 0xe7], 0
jne 0x1012dd9b
cmp byte [eax + 0xe4], 0
jne 0x1012dd9b
cmp dword [eax + 0x18], 0x3b9aca00
jne 0x1012dd9b
push dword [esp + 0x9c]
call fcn.10133760
add esp, 4
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x10270e0c]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1012deac
movzx eax, al
push eax
push dword [0x10270e04]
call fcn.10149b60
add esp, 8
test al, al
je 0x1012da6e
mov eax, dword [0x10270e04]
cmp dword [eax + 0x20], 0
je 0x1012dfc8
lea ecx, [eax + 0x1c]
mov dword [esp + 0x80], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1012dfc8
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.10133910
add esp, 4
add eax, 0xcc
mov dword [esp + 0x30], 0x101f7c44
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x78], 0x1012f4e0
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], 0x101f7c0c
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 [0x10270e04]
call fcn.1014a450
add esp, 8
jmp 0x1012da6e
test ecx, ecx
je 0x1012da6e
push 0x10270e04
call fcn.101c9ee0
add esp, 4
test al, al
jne 0x1012ddbc
jmp 0x1012da6e
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov dword [esp + 0x30], 0x101f9a6c
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 8], 0x10133f60
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
lea eax, [esp + 0x30]
push 0x101f9a74
push eax
call fcn.101cc880
lea eax, [esp + 0x6c]
jmp 0x1012ded2
push 0x101f7b54
push 0x22
push 0x101f7b30
call fcn.101cc830
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x101f9a6c
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x10133f60
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
lea eax, [esp + 0x30]
push 0x101f9a84
push eax
call fcn.101cc880
push 0x101f7c70
push 0x23
push str.assertion_failed:_stream.is_counted
call fcn.101cc940
push 0x101f3260
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.101cc940
push 0x101f7d2c
push 0x32
push str.assertion_failed:_self.num_local_reset_streams___0
call fcn.101cc940
push 0x101f7ce8
push 0x2b
push str.assertion_failed:_self.num_send_streams___0
call fcn.101cc940
push 0x101f7cac
push 0x2b
push str.assertion_failed:_self.num_recv_streams___0
call fcn.101cc940
push 0x101f7c1c
push 0x22
push 0x101f7b30
call fcn.101cc830
int3