Function at 0x1400027f0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x140052080]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
movdqa xmm0, xmmword [0x1400496e0]
mov dword [rsp + 0x40], 0xee4d0c3b
mov dword [rsp + 0x44], 0x2c87ae94
mov dword [rsp + 0x48], 0xe648297e
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x96c
mov eax, dword [rcx + rdi]
mov ebx, 0x9d8
add rbx, rdi
test al, 1
jne 0x1400028c8
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rbx + 0x1d], 1
lea rax, [rbx + 0x1c]
lea rcx, [rsp + 0x4c]
cmp rbx, rcx
ja 0x1400028a2
lea rcx, [rsp + 0x30]
cmp rax, rcx
jb 0x1400028a2
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x18], eax
mov byte [rbx + 0x1c], 0xf5
jmp 0x1400028bb
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x18], eax
mov byte [rbx + 0x1c], 0xf5
lea rcx, [0x14003cb98]
call fcn.140014440
nop
movabs r14, 0x61a7ddf587214d1b
xor r15d, r15d
cmp byte [rbx + 0x1d], r15b
je 0x1400028fe
mov r8d, r15d
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r14
shr rdx, cl
xor byte [rbx + r8], dl
inc r8
cmp r8, 0x1d
jb 0x1400028de
mov byte [rbx + 0x1d], r15b
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov rcx, rbx
call fcn.14001f1b0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140011aa8
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140002941
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140011b88
nop
mov dword [rsp + 0x20], 0xe9443d54
mov word [rsp + 0x24], 0xffd5
mov ecx, 0x584
mov eax, dword [rcx + rdi]
mov ebx, 0x758
test al, 1
jne 0x14000299a
or eax, 1
mov dword [rcx + rdi], eax
mov word [rbx + rdi + 6], 0x1a7
mov eax, dword [rsp + 0x20]
mov dword [rbx + rdi], eax
movzx eax, word [rsp + 0x24]
mov word [rbx + rdi + 4], ax
lea rcx, [0x14003cbbc]
call fcn.140014440
nop
add rbx, rdi
cmp byte [rbx + 7], r15b
je 0x1400029c6
mov r8, r15
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r14
shr rdx, cl
xor byte [rbx + r8], dl
inc r8
cmp r8, 7
jb 0x1400029a6
mov byte [rbx + 7], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov rcx, rbx
call fcn.14001f1b0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140011aa8
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.1400115ec
nop
lea r8, [rbp - 0x38]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400115ec
nop
mov ebx, 0x1000
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140002a50
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, rbx
jb 0x140002a4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e08
call fcn.140014320
movdqa xmm0, xmmword [0x1400496d0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], r15b
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140002a99
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rbx
jb 0x140002a94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e0e
call fcn.140014320
movdqa xmm0, xmmword [0x1400496d0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r15b
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140002ae3
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x140002ade
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e14
call fcn.140014320
movdqa xmm0, xmmword [0x1400496d0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], r15b
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140002b2b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x140002b26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e1a
call fcn.140014320
mov dword [rsp + 0x20], 0x7aa879da
mov dword [rsp + 0x24], 0x3d121f70
mov word [rsp + 0x28], 0x15f5
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x1e0
mov eax, dword [rcx + rdi]
mov ebx, 0x958
test al, 1
jne 0x140002b8c
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rbx + rdi + 0xa], 1
movsd xmm0, qword [rsp + 0x20]
movsd qword [rbx + rdi], xmm0
movzx eax, word [rsp + 0x28]
mov word [rbx + rdi + 8], ax
lea rcx, [0x14003cb7c]
call fcn.140014440
nop
lea r10, [rdi + rbx]
cmp byte [r10 + 0xa], r15b
je 0x140002bc0
mov r8, r15
mov cl, r8b
and cl, 7
shl cl, 3
movabs rdx, 0x51533f1509c71599
shr rdx, cl
xor byte [r10 + r8], dl
inc r8
cmp r8, 0xa
jb 0x140002b99
mov byte [r10 + 0xa], r15b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.WINMM.dll_mciSendStringA]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINMM.dll_mciSendStringA]
mov r14d, eax
movdqa xmm0, xmmword [0x140049880]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx]
mov eax, 0x8a0
mov ecx, dword [rax + rdi]
mov ebx, 0x8b0
test cl, 1
jne 0x140002c53
or ecx, 1
mov dword [rax + rdi], ecx
lea rax, [rbx + rdi]
mov byte [rax + 0x10], 1
lea rcx, [rax + 0xf]
lea rdx, [rsp + 0x5f]
cmp rax, rdx
ja 0x140002c42
lea rdx, [rsp + 0x50]
cmp rcx, rdx
jb 0x140002c42
movdqu xmmword [rax], xmm0
jmp 0x140002c46
movdqu xmmword [rax], xmm0
lea rcx, [0x14003cb64]
call fcn.140014440
nop
lea r10, [rdi + rbx]
cmp byte [r10 + 0x10], r15b
je 0x140002c87
mov r8, r15
mov cl, r8b
and cl, 7
shl cl, 3
movabs rdx, 0xebf50b1985990b51
shr rdx, cl
xor byte [r10 + r8], dl
inc r8
cmp r8, 0x10
jb 0x140002c60
mov byte [r10 + 0x10], r15b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.WINMM.dll_mciSendStringA]
mov dword [rsp + 0x20], 0x765ce7d6
mov dword [rsp + 0x24], 0x95e44316
mov word [rsp + 0x28], 0x8bf9
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x2c4
mov eax, dword [rcx + rdi]
mov ebx, 0x4f8
test al, 1
jne 0x140002cf9
or eax, 1
mov dword [rcx + rdi], eax
mov byte [rbx + rdi + 0xa], 1
movsd xmm0, qword [rsp + 0x20]
movsd qword [rbx + rdi], xmm0
movzx eax, word [rsp + 0x28]
mov word [rbx + rdi + 8], ax
lea rcx, [0x14003cb48]
call fcn.140014440
nop
lea r10, [rdi + rbx]
cmp byte [r10 + 0xa], r15b
je 0x140002d2d
mov r8, r15
mov cl, r8b
and cl, 7
shl cl, 3
movabs rdx, 0xf9a5637305338b95
shr rdx, cl
xor byte [r10 + r8], dl
inc r8
cmp r8, 0xa
jb 0x140002d06
mov byte [r10 + 0xa], r15b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.WINMM.dll_mciSendStringA]
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140002d7a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dfc
call fcn.140014320
movdqa xmm0, xmmword [0x1400496d0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], r15b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002dc1
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140002dbc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002e02
mov rcx, r8
call fcn.140014320
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov eax, r14d
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140014300
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140020398
nop
call fcn.140020398
nop
call fcn.140020398
nop
call fcn.140020398
nop
call fcn.140020398
nop
call fcn.140020398
int3