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

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x6051a0
sub esp, 0x84
mov edi, dword [esp + 0x88]
test byte [edi], al
mov ecx, dword [0x8ef900]
test ecx, ecx
je 0x604ada
lea eax, [0x6b8a60]
mov dword [esp], eax
mov dword [esp + 4], edi
call sym.runtime.wbZero
mov edi, dword [esp + 0x88]
xor eax, eax
call fcn.00471cf6
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x40]
cmp ecx, 4
jge 0x604b3f
xor edx, edx
jmp 0x604b65
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
add ebx, 0xfffffffc
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 4
add ebx, edx
lea esi, [ecx - 4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebx
test edx, edx
jne 0x604b70
mov eax, 1
jmp 0x604b94
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 1
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x604b9f
mov eax, 1
jmp 0x604bd2
mov edx, dword [esp + 0x64]
test edx, edx
je 0x604bae
mov eax, 1
jmp 0x604bd2
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x604bde
mov edx, dword [esp + 0x40]
test edx, edx
je 0x604bed
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x604e48
mov word [esp + 0x20], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x4c]
cmp edx, 2
jge 0x604c27
xor ebx, ebx
xor eax, eax
jmp 0x604c56
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x50]
add ebp, 0xfffffffe
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
add edx, 0xfffffffe
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebp
mov eax, 2
test ebx, ebx
je 0x604c79
test eax, eax
jbe 0x605196
cmp eax, 1
jbe 0x60518a
movzx eax, word [ebx]
rol ax, 8
mov word [esp + 0x20], ax
test ebx, ebx
je 0x604e39
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x604e39
movzx edx, word [esp + 0x20]
cmp dx, 0xd
ja 0x604d27
cmp dx, 5
jne 0x604cc8
mov edx, dword [esp + 0x88]
mov byte [edx], 1
jmp 0x604dfb
cmp dx, 0xd
jne 0x604d49
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x604e0c
mov edx, dword [esp + 0x34]
test edx, edx
je 0x604e0c
mov edx, dword [esp + 0x88]
jmp 0x60508d
cmp dx, 0x12
jne 0x604d3d
mov edx, dword [esp + 0x88]
mov byte [edx + 1], 1
jmp 0x604dfb
cmp dx, 0x2f
je 0x604daa
cmp dx, 0x32
je 0x604d55
mov edx, dword [esp + 0x88]
jmp 0x604bed
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x604e1b
mov edx, dword [esp + 0x28]
test edx, edx
je 0x604e1b
mov edx, dword [esp + 0x88]
jmp 0x604f84
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x604e2a
mov edx, dword [esp + 0x7c]
test edx, edx
jne 0x604e5b
jmp 0x604e2a
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x604bed
jmp 0x604f69
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov byte [esp + 0x98], 1
add esp, 0x84
ret
mov dword [esi + ebx*4 - 0xc], eax
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x604df4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
nop
lea eax, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call sym.vendor_golang.org_x_crypto_cryptobyte._String_.readLengthPrefixed
movzx eax, byte [esp + 0xc]
test al, al
je 0x604f5a
mov edx, dword [esp + 0x70]
test edx, edx
je 0x604f5a
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + 0x24]
mov ebp, dword [edx + 0x20]
inc ebp
mov esi, dword [edx + 0x1c]
cmp ebx, ebp
jae 0x604f1e
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x68c000]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x24], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x604f15
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x1c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x1c], ecx
mov esi, ecx
mov ebp, edx
mov edx, ebx
mov dword [edx + 0x20], ebp
lea ebx, [ebp + ebp*2]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov dword [esi + ebx*4 - 8], ebp
mov dword [esi + ebx*4 - 4], edi
mov ebp, dword [0x8ef900]
test ebp, ebp
je 0x604e57
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [esi + ebx*4 - 0xc]
mov dword [edi + 4], ebp
jmp 0x604e57
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov dword [edx + 0x14], esi
rol bp, 8
mov word [edi + esi*2 - 2], bp
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x604dfb
nop
cmp ebx, 2
jge 0x604f9c
xor ebp, ebp
xor eax, eax
jmp 0x604fcb
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
add esi, 0xfffffffe
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
add esi, ebp
add ebx, 0xfffffffe
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], esi
mov eax, 2
test ebp, ebp
je 0x60505d
test eax, eax
jbe 0x605078
cmp eax, 1
jbe 0x60506c
mov ebx, dword [edx + 0x18]
mov esi, dword [edx + 0x14]
inc esi
mov edi, dword [edx + 0x10]
movzx ebp, word [ebp]
cmp ebx, esi
jae 0x604f78
mov word [esp + 0x22], bp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x69a060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x18], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x60504a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x10]
mov dword [edi + 4], ebp
mov dword [ebx + 0x10], ecx
movzx ebp, word [esp + 0x22]
mov esi, edx
mov edi, ecx
mov edx, ebx
jmp 0x604f78
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov dword [edx + 8], esi
rol bp, 8
mov word [edi + esi*2 - 2], bp
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x604dfb
nop
cmp ebx, 2
jge 0x6050a5
xor ebp, ebp
xor eax, eax
jmp 0x6050d4
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
add esi, 0xfffffffe
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 2
add esi, ebp
add ebx, 0xfffffffe
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], esi
mov eax, 2
test ebp, ebp
je 0x605166
test eax, eax
jbe 0x605181
cmp eax, 1
jbe 0x605175
mov ebx, dword [edx + 0xc]
mov esi, dword [edx + 8]
inc esi
mov edi, dword [edx + 4]
movzx ebp, word [ebp]
cmp ebx, esi
jae 0x605081
mov word [esp + 0x22], bp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x69a060]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0xc], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x605153
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov dword [ebx + 4], ecx
movzx ebp, word [esp + 0x22]
mov esi, edx
mov edi, ecx
mov edx, ebx
jmp 0x605081
mov byte [esp + 0x98], 0
add esp, 0x84
ret
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._certificateRequestMsgTLS13_.unmarshal