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

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61069d
sub esp, 0x74
mov eax, dword [edx + 0x20]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x40], ecx
mov ebx, dword [edx + 0x2c]
mov dword [esp + 0x44], ebx
mov ebp, dword [edx + 4]
mov dword [esp + 0x54], ebp
mov esi, dword [edx + 0x10]
mov dword [esp + 0x60], esi
movzx edi, word [edx + 0x1c]
mov word [esp + 0x32], di
mov ebx, dword [edx + 0x24]
mov dword [esp + 0x5c], ebx
mov ecx, dword [edx + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [edx + 0x14]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x7c]
cmp ebx, 0xd
je 0x61020a
cmp ebx, 0xf
jne 0x610314
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x703c63]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x61025c
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x703c72]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x61025c
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
movzx edi, word [esp + 0x32]
jmp 0x610314
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x70311f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x61025c
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x70312c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x6102fb
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x6bd7a0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x7130f1]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x74
ret
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
movzx edi, word [esp + 0x32]
lea ebx, [ecx + edx]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x61032d
mov edi, dword [esp + 0x84]
lea ebx, [ebx + edi + 2]
mov dword [esp + 0x34], ebx
lea eax, [0x6bd820]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jb 0x61035f
mov ebx, edx
jmp 0x61038f
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x3c]
cmp ebx, edx
jb 0x6103c8
mov ebp, dword [esp + 0x58]
jmp 0x610402
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x6bd820]
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 + 0x38]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x80]
test eax, eax
je 0x610586
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10000
jge 0x61051d
mov edx, dword [esp + 0x38]
add edx, 2
mov ebx, dword [esp + 0x3c]
cmp ebx, edx
jb 0x61045b
mov ebp, dword [esp + 0x58]
jmp 0x61049b
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov esi, ecx
sar ecx, 8
mov byte [edx + ebp - 2], cl
xchg esi, eax
mov byte [edx + ebp - 1], al
xchg esi, eax
lea ecx, [esi + edx]
cmp ebx, ecx
jae 0x6104f1
mov dword [esp + 0x38], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
add edx, ebp
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
jmp 0x610592
lea eax, [0x712923]
mov dword [esp], eax
mov dword [esp + 4], 0x31
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea ebx, [0x6bd820]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
movzx ecx, word [esp + 0x32]
mov word [esp], cx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call sym.crypto_tls.prfForVersion
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov dword [esp], 0
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call sym.runtime.stringtoslicebyte
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x70]
mov dword [esp], esi
mov edi, dword [esp + 0x8c]
mov dword [esp + 4], edi
mov dword [esp + 8], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
call eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x74
ret
call sym.runtime.morestack
jmp sym.crypto_tls._clientHandshakeState_.handshake.ekmFromMasterSecret.func1