Function at 0x140001aa0
Capabilities:
Access peb ldr_data
Encode data using xor
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x8f0]
sub rsp, 0x9f0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x8e0], rax
movsxd r14, ecx
lea rdi, str.VirtualProtect
mov rcx, rdi
mov r15, rdx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor edx, edx
movsxd r8, eax
test eax, eax
je 0x140001b0b
nop dword [rax]
movsx eax, byte [rdx + rdi]
inc rdx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rdx, r8
jne 0x140001af0
lea eax, [rbx + rbx*8]
mov ecx, eax
lea rdx, str.KERNEL32.DLL
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
lea rcx, str._i__Hash_Of___s__Is_:_0x_0.8X__n
call fcn.140001010
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140001c4c
mov rax, qword gs:[0x60]
mov qword [rsp + 0xa20], rsi
mov qword [rsp + 0xa30], r12
mov qword [rsp + 0xa38], r13
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x20]
test rdi, rdi
je 0x140001c2f
mov r12d, 0x104
nop dword [rax]
movzx eax, word [rdi + 0x48]
test ax, ax
je 0x140001c2f
cmp ax, r12w
jae 0x140001c2f
mov rax, qword [rdi + 0x50]
xor ebx, ebx
cmp word [rax], bx
je 0x140001bc7
xor esi, esi
xor ecx, ecx
movzx ecx, word [rcx + rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
inc ebx
mov byte [rbp + rsi - 0x30], al
mov rax, qword [rdi + 0x50]
mov esi, ebx
lea rcx, [rbx + rbx]
cmp word [rcx + rax], 0
jne 0x140001ba6
mov eax, ebx
cmp rax, r12
jae 0x140001f2a
mov byte [rbp + rbx - 0x30], 0
lea rcx, [rbp - 0x30]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x140001c23
nop dword [rax]
movsx eax, byte [rbp + rcx - 0x30]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x140001bf0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, 0x367dc15a
je 0x140001c6a
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140001b80
mov eax, 0xffffffff
mov r12, qword [rsp + 0xa30]
mov rsi, qword [rsp + 0xa20]
mov r13, qword [rsp + 0xa38]
mov rcx, qword [rbp + 0x8e0]
xor rcx, rsp
call fcn.140001f40
add rsp, 0x9f0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
mov r13, qword [rdi + 0x20]
test r13, r13
je 0x140001c2f
xor edx, edx
mov dword [rbp - 0x50], 0xb67c1569
mov r8d, 0x800
mov dword [rbp - 0x4c], 0xbf8f0eab
lea rcx, [rbp + 0xe0]
mov dword [rbp - 0x48], 0x973bfc00
mov dword [rbp - 0x44], 0x3905a42c
xor r12d, r12d
mov dword [rbp - 0x40], 0xe5b20888
mov dword [rbp - 0x3c], 0xd10c80a7
mov dword [rbp - 0x38], 0x1ce20c38
mov dword [rbp - 0x34], 0x351e92e
mov dword [rbp - 0x60], 0xc7ef6f17
mov dword [rbp - 0x5c], 0x9d9c9563
mov dword [rbp - 0x58], 0x49ad628b
mov dword [rbp - 0x54], 0xdd1ca2c
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
test r14d, r14d
jle 0x140001da5
movzx eax, word [0x1400033c4]
xor r10d, r10d
lea ecx, [rbx + 1]
cmp ecx, r14d
jge 0x140001d97
mov rdx, qword [r15 + r10*8 + 8]
lea r8, [rbp + 0xe0]
inc r10
lea r12, [rbp + 0xe0]
sub r8, rdx
mov ebx, ecx
nop word [rax + rax]
movzx ecx, byte [rdx]
mov byte [rdx + r8], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001d20
lea r11d, [rbx + 1]
cmp r11d, r14d
jge 0x140001d97
nop dword [rax + rax]
lea rcx, [rbp + 0xe0]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001d50
mov word [rcx], ax
inc ebx
lea rcx, [rbp + 0xe0]
inc r11d
inc r10
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001d70
mov r9, qword [r15 + r10*8]
xor r8d, r8d
movzx edx, byte [r9 + r8]
mov byte [rcx + r8], dl
lea r8, [r8 + 1]
test dl, dl
jne 0x140001d81
cmp r11d, r14d
jl 0x140001d40
inc ebx
inc r10
cmp r10, r14
jl 0x140001cf3
mov edx, 0x65
xor ecx, ecx
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140001c2f
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001c2f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140001c2f
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x140001c2f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140001e2a
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
test rdi, rdi
je 0x140001c2f
test ebx, ebx
je 0x140001c2f
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
lea rax, [rbp - 0x60]
mov dword [rsp + 0x38], ebx
xor esi, esi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], esi
call fcn.140001220
test eax, eax
je 0x140001c2f
mov rcx, qword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x64], esi
mov dword [rbp - 0x64], esi
test rcx, rcx
je 0x140001c2f
test eax, eax
je 0x140001c2f
movsxd r9, dword [rcx + 0x3c]
add r9, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], r9
cmp dword [r9], 0x4550
jne 0x140001c2f
movzx eax, word [r9 + 0x16]
mov r8, r13
movzx ecx, word [r9 + 0x14]
mov rdx, r12
shr eax, 0xd
add rcx, 0x18
and eax, 1
add rcx, r9
mov dword [rbp - 0x68], eax
lea rax, [r9 + 0x90]
mov qword [rsp + 0x70], rax
lea rax, [r9 + 0xb0]
mov qword [rsp + 0x78], rax
lea rax, [r9 + 0xd0]
mov qword [rbp - 0x80], rax
lea rax, [r9 + 0xa0]
mov qword [rbp - 0x78], rax
lea rax, [r9 + 0x88]
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x70], rax
call fcn.1400014a0
xor eax, eax
jmp 0x140001c34
call fcn.140002068
int3