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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x5d4e34
sub esp, 0x10c
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x5d4130
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x11c]
cmp ebx, edx
jb 0x5d4078
mov ebp, dword [esp + 0x114]
jmp 0x5d40bb
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, ecx
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0x108], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x108]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
add esp, 0x10c
ret
mov dword [esp], eax
call sym.crypto_tls._halfConn_.explicitNonceLen
mov eax, dword [esp + 4]
test eax, eax
jg 0x5d4160
mov ebx, dword [esp + 0x11c]
mov esi, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
xor eax, eax
xor ebp, ebp
xor edx, edx
jmp 0x5d4303
mov dword [esp + 0x98], eax
mov ebx, dword [esp + 0x118]
lea ecx, [ebx + eax]
mov dword [esp + 0x5c], ecx
nop
mov edx, dword [esp + 0x11c]
cmp edx, ecx
jl 0x5d4190
jb 0x5d4e2e
mov ebp, dword [esp + 0x114]
jmp 0x5d41cb
lea eax, [0x686a60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x114]
mov dword [esp + 0xc], edx
call sym.runtime.makeslicecopy
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x118]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x98]
cmp ebx, ecx
ja 0x5d4e27
mov dword [esp + 0x94], edx
mov dword [esp + 0xe8], ebp
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lea ebx, [0x698aa0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.assertE2I2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x118]
mov ebx, ecx
sub ecx, edx
mov dword [esp + 0xa0], ecx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0xe8]
add edx, ecx
mov dword [esp + 0xec], edx
test eax, eax
jne 0x5d429f
mov eax, dword [esp + 0x98]
cmp eax, 0x10
jge 0x5d42a6
cmp eax, 8
jle 0x5d4256
mov esi, 8
jmp 0x5d4258
mov esi, eax
mov edi, dword [esp + 0x110]
add edi, 0x24
cmp edi, edx
je 0x5d42ff
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call sym.runtime.memmove
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0xa0]
jmp 0x5d42ff
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5d4beb
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xec], edx
mov edi, dword [esp + 0x110]
mov edx, dword [edi + 0x14]
test edx, edx
je 0x5d4db3
mov dword [esp + 0xa8], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0xf4], eax
lea ecx, [0x68fb80]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.assertE2I2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5d45e6
mov edx, dword [esp + 0x88]
cmp edx, 5
jb 0x5d4e1d
mov dword [esp + 0x100], ecx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea ecx, [eax + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xd
lea ecx, [eax + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 8
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 5
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x128]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call sym.crypto_tls.tls10MAC
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x124]
lea edx, [ecx + eax]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x84]
lea ebp, [ebx + edx]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0xd8], esi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x88]
cmp edi, ebp
jl 0x5d4494
jb 0x5d4e14
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xc8]
jmp 0x5d44e3
lea eax, [0x686a60]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xc], eax
call sym.runtime.makeslicecopy
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0xd8]
mov edi, ebp
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x124]
cmp ebx, ebp
ja 0x5d4e0b
mov dword [esp + 0x90], edi
sub edi, ebx
mov dword [esp + 0xa4], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and ebx, edi
mov edi, dword [esp + 0xe4]
add ebx, edi
mov ebp, dword [esp + 0xa4]
cmp ecx, ebp
ja 0x5d4e04
mov dword [esp + 0xf0], ebx
mov eax, dword [esp + 0xb4]
mov edx, dword [eax + 0x10]
mov esi, dword [esp + 0x100]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov edi, dword [esp + 0x120]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x128]
mov dword [esp + 0x18], edi
call edx
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
ja 0x5d4dff
mov ecx, dword [esp + 0xb4]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0xa4]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0xf0]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
call ecx
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x90]
jmp 0x5d4cc8
lea eax, [0x6a1080]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xf4]
mov dword [esp + 8], ecx
call sym.runtime.assertE2I2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5d494d
mov ebx, dword [esp + 0x9c]
test ebx, ebx
jne 0x5d4637
mov ebx, dword [esp + 0x110]
lea edx, [ebx + 0x24]
mov ecx, 8
mov ebp, 8
jmp 0x5d4653
mov ebx, dword [esp + 0x110]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0xd0], edx
mov esi, dword [esp + 0x10]
cmp word [ebx + 0x10], 0x304
jne 0x5d4891
mov dword [esp + 0xfc], esi
mov dword [esp + 0xb0], eax
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x124]
lea ecx, [ebx + edi]
mov ebp, dword [esp + 0x88]
cmp ebp, ecx
jb 0x5d46b3
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x108], eax
jmp 0x5d46fd
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x108], ecx
mov ecx, eax
mov ebp, ebx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0x108]
lea edx, [eax + edi]
mov dword [esp], edx
mov edx, dword [esp + 0x120]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0xb8]
test eax, eax
jbe 0x5d4df6
lea edx, [eax + 1]
mov ebx, dword [esp + 0x108]
movzx ebp, byte [ebx]
mov esi, dword [esp + 0xbc]
cmp esi, edx
jae 0x5d4790
xchg ebp, eax
mov byte [esp + 0x53], al
xchg ebp, eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ebx, eax
mov esi, ebp
movzx ebp, byte [esp + 0x53]
xchg ebp, eax
mov byte [edx + ebx - 1], al
xchg ebp, eax
test edx, edx
jbe 0x5d4ded
mov dword [esp + 0x108], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], esi
mov byte [ebx], 0x17
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x124]
lea eax, [eax + ecx + 1]
mov ecx, dword [esp + 0xbc]
cmp ecx, 3
jbe 0x5d4de3
mov edx, eax
sar eax, 8
mov ebx, dword [esp + 0x108]
mov byte [ebx + 3], al
cmp ecx, 4
jbe 0x5d4dd7
mov byte [ebx + 4], dl
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x18], ebp
lea ebp, [edx - 5]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 5
add ebp, ebx
mov dword [esp + 0x1c], ebp
add ecx, 0xfffffffb
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], edx
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x5d4cc8
mov edi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], ecx
mov edi, dword [esp + 0x88]
cmp edi, 5
jb 0x5d4dcb
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0xdc]
mov ebp, dword [ecx]
movzx edx, byte [ecx + 4]
mov dword [ebx + 0x34], ebp
mov byte [ebx + 0x38], dl
mov eax, dword [eax + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0xd
mov dword [esp + 0x30], 0xd
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x5d4cc8
lea eax, [0x698aa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 8], eax
call sym.runtime.assertE2I2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5d4db3
mov edx, dword [esp + 0x88]
cmp edx, 5
jb 0x5d4da9
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
lea ebp, [eax + 0x2c]
lea esi, [eax + 0x24]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xf8], edi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xd
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 8
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 5
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x128]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call sym.crypto_tls.tls10MAC
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x124]
lea ebp, [ebx + edx]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0xd4], esi
mov edi, dword [esp + 0xf8]
mov dword [esp], edi
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x5d4da4
mov ecx, eax
mov eax, dword [esp + 0x60]
cmp ecx, 0xffffffff
je 0x5d4a89
cdq
idiv ecx
jmp 0x5d4a8b
xor edx, edx
sub ecx, edx
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + ecx]
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x84]
lea esi, [ebp + eax]
mov dword [esp + 0x54], esi
mov edx, dword [esp + 0x88]
cmp edx, esi
jl 0x5d4ac5
jb 0x5d4d9d
mov edi, dword [esp + 0xdc]
jmp 0x5d4b05
lea ecx, [0x686a60]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xc], ecx
call sym.runtime.makeslicecopy
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x54]
mov edx, esi
mov edi, ecx
mov ecx, dword [esp + 0x64]
cmp eax, esi
ja 0x5d4d96
mov dword [esp + 0x8c], edx
sub edx, eax
mov dword [esp + 0xa4], edx
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [edi + eax]
mov eax, dword [esp + 0x124]
cmp eax, ebp
jl 0x5d4b34
mov eax, ebp
mov dword [esp + 0xe0], edi
mov dword [esp + 0xf0], edx
mov esi, dword [esp + 0x120]
cmp esi, edx
je 0x5d4b86
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x70]
cmp eax, ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0xe0]
jmp 0x5d4b8f
mov eax, dword [esp + 0x124]
cmp eax, ebp
ja 0x5d4d8f
mov esi, ebp
sub ebp, eax
mov edi, dword [esp + 0xa4]
sub edi, eax
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, eax
add edi, edx
mov eax, edx
mov edx, dword [esp + 0x78]
cmp edx, ebp
jl 0x5d4bbb
mov edx, ebp
mov ebp, dword [esp + 0xd4]
cmp ebp, edi
je 0x5d4c30
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call sym.runtime.memmove
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x70]
jmp 0x5d4c30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
add esp, 0x10c
ret
lea edx, [ecx - 1]
mov byte [eax + ebx], dl
inc ebx
cmp ebx, esi
jge 0x5d4c3b
jb 0x5d4c29
jmp 0x5d4d86
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x5d4c81
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], ecx
call edx
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx + 0x14]
mov edx, dword [esp + 0xf8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
call ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0x8c]
cmp ecx, 3
jbe 0x5d4d7c
lea ebx, [ecx - 5]
mov ebp, ebx
sar ebx, 8
mov byte [eax + 3], bl
cmp ecx, 4
jbe 0x5d4d70
xchg ebp, ebx
mov byte [eax + 4], bl
xchg ebp, ebx
nop
mov ebx, dword [esp + 0x110]
mov ebp, 7
jmp 0x5d4cfc
dec ebp
test ebp, ebp
jl 0x5d4d58
cmp ebp, 8
jae 0x5d4d4c
movzx esi, byte [ebx + ebp + 0x24]
lea edi, [esi + 1]
xchg edi, eax
mov byte [ebx + ebp + 0x24], al
xchg edi, eax
xchg esi, eax
cmp al, 0xff
xchg esi, eax
je 0x5d4cfb
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
add esp, 0x10c
ret
mov eax, ebp
mov ecx, 8
call sym.runtime.panicIndex
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738cf8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov eax, 4
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 3
call sym.runtime.panicIndex
mov eax, ebx
mov ecx, esi
call sym.runtime.panicIndex
mov ecx, ebp
call sym.runtime.panicSliceB
mov ecx, esi
call sym.runtime.panicSliceB
mov ecx, esi
call sym.runtime.panicSliceAcap
call sym.runtime.panicdivide
mov ecx, 5
call sym.runtime.panicSliceAcap
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738d00]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov ecx, 5
mov edx, edi
call sym.runtime.panicSliceAcap
mov eax, 4
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 3
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
call sym.runtime.panicSliceB
mov edx, ebp
call sym.runtime.panicSliceAcap
mov eax, ebx
mov ecx, ebp
call sym.runtime.panicSliceB
mov ecx, ebp
mov edx, edi
call sym.runtime.panicSliceAcap
mov ecx, 5
call sym.runtime.panicSliceAcap
mov eax, ebx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._halfConn_.encrypt