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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x5d5a6e
sub esp, 0x100
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x118]
cmp eax, ecx
jne 0x5d5a55
test eax, 0x3f
jne 0x5d5a55
mov edx, dword [esp + 0x104]
movzx ebx, byte [edx + 0x75]
mov ebp, dword [edx]
mov dword [esp + 0x28], ebp
mov esi, dword [edx + 4]
mov dword [esp + 0x80], esi
mov edi, dword [edx + 8]
mov dword [esp + 0x84], edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x94], edi
mov edi, dword [edx + 0x10]
mov dword [esp + 0x34], edi
mov esi, dword [edx + 0x14]
mov dword [esp + 0x9c], esi
mov esi, dword [edx + 0x18]
mov dword [esp + 0x64], esi
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x48], esi
mov esi, dword [edx + 0x24]
mov dword [esp + 0x7c], esi
mov esi, dword [edx + 0x28]
mov dword [esp + 0x3c], esi
mov esi, dword [edx + 0x2c]
mov dword [esp + 0x90], esi
test bl, bl
jne 0x5d5382
mov dword [esp], 0x3320646e
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x104]
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 + 0x84]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x104]
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 + 0x94]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x104]
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 + 0x10c]
mov ecx, dword [esp + 0x118]
mov edx, ebp
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x110]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0xfc], eax
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0xf8], edx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
jmp 0x5d565c
mov ebp, dword [esp + 0xf4]
add ebp, 0xffffffc0
mov dword [esp + 0xf4], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x40
mov dword [esp + 0xe4], ebp
mov ebp, dword [esp + 0xf0]
add ebp, 0xffffffc0
mov dword [esp + 0xf0], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x40
mov dword [esp + 0xe0], ebp
add edi, 0x61707865
mov ebp, dword [esp + 0xfc]
xor edi, dword [ebp]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x78]
add edi, 0x3320646e
mov dword [esp + 0xdc], edi
mov edi, dword [esp + 0x30]
add edi, 0x79622d32
add eax, 0x6b206574
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0xd4], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x80]
add eax, ecx
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x84]
add ecx, eax
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x94]
add eax, ecx
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x9c]
add edx, eax
mov dword [esp + 0xc4], edx
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x64]
add eax, edx
mov dword [esp + 0xc0], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
add edx, eax
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x7c]
add eax, edx
mov edx, dword [esp + 0x3c]
add ebx, edx
mov edx, dword [esp + 0x90]
add esi, edx
mov dword [esp + 0xb8], esi
mov edx, dword [esp + 0xe4]
add edx, ebp
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0xe8]
add edx, 0xffffffc0
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0xe0]
mov esi, dword [esp + 0xf8]
add edx, esi
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0xec]
add edx, 0xffffffc0
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x70]
mov dword [esi], edx
mov edx, dword [esp + 0xdc]
xor edx, dword [ebp + 4]
nop
mov dword [esi + 4], edx
xor edi, dword [ebp + 8]
nop
mov dword [esi + 8], edi
mov edx, dword [esp + 0xd8]
xor edx, dword [ebp + 0xc]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0xd4]
xor edx, dword [ebp + 0x10]
nop
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0xd0]
xor edx, dword [ebp + 0x14]
nop
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0xcc]
xor edx, dword [ebp + 0x18]
nop
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0xc8]
xor edx, dword [ebp + 0x1c]
nop
mov dword [esi + 0x1c], edx
xor ecx, dword [ebp + 0x20]
nop
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0xc4]
xor ecx, dword [ebp + 0x24]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0xc0]
xor ecx, dword [ebp + 0x28]
nop
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0xbc]
xor ecx, dword [ebp + 0x2c]
nop
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x104]
mov ecx, dword [edx + 0x20]
mov edi, dword [esp + 0x88]
add ecx, edi
xor ecx, dword [ebp + 0x30]
mov dword [esi + 0x30], ecx
xor eax, dword [ebp + 0x34]
nop
mov dword [esi + 0x34], eax
xor ebx, dword [ebp + 0x38]
mov dword [esi + 0x38], ebx
mov eax, dword [esp + 0xb8]
xor eax, dword [ebp + 0x3c]
mov dword [esi + 0x3c], eax
inc dword [edx + 0x20]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov ebx, dword [esp + 0xf8]
mov esi, dword [esp + 0xf4]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov ebx, dword [esp + 0xf0]
cmp ecx, 0x40
jl 0x5d57ff
cmp eax, 0x40
jl 0x5d57ff
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], eax
mov dword [esp + 0xe8], 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 fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x104]
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 fcn.005d4cd0
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x8c]
mov ebx, dword [eax + 0xa0]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x98], edi
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x54], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call fcn.005d4cd0
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x9c]
mov ebx, dword [eax + 0x84]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x74], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], edi
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x88], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.005d4cd0
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x80]
mov ebx, dword [eax + 0x94]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005d4cd0
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 + 0x54]
mov edi, dword [esp + 0x20]
jmp 0x5d5a47
add esp, 0x100
ret
mov dword [esp + 0x44], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
mov dword [esp], edi
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x88], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xc], ebp
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.005d4cd0
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x98], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x54], ebp
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0xc], esi
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x88], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
call fcn.005d4cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
cmp ebp, 9
jl 0x5d5806
jmp 0x5d53e2
lea eax, [0x6929c0]
mov dword [esp], eax
lea eax, [0x748fb0]
mov dword [esp + 4], eax
call fcn.00439660
nop
call fcn.0046b490
jmp fcn.005d51b0