Function at 0x5f0140
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x9c]
cmp eax, dword [ecx + 8]
jbe 0x5f0c28
sub esp, 0x11c
mov eax, dword [esp + 0x120]
mov ecx, dword [eax]
mov dword [esp + 0x114], ecx
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x48], ecx
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x110], eax
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x118], ecx
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x114]
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd4]
jmp 0x5f05a5
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x1c], edx
call sym.vendor_golang.org_x_crypto_internal_poly1305.add128
mov eax, dword [esp + 0x20]
mov dword [esp + 0x114], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x108], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x104], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x100], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x1c], ebp
call sym.vendor_golang.org_x_crypto_internal_poly1305.add128
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xfc], ebx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xf4], edx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xf0], ebp
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x108]
mov edi, ecx
and edi, eax
or ecx, eax
mov ebp, dword [esp + 0x104]
and ebx, ebp
mov dword [esp + 0x108], ebx
mov edx, dword [esp + 0xfc]
or edx, ebp
mov dword [esp + 0x104], edx
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x94]
mov edx, dword [esp + 0x114]
add ebx, edx
mov dword [esp + 0x114], ebx
mov edx, dword [esp + 0xa8]
adc edx, eax
mov eax, edx
not edx
and ecx, edx
or ecx, edi
shr ecx, 0x1f
mov edx, dword [esp + 0x100]
add esi, edx
mov edx, dword [esp + 0xfc]
adc edx, ebp
add esi, ecx
adc edx, 0
mov dword [esp + 0xf8], edx
mov ecx, esi
and esi, 3
mov dword [esp + 0xac], esi
and ecx, 0xfffffffc
mov dword [esp + 0xc4], ecx
mov ebp, edx
xchg ebp, ebx
not ebx
xchg ebp, ebx
mov edi, dword [esp + 0x104]
and edi, ebp
mov ebp, dword [esp + 0x108]
or ebp, edi
shr ebp, 0x1f
mov edi, dword [esp + 0x80]
and edx, edi
mov dword [esp + 0x108], edx
mov esi, dword [esp + 0xf8]
or esi, edi
mov dword [esp + 0x104], esi
mov ebx, dword [esp + 0xf8]
shr ebx, 2
shr ecx, 2
mov edx, dword [esp + 0xf8]
shl edx, 0x1e
or ecx, edx
mov dword [esp + 0x100], ecx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0xf4]
add edx, ecx
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0xf0]
adc esi, ecx
add edx, ebp
mov dword [esp + 0x40], edx
adc esi, 0
mov dword [esp + 0xec], esi
mov ebp, eax
and eax, esi
mov ecx, ebp
or ecx, esi
and edx, 3
shl edx, 0x1e
or ebx, edx
mov edx, esi
shr edx, 2
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x40]
shr edx, 2
shl esi, 0x1e
or esi, edx
mov dword [esp + 0xfc], esi
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0x68]
add edx, esi
mov dword [esp + 0xf4], edx
mov esi, dword [esp + 0xf8]
adc esi, edi
mov dword [esp + 0xf8], esi
mov edi, esi
xchg esi, ebx
not ebx
xchg esi, ebx
mov edx, dword [esp + 0x104]
and edx, esi
mov esi, dword [esp + 0x108]
or esi, edx
shr esi, 0x1f
mov edx, edi
and edi, ebx
mov dword [esp + 0x108], edi
or edx, ebx
mov dword [esp + 0x104], edx
mov edi, dword [esp + 0x114]
mov edx, dword [esp + 0x40]
add edi, edx
mov edx, dword [esp + 0xec]
adc ebp, edx
add esi, edi
adc ebp, 0
mov edx, ebp
not edx
and ecx, edx
or eax, ecx
shr eax, 0x1f
mov ecx, dword [esp + 0xc8]
mov edx, ebp
and edx, ecx
mov dword [esp + 0x114], edx
mov edi, ebp
or edi, ecx
mov edx, dword [esp + 0xac]
add edx, eax
mov dword [esp + 0xac], edx
mov eax, 0
adc eax, 0
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0xf4]
add eax, edx
mov dword [esp + 0x100], eax
mov edx, dword [esp + 0xf8]
adc ebx, edx
mov edx, ebx
not ebx
mov eax, dword [esp + 0x104]
and ebx, eax
mov eax, dword [esp + 0x108]
or ebx, eax
shr ebx, 0x1f
mov eax, dword [esp + 0xfc]
add eax, esi
adc ebp, ecx
add ebx, eax
adc ebp, 0
mov esi, ebp
xchg esi, ebx
not ebx
xchg esi, ebx
and esi, edi
mov eax, dword [esp + 0x114]
or esi, eax
shr esi, 0x1f
mov eax, dword [esp + 0xac]
add esi, eax
mov edi, dword [esp + 0xec]
adc edi, 0
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x100]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x5f0bd8
mov dword [esp + 0xb0], edi
mov dword [esp + 0xc0], edx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xac], esi
cmp ecx, 0x10
jl 0x5f07b7
mov eax, dword [esp + 0x10c]
add eax, 0xfffffff0
mov dword [esp + 0x10c], eax
neg eax
sar eax, 0x1f
and eax, 0x10
mov edi, dword [esp + 0x118]
movzx esi, byte [edi]
movzx ebx, byte [edi + 1]
mov dword [esp + 0x114], ebx
shl ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x114]
shr ebx, 0x18
movzx ecx, byte [edi + 2]
mov dword [esp + 0x114], ecx
shr ecx, 0x10
or ecx, ebx
mov ebx, dword [esp + 0x114]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [edi + 3]
mov dword [esp + 0x114], esi
shr esi, 8
or esi, ecx
mov ecx, dword [esp + 0x114]
shl ecx, 0x18
or ecx, ebx
movzx ebx, byte [edi + 4]
or ebx, esi
movzx esi, byte [edi + 5]
shl esi, 8
or esi, ebx
movzx ebx, byte [edi + 6]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [edi + 7]
shl esi, 0x18
or esi, ebx
mov dword [esp + 0x114], esi
mov ebx, esi
and esi, edx
mov dword [esp + 0x108], esi
or ebx, edx
mov dword [esp + 0x104], ebx
movzx esi, byte [edi + 8]
movzx ebx, byte [edi + 9]
mov dword [esp + 0x100], ebx
shl ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x100]
shr ebx, 0x18
movzx edx, byte [edi + 0xa]
mov dword [esp + 0x100], edx
shr edx, 0x10
or edx, ebx
mov ebx, dword [esp + 0x100]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [edi + 0xb]
mov dword [esp + 0x100], esi
shr esi, 8
or esi, edx
mov edx, dword [esp + 0x100]
shl edx, 0x18
or edx, ebx
movzx ebx, byte [edi + 0xc]
or ebx, esi
movzx esi, byte [edi + 0xd]
shl esi, 8
or esi, ebx
movzx ebx, byte [edi + 0xe]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [edi + 0xf]
shl esi, 0x18
or esi, ebx
mov dword [esp + 0x100], esi
mov ebx, esi
and esi, ebp
or ebx, ebp
nop
nop
nop
nop
add eax, edi
mov dword [esp + 0x118], eax
mov edi, dword [esp + 0x110]
add edi, 0xfffffff0
mov eax, dword [esp + 0xbc]
add ecx, eax
mov dword [esp + 0xfc], ecx
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0xc0]
adc eax, ecx
mov dword [esp + 0xf8], eax
not eax
mov ecx, dword [esp + 0x104]
and ecx, eax
mov eax, dword [esp + 0x108]
or eax, ecx
shr eax, 0x1f
mov ecx, dword [esp + 0xb4]
add edx, ecx
mov ecx, dword [esp + 0x100]
adc ecx, ebp
add edx, eax
adc ecx, 0
mov eax, ecx
not ecx
and ecx, ebx
or esi, ecx
shr esi, 0x1f
mov ecx, dword [esp + 0xac]
add esi, ecx
mov ecx, dword [esp + 0xb0]
adc ecx, 0
add esi, 1
adc ecx, 0
mov ebp, eax
mov ebx, ecx
mov ecx, dword [esp + 0xfc]
mov eax, edx
mov edx, dword [esp + 0xf8]
jmp 0x5f09b9
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x118]
lea edi, [esp + 0x30]
cmp eax, edi
je 0x5f0820
mov dword [esp + 0xb8], ebp
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0xac]
mov byte [esp + ecx + 0x30], 1
movzx ecx, byte [esp + 0x30]
movzx eax, byte [esp + 0x31]
mov edi, eax
shl edi, 8
or ecx, edi
shr eax, 0x18
movzx edi, byte [esp + 0x32]
mov dword [esp + 0x114], edi
shr edi, 0x10
or eax, edi
mov ebx, dword [esp + 0x114]
shl ebx, 0x10
or ecx, ebx
movzx ebx, byte [esp + 0x33]
mov dword [esp + 0x114], ebx
shr ebx, 8
or eax, ebx
mov ebx, dword [esp + 0x114]
shl ebx, 0x18
or ecx, ebx
movzx ebx, byte [esp + 0x34]
or eax, ebx
movzx ebx, byte [esp + 0x35]
shl ebx, 8
or eax, ebx
movzx ebx, byte [esp + 0x36]
shl ebx, 0x10
or eax, ebx
movzx ebx, byte [esp + 0x37]
shl ebx, 0x18
or eax, ebx
mov dword [esp + 0x114], eax
mov ebx, eax
and ebx, edx
mov dword [esp + 0x108], ebx
or eax, edx
movzx esi, byte [esp + 0x38]
movzx edi, byte [esp + 0x39]
mov dword [esp + 0x104], edi
shl edi, 8
or esi, edi
mov ebx, dword [esp + 0x104]
shr ebx, 0x18
movzx edi, byte [esp + 0x3a]
mov dword [esp + 0x104], edi
shr edi, 0x10
or edi, ebx
mov ebx, dword [esp + 0x104]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [esp + 0x3b]
mov dword [esp + 0x104], esi
shr esi, 8
or esi, edi
mov edi, ebp
mov ebp, dword [esp + 0x104]
shl ebp, 0x18
or ebp, ebx
movzx ebx, byte [esp + 0x3c]
or esi, ebx
movzx ebx, byte [esp + 0x3d]
shl ebx, 8
or esi, ebx
movzx ebx, byte [esp + 0x3e]
shl ebx, 0x10
or esi, ebx
movzx ebx, byte [esp + 0x3f]
shl ebx, 0x18
or esi, ebx
mov dword [esp + 0x104], esi
mov ebx, esi
and ebx, edi
mov dword [esp + 0x100], ebx
or esi, edi
mov ebx, dword [esp + 0xbc]
add ecx, ebx
mov ebx, dword [esp + 0x114]
adc edx, ebx
mov ebx, edx
not ebx
and ebx, eax
mov eax, ebp
mov ebp, dword [esp + 0x108]
or ebp, ebx
shr ebp, 0x1f
mov ebx, dword [esp + 0xb4]
add eax, ebx
mov ebx, dword [esp + 0x104]
adc ebx, edi
add eax, ebp
adc ebx, 0
mov ebp, ebx
not ebx
and esi, ebx
mov ebx, dword [esp + 0x100]
or esi, ebx
shr esi, 0x1f
mov ebx, dword [esp + 0xac]
add esi, ebx
mov ebx, dword [esp + 0xb0]
adc ebx, 0
xor edi, edi
xor edi, edi
mov dword [esp + 0x10c], edi
xor edi, edi
mov dword [esp + 0x118], edi
xor edi, edi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], esi
mov dword [esp + 0xb4], eax
mov dword [esp + 0x110], edi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov edi, dword [esp + 0x4c]
mov dword [esp + 8], edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
call sym.math_bits.Mul64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa8], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x80], ebx
mov ebp, dword [esp + 0xb4]
mov dword [esp], ebp
mov esi, dword [esp + 0xb8]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x4c]
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
call sym.math_bits.Mul64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa4], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebx
mov ebp, dword [esp + 0xac]
mov dword [esp], ebp
mov esi, dword [esp + 0xb0]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x4c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0xc], edi
call sym.math_bits.Mul64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa0], ecx
nop
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0xbc]
mov dword [esp], ebp
mov ebp, dword [esp + 0xc0]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], esi
call sym.math_bits.Mul64
nop
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0xb4]
mov dword [esp], ebp
mov ebp, dword [esp + 0xb8]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], esi
call sym.math_bits.Mul64
nop
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0xac]
mov dword [esp], ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], esi
call sym.math_bits.Mul64
mov eax, dword [esp + 0x8c]
test eax, eax
setne cl
mov edx, dword [esp + 0xa0]
test edx, edx
setne bl
or ecx, ebx
test cl, cl
jne 0x5f0c0f
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
setne cl
test ebx, ebx
setne bl
or ecx, ebx
test cl, cl
je 0x5f0211
jmp 0x5f0bf7
mov ecx, dword [esp + 0xbc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
add esp, 0x11c
ret
lea eax, [0x6bd7a0]
mov dword [esp], eax
lea eax, [0x771dd8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x6bd7a0]
mov dword [esp], eax
lea eax, [0x771dd8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_crypto_internal_poly1305.updateGeneric