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.5vL95_b98r3z_Opp6nr58
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]
test byte [rbx], 6
invalid
int3
nop
cmpsb byte [rsi], byte [rdi]
imul ebp, edx, 0xc6c6c801
xchg byte [rsi - 0x15], bh
pop rbx
fistp word [rdx]
punpcklbw mm5, dword [rax + 0x17]
invalid
ret
invalid
ficom word [rdi - 0x64]
jae 0x14000c9a1
out dx, eax
jge 0x14000c90c
jnp 0x14000c980
mov esi, 0xbca66130
invalid
jg 0x14000c9ac
pop rdx
cld
fcomp qword [rdx - 0x1e]
cmpsb byte [rsi], byte [rdi]
invalid
out 0xab, al
invalid
mov ch, 0xb6
imul ecx, dword [rcx + rbp*2 + 0x739d4801], 0xb4f4f4e9
movsb byte [rdi], byte [rsi]
imul ebp, edx, 0x3b3d9ecf
xchg esp, eax
add dh, byte [rax]
cmp eax, 0x3002943b
xchg esp, eax
invalid
xor al, 0x1a
lea ebp, [rbx + riz + 0x325b4897]
pop rbx
xor ah, byte [0x1850d2d07]
sbb cl, byte [rbp + 0x489723ac]
pop rbx
xor ah, byte [0x1850d2d07]
mov ah, 0x44
test byte [rcx - 0x67], dh
jno 0x14000c93f
jno 0x14000c93f
sbb eax, 0x11f0bcab
jae 0x14000c993
out 0x7f, al
pop rdi
jg 0x14000ca0e
fisubr dword [rax - 0x61]
jg case.0x140003217.6
mov ecx, 0x5a376bf1
leave
std
mov dl, 0xb5
jp 0x14000ca03
and byte [rax + 0x28], dh
sbb al, dh
retf
cdq
sbb dword [rbx], ebp
pop rbp
wait
sub ch, cl
retf
invalid
enter 0xffffffffffff8153, 0xffffffffffffffa7
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
movsb byte [rdi], byte [rsi]
push rsp
sub cl, byte [0x14c10c59f]
mov cl, 7
add byte [rax], al
xchg r10, rax
nop
mov ch, 0x96
insd dword [rdi], dx
fdivp st(3)
sub al, byte [rax + 0x15da801a]
ficom dword [0x1916e8775]
rcr ebx, cl
ficom dword [0x1916e8775]
rcr ebx, cl
push rdi
fidiv dword [rdx - 0x21]
jae 0x14000ca8d
stosd dword [rdi], eax
invalid
jle 0x14000ca64
out dx, al
sbb al, dh
and eax, 0xe7004e04
sub dh, cl
invalid
out 0xa9, eax
invalid
invalid
add byte [rdi + 0x3d], cl
cmc
adc al, 0x1e
jg 0x14000ca68
adc dword [rsi + 0x66], edi
invalid