Function at 0x59a310
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 0x59a5de
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 0x59a3cb
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x30]
test eax, eax
jg 0x59a38c
xor edx, edx
xor ebp, ebp
jmp 0x59a3c1
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 0x59a43f
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 0x59a458
cmp edx, eax
jge 0x59a44b
mov esi, edx
jmp 0x59a44f
mov esi, edx
mov edx, eax
cmp edx, esi
jbe 0x59a3f7
jmp 0x59a5d4
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 0x59a50c
mov ecx, dword [esp + 0x48]
jmp 0x59a517
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 0x59a57b
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
jmp 0x59a599
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.func7