Function at 0x5c90f0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x5c9964
sub esp, 0xf8
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x110]
cmp eax, ecx
jne 0x5c994b
test eax, 0x3f
jne 0x5c994b
mov edx, dword [esp + 0xfc]
movzx ebx, byte [edx + 0x75]
mov ebp, dword [edx]
mov dword [esp + 0x84], ebp
mov esi, dword [edx + 4]
mov dword [esp + 0x80], esi
mov edi, dword [edx + 8]
mov dword [esp + 0x7c], edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x78], edi
mov edi, dword [edx + 0x10]
mov dword [esp + 0x74], edi
mov esi, dword [edx + 0x14]
mov dword [esp + 0x70], esi
mov esi, dword [edx + 0x18]
mov dword [esp + 0x98], esi
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x94], esi
mov esi, dword [edx + 0x24]
mov dword [esp + 0x90], esi
mov esi, dword [edx + 0x28]
mov dword [esp + 0x8c], esi
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x88], esi
test bl, bl
jne 0x5c92ce
mov dword [esp], 0x3320646e
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xfc]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], ecx
mov dword [ebp + 0x80], edx
mov dword [ebp + 0x84], ebx
mov dword [esp], 0x79622d32
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xc], edx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xfc]
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], ecx
mov dword [ebp + 0x90], edx
mov dword [ebp + 0x94], ebx
mov dword [esp], 0x6b206574
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xc], edx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xfc]
mov dword [ebp + 0x98], eax
mov dword [ebp + 0x9c], ecx
mov dword [ebp + 0xa0], edx
mov dword [ebp + 0xa4], ebx
mov byte [ebp + 0x75], 1
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x110]
mov edx, ebp
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 0xf0], edx
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xd8]
jmp 0x5c9576
mov ebp, dword [esp + 0xd4]
add ebp, 0xffffffc0
mov dword [esp + 0xd4], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x40
mov dword [esp + 0xc4], ebp
mov ebp, dword [esp + 0xd0]
add ebp, 0xffffffc0
mov dword [esp + 0xd0], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x40
mov dword [esp + 0xc0], ebp
add esi, 0x61707865
mov ebp, dword [esp + 0xf4]
xor esi, dword [ebp]
add edi, 0x3320646e
mov ebp, dword [esp + 0x3c]
add ebp, 0x79622d32
add eax, 0x6b206574
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x84]
add ecx, eax
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
add eax, ecx
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x7c]
add ecx, eax
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
add ecx, eax
mov eax, dword [esp + 0x70]
add edx, eax
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x98]
add eax, edx
mov dword [esp + 0xa4], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x94]
add edx, eax
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
add eax, edx
mov edx, dword [esp + 0x8c]
add ebx, edx
mov dword [esp + 0x9c], ebx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x88]
add edx, ebx
mov ebx, dword [esp + 0xf0]
mov dword [ebx], esi
mov esi, dword [esp + 0xf4]
xor edi, dword [esi + 4]
mov dword [ebx + 4], edi
xor ebp, dword [esi + 8]
nop
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0xbc]
xor ebp, dword [esi + 0xc]
mov dword [ebx + 0xc], ebp
mov ebp, dword [esp + 0xb8]
xor ebp, dword [esi + 0x10]
nop
mov dword [ebx + 0x10], ebp
mov ebp, dword [esp + 0xb4]
xor ebp, dword [esi + 0x14]
nop
mov dword [ebx + 0x14], ebp
mov ebp, dword [esp + 0xb0]
xor ebp, dword [esi + 0x18]
nop
mov dword [ebx + 0x18], ebp
mov ebp, dword [esp + 0xac]
xor ebp, dword [esi + 0x1c]
nop
mov dword [ebx + 0x1c], ebp
xor ecx, dword [esi + 0x20]
nop
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0xa8]
xor ecx, dword [esi + 0x24]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0xa4]
xor ecx, dword [esi + 0x28]
nop
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0xa0]
xor ecx, dword [esi + 0x2c]
nop
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0xfc]
mov ebp, dword [ecx + 0x20]
mov edi, dword [esp + 0x4c]
add ebp, edi
xor ebp, dword [esi + 0x30]
mov dword [ebx + 0x30], ebp
xor eax, dword [esi + 0x34]
nop
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x9c]
xor eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
xor edx, dword [esi + 0x3c]
nop
mov dword [ebx + 0x3c], edx
inc dword [ecx + 0x20]
mov eax, dword [esp + 0xc4]
add eax, esi
mov edx, dword [esp + 0xc8]
add edx, 0xffffffc0
mov ebp, dword [esp + 0xc0]
add ebx, ebp
mov ebp, dword [esp + 0xcc]
add ebp, 0xffffffc0
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov ecx, edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ebx
mov eax, ebp
mov ebx, dword [esp + 0xd0]
mov edx, dword [esp + 0xfc]
mov ebp, dword [esp + 0x84]
cmp ecx, 0x40
jl 0x5c970d
cmp eax, 0x40
jl 0x5c970d
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ecx
mov eax, dword [edx + 0x20]
mov dword [esp], 0x61707865
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0xfc]
mov esi, dword [ebp + 0x7c]
mov edi, dword [ebp + 0x90]
mov ecx, dword [ebp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x8c]
mov ebx, dword [eax + 0xa0]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], edi
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x40], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x9c]
mov ebx, dword [eax + 0x84]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x50], edi
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x80]
mov ebx, dword [eax + 0x94]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
jmp 0x5c993d
add esp, 0xf8
ret
mov dword [esp + 0x60], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], edi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xc], ebp
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], ebp
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x5c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x58]
mov dword [esp], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], esi
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xc], ebp
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
call sym.vendor_golang.org_x_crypto_chacha20.quarterRound
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
cmp ebp, 9
jl 0x5c9714
jmp 0x5c932e
lea eax, [0x681d20]
mov dword [esp], eax
lea eax, [0x726a10]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.vendor_golang.org_x_crypto_chacha20._Cipher_.xorKeyStreamBlocksGeneric