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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x5b3b1f
sub esp, 0xcc
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xe4]
cmp eax, ecx
jne 0x5b3b06
test eax, 0x3f
jne 0x5b3b06
mov edx, dword [esp + 0xd0]
mov ebx, dword [edx]
mov dword [esp + 0x98], ebx
mov ebp, dword [edx + 4]
mov dword [esp + 0x30], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x94], esi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x34], edi
mov edi, dword [edx + 0x10]
mov dword [esp + 0x28], edi
mov esi, dword [edx + 0x14]
mov dword [esp + 0x80], esi
mov esi, dword [edx + 0x18]
mov dword [esp + 0x6c], esi
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x48], esi
mov esi, dword [edx + 0x24]
mov dword [esp + 0x90], esi
mov esi, dword [edx + 0x28]
mov dword [esp + 0x50], esi
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x5c], esi
movzx esi, byte [edx + 0x75]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5b3539
mov dword [esp], 0x3320646e
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xc], ecx
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xd0]
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x80], ecx
mov dword [ebp + 0x84], edx
mov dword [esp], 0x79622d32
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xd0]
mov dword [ebp + 0x88], ebx
mov dword [ebp + 0x8c], eax
mov dword [ebp + 0x90], ecx
mov dword [ebp + 0x94], edx
mov dword [esp], 0x6b206574
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xd0]
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], eax
mov dword [ebp + 0xa0], ecx
mov dword [ebp + 0xa4], edx
mov byte [ebp + 0x75], 1
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xe4]
mov edx, ebp
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xc4], edx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
jmp 0x5b371c
lea esi, [edi + 0x61707865]
mov edi, dword [esp + 0xc8]
xor esi, dword [edi]
mov ebp, dword [esp + 0xc4]
mov dword [ebp], esi
mov esi, dword [esp + 0x20]
add esi, 0x3320646e
xor esi, dword [edi + 4]
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x44]
add esi, 0x79622d32
xor esi, dword [edi + 8]
mov dword [ebp + 8], esi
add ebx, 0x6b206574
xor ebx, dword [edi + 0xc]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x98]
add eax, ebx
xor eax, dword [edi + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
add eax, esi
xor eax, dword [edi + 0x14]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x94]
add eax, esi
xor eax, dword [edi + 0x18]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
add eax, esi
xor eax, dword [edi + 0x1c]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x28]
add eax, esi
xor eax, dword [edi + 0x20]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x80]
add ecx, eax
xor ecx, dword [edi + 0x24]
mov dword [ebp + 0x24], ecx
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
add ecx, eax
xor ecx, dword [edi + 0x28]
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x48]
add ecx, eax
xor ecx, dword [edi + 0x2c]
mov dword [ebp + 0x2c], ecx
mov ecx, dword [esp + 0xd0]
mov eax, dword [ecx + 0x20]
mov esi, dword [esp + 0x60]
add eax, esi
xor eax, dword [edi + 0x30]
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x90]
add eax, esi
xor eax, dword [edi + 0x34]
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0x50]
add edx, eax
xor edx, dword [edi + 0x38]
mov dword [ebp + 0x38], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
add edx, eax
xor edx, dword [edi + 0x3c]
mov dword [ebp + 0x3c], edx
inc dword [ecx + 0x20]
mov edx, dword [esp + 0xa8]
add edx, 0xffffffc0
mov dword [esp + 0xa8], edx
neg edx
sar edx, 0x1f
and edx, 0x40
add edx, edi
mov edi, dword [esp + 0x9c]
add edi, 0xffffffc0
mov eax, dword [esp + 0xa4]
add eax, 0xffffffc0
mov dword [esp + 0xa4], eax
neg eax
sar eax, 0x1f
and eax, 0x40
add eax, ebp
mov ebp, dword [esp + 0xa0]
add ebp, 0xffffffc0
mov dword [esp + 0xc8], edx
mov ecx, edi
mov dword [esp + 0xc4], eax
mov eax, ebp
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
cmp ecx, 0x40
jl 0x5b38c2
cmp eax, 0x40
jl 0x5b38c2
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
mov eax, dword [edx + 0x20]
mov dword [esp], 0x61707865
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xd0]
mov esi, dword [ebp + 0x7c]
mov edi, dword [ebp + 0x90]
mov eax, dword [ebp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0xd0]
mov esi, dword [ebp + 0x78]
mov edi, dword [ebp + 0x8c]
mov eax, dword [ebp + 0xa0]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0xd0]
mov esi, dword [ebp + 0x88]
mov edi, dword [ebp + 0x9c]
mov eax, dword [ebp + 0x84]
mov dword [esp], esi
mov dword [esp + 4], edi
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xd0]
mov esi, dword [ebp + 0x98]
mov edi, dword [ebp + 0x80]
mov ebp, dword [ebp + 0x94]
mov dword [esp], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
xor esi, esi
mov edi, dword [esp + 0x54]
jmp 0x5b3af4
add esp, 0xcc
ret
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x74], ebx
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], ebp
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], ebp
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0xc], ebp
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], ebp
call fcn.005b2e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
call fcn.005b2e40
mov eax, dword [esp + 0x24]
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], ebp
cmp esi, 9
jl 0x5b38c9
jmp 0x5b3599
lea eax, [0x7345e0]
mov dword [esp], eax
lea eax, [0x7c9f5c]
mov dword [esp + 4], eax
call fcn.00430590
nop
call fcn.00455690
jmp fcn.005b3370