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

Disassembly:
mov ecx, dword [0x75a1cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x599a5e
sub esp, 0x54
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov ebx, dword [edx + 8]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x14], ebp
mov edx, eax
call ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x59984b
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x30]
test eax, eax
jg 0x59980c
xor edx, edx
xor ebp, ebp
jmp 0x599841
lea eax, [0x5ba880]
mov dword [esp], eax
mov dword [esp + 4], 0x200
mov dword [esp + 8], 0x200
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x44]
mov edx, 0x200
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], edx
jmp 0x5998bf
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x54
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov edx, ebx
mov ebx, dword [esp + 0x44]
test eax, eax
jle 0x5998d8
cmp edx, eax
jge 0x5998cb
mov esi, edx
jmp 0x5998cf
mov esi, edx
mov edx, eax
cmp edx, esi
jbe 0x599877
jmp 0x599a54
mov eax, dword [0x71af4c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
lea ebx, [0x5bc8a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x18]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
lea ecx, [0x5ba880]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea ecx, [0x5d3560]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0x75a278]
test ecx, ecx
jne 0x59998c
mov ecx, dword [esp + 0x48]
jmp 0x599997
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [esp + 0x4c], eax
mov dword [eax + 4], ecx
mov ecx, dword [0x71af4c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
lea ebp, [0x5bc8a0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx eax, byte [eax + 4]
mov ecx, dword [esp + 0x4c]
mov byte [ecx + 0x10], al
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
mov eax, dword [0x75a278]
test eax, eax
jne 0x5999fb
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
jmp 0x599a19
call sym.runtime.gcWriteBarrier4
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov edx, dword [ecx + 0x48]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x44]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0xc]
mov dword [edi + 0xc], ebx
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
lea eax, [0x627f68]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x54
ret
mov ecx, edx
mov edx, esi
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack
jmp sym.golang.org_x_crypto_ssh.init.streamCipherMode.func11