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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rdi, rcx
mov r15, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x1400071d0], r15
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 ebp, 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 + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov ebx, dword [rsp + 0x34]
mov rcx, rbx
call fcn.140002ae0
mov rdi, rax
mov ecx, 0x1000
call fcn.140002ae0
mov rsi, rax
mov ecx, 4
mov edx, 0xd
mov r8d, 0xec
mov r9d, ebp
call fcn.140002ae0
xor ecx, ecx
mov rdx, rdi
mov r8d, esi
mov r9d, eax
call r15
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
mov rdx, r14
mov r8, rbx
call fcn.140002ab0
mov rsi, qword [rsp + 0x38]
xor ecx, ecx
mov edx, ebp
call fcn.140002ae0
mov ecx, dword [rsp + 0x34]
test rsi, rsi
je 0x140003195
cmp ecx, eax
je 0x140003195
mov ecx, 5
mov edx, 0x1171be13
call fcn.140002ae0
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rdx
cmp ecx, eax
jbe 0x1400031ef
mov rax, qword [rsp + 0x38]
mov esi, dword [rax]
mov ecx, 0x2e786f72
mov r8d, 0x4f7646
mov edx, esi
call fcn.140002ae0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rcx
cmp esi, eax
jne 0x1400031ef
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 + 0x4c], ecx
movzx edx, byte [rsp + 0x33]
mov r8d, 7
xor ecx, ecx
call fcn.140002ae0
mov rsi, rax
movzx ebx, byte [rsp + 0x33]
movzx r9d, byte [rsp + 0x33]
mov ecx, 4
mov edx, 0xf6
mov r8d, 0x3bfa2d
call fcn.140002ae0
mov ecx, dword [rsp + 0x4c]
cmp bl, sil
je 0x140003200
cmp ecx, eax
jle 0x140003200
movzx eax, byte [rsp + 0x33]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov ecx, 4
mov r8, rdx
mov r9, rdx
call fcn.140002ae0
add rax, qword [rsp + 0x40]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x40]
mov ecx, 0xfffffffb
mov r8d, 0x4669b0
call fcn.140002ae0
mov rsi, rax
add esi, dword [rsp + 0x4c]
mov r8, qword [rsp + 0x40]
mov qword [rsp + 0x20], r8
mov ecx, 2
mov edx, 0xffca66
mov r9, r8
call fcn.140002ae0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
cmp esi, eax
jb 0x1400031ef
mov qword [rsp + 0x20], 0x440704
mov ecx, 0xfffffffc
mov edx, 0x8d
mov r8d, 0x322425a0
mov r9d, 0xcc
call fcn.140002ae0
mov rsi, rax
add esi, dword [rsp + 0x4c]
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0x20], esi
mov ecx, 1
mov r8d, 0x36
mov r9d, 0x1c03bd
mov edx, esi
call fcn.140002ae0
xor ecx, ecx
cmp al, byte [rsp + 0x33]
adc rcx, 1
mov qword [rsp + 0xa0], rcx
mov ecx, 1
mov edx, 0xe8
mov r8d, esi
mov r9d, esi
call fcn.140002ae0
and rax, qword [rsp + 0x98]
mov qword [rsp + 0xb0], rax
mov ecx, 3
mov edx, 0xc0
mov r8d, 0x68
call fcn.140002ae0
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], 2
cmp esi, eax
je 0x14000313c
mov edx, 0xdc021b
mov rcx, 0xfffffffffffffffe
call fcn.140002ae0
mov rsi, rax
add rsi, qword [rsp + 0x98]
mov qword [rsp + 0x20], rsi
mov edx, 0xd4
mov rcx, 0xfffffffffffffffe
mov r8, rsi
mov r9, rsi
call fcn.140002ae0
and rax, rsi
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
mov qword [rsp + 0x78], 0
xor r14d, r14d
nop dword [rax]
mov r15, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
cmp rsi, qword [rsp + 0x40]
mov ebx, 0
cmovb rbx, rsi
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rax + rbp]
mov rdx, qword [rsp + 0x60]
xor cl, byte [rdx + rbx]
mov byte [rax + rbp], cl
mov ecx, 1
mov edx, 4
mov r8d, 0x7c
mov r9d, 0xba68b1
call fcn.140002ae0
mov rdi, rax
add rdi, rbx
mov ecx, 1
mov edx, 0xf9
mov r8, rsi
call fcn.140002ae0
or rax, rbp
cmp rdi, qword [rsp + 0x40]
cmovae rdi, r14
mov rcx, qword [rsp + 0x50]
movzx edx, byte [rcx + rax]
mov rbx, qword [rsp + 0x60]
xor dl, byte [rbx + rdi]
mov byte [rcx + rax], dl
mov ecx, 1
mov edx, 0xc5cf56
mov r8d, 0x2e036f
call fcn.140002ae0
mov rbx, rax
add rbx, rdi
mov ecx, 2
mov edx, 0x97
mov r8, rsi
call fcn.140002ae0
mov rsi, rax
add rsi, rbp
mov ecx, 2
mov edx, 0x3b
call fcn.140002ae0
add rax, r15
cmp rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rsi
jne 0x140003040
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov edx, 0x81
xor ecx, ecx
call fcn.140002ae0
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rdx
cmp rcx, rax
je 0x1400031ef
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
jae 0x1400031c6
mov rax, qword [rsp + 0xa8]
jmp 0x1400031c8
mov edx, 0xd86216
xor ecx, ecx
call fcn.140002ae0
lea rdx, [0x1400061b3]
xor ecx, ecx
xor r8d, r8d
mov r9d, eax
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xc0]
movzx ebx, byte [rcx + rdx]
mov rbp, qword [rsp + 0x60]
xor bl, byte [rbp + rax]
mov byte [rcx + rdx], bl
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
lea rdx, str.sbC9sbKuvbCyva6vsqmnr6evnw
call fcn.140001000
mov rcx, qword [rsp + 0x90]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_FreeResource]
add al, 0x80
imul byte [rbx + 0x74937ffe]
xchg edi, eax
invalid
add byte [rax], al
push rax
invalid
add ch, ch
adc eax, 0x1493dffe
xchg ebp, eax
in al, 0xb5
invalid
and ch, cl
cmpsd dword [rsi], dword [rdi]
push rsi
cmp al, 0x29
push rax
int1
add al, dl
jle 0x14000c916
mov edi, 0x95add250
xchg ebp, eax
invalid
jae 0x14000c8e0
scasb al, byte [rdi]
test al, 0xe4
xlatb
add eax, 0x5ee6c000
xchg edi, eax
hlt
invalid
ror byte [rbx - 0x13], cl
jnp 0x14000c9dd
push r12
and al, 0
test byte [rbx + 0x629299f1], ah
xchg edx, eax
invalid
stosd dword [rdi], eax
invalid
invalid
jo 0x14000c9e7
movabs r15, 0x2001acaacb3bdf6d
sbb al, 0x8d
jg 0x14000ca13
insd dword [rdi], dx
fisttp qword [rdi + 0x37ef2c]
add byte [rax - 0x2db87bd], al
add byte [rbx + 0x78], 0x24
std
stosb byte [rdi], al
jge 0x14000c9d3
sub eax, 0x8005b29b
jo 0x14000c9ff
inc byte [rbx + 0x49]
call [rdx - 0x52]
lcall [r10 - 0x52]
xlatb
invalid
add byte [rax - 0x4940236], ah
sti
pop rsi
pop rdx
invalid
mov ecx, 0xe3470f32
call [rcx - 0x2e]
sar bh, cl
invalid
sar bh, cl
sub al, bh
imul eax, dword [rbx], 0
loopne 0x14000ca1f
invalid
invalid
fisttp word [rdi - 0x4400bdbb]
invalid
invalid
movsd dword [rdi], dword [rsi]
jle 0x14000ca5f
add byte [rax], al
pop rsp
in al, dx
invalid
clc
sub al, 0x49
invalid
rcr byte [0x131e912d6], cl
int1
push rdx
mov ebp, 0xea36c960
jo 0x14000ca61
jle 0x14000c9bc
movsb byte [rdi], byte [rsi]
invalid
add byte [rax], al
invalid
push rax
rol dword [rcx], 1
and byte [rcx*4 + 0x55b491f7], bl
push rbp
sal byte [rax + 0xb5f62], cl
add byte [rax], al
je 0x14000ca5d
invalid
jrcxz 0x14000cad9
add dword [rax], esp
add byte [rax], al
je 0x14000ca5d
or eax, 0x9163e349
xchg ecx, eax
sal cl, 1
int1
invalid
jg 0x14000ca87
add byte [rdx], ch
in eax, 0x72
invalid
leave
jl 0x14000cb1b
mov cl, 0xd0
pop rbx
add byte [rdi + 0x3f9b10], bh
add byte [rsi + 0x1b], dl
and ch, cl
jmp [rbx]
mov bh, 2
mov ebp, 0x9b151005
invalid