joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e5890
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400e58ba
xor eax, eax
xor r9d, r9d
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400e589a
movzx eax, r9b
neg eax
shr eax, 8
and eax, 1
ret
xor eax, eax
jmp 0x1400e58b1

Function at 0x1400e5ab0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x50], rax
vmovups ymm0, ymmword [rcx]
vmovups ymm1, ymmword [rcx + 0x10]
vmovups ymmword [rsp + 0x30], ymm1
vmovups ymmword [rsp + 0x20], ymm0
test rdx, rdx
je 0x1400e5aef
xor eax, eax
mov cl, byte [rdx + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x30
jne 0x1400e5adf
vxorps xmm0, xmm0, xmm0
vmovups ymmword [0x14019cfe8], ymm0
vmovups ymmword [0x14019cfd8], ymm0
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.1400e5b2d
mov dword [0x14019d008], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c350
nop
add rsp, 0x58
ret

Function at 0x1400e5b2d
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x60], rax
vpbroadcastb ymm0, byte [0x14015c7b1]
vmovdqu ymmword [rsp + 0x40], ymm0
vmovdqu ymmword [rsp + 0x30], ymm0
xor r12d, r12d
lea rdi, [0x14019cfd8]
lea rbx, [rsp + 0x28]
lea r14, [0x14019cff8]
jmp 0x1400e5bcb
inc cl
mov byte [rax + rdi + 0x20], cl
mov rax, r12
shl rax, 4
lea r15, [rsp + rax]
add r15, 0x30
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov rdx, rbx
vzeroupper
call fcn.1400e4627
mov edx, 0x10
mov rcx, r14
mov r8, rdi
mov r9, r15
call fcn.1400e468c
mov rcx, qword [rsp + 0x28]
call fcn.1400e465e
inc r12
cmp r12, 3
je 0x1400e5be7
mov eax, 0xf
mov eax, eax
mov cl, byte [rax + rdi + 0x20]
cmp cl, 0xff
jne 0x1400e5b79
mov byte [rax + rdi + 0x20], 0
add eax, 0xffffffff
jb 0x1400e5bd0
jmp 0x1400e5b7f
test rsi, rsi
je 0x1400e5bfe
xor eax, eax
mov cl, byte [rsi + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0x30
jne 0x1400e5bee
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [0x14019cfd8], ymm0
vmovaps xmm0, xmmword [rsp + 0x50]
vmovups xmmword [0x14019cff8], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
vzeroupper
call fcn.14009c350
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400eda16
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400eda3c
xor r9d, r9d
xor eax, eax
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400eda20
xor eax, eax
test r9b, r9b
setne al
ret
xor eax, eax
ret

Function at 0x1400eda3f
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400eda66
neg r9b
xor eax, eax
mov r10b, byte [rcx + rax]
mov r11b, byte [rdx + rax]
xor r11b, r10b
and r11b, r9b
xor r11b, r10b
mov byte [rcx + rax], r11b
inc rax
cmp r8, rax
jne 0x1400eda49
ret
Function at 0x1401057e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x140105851
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14010585b
mov dil, 1
test bl, bl
je 0x14010583a
cmp byte [rsi + 8], 0
je 0x140105856
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009c350
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x14010580d
mov rcx, qword [rsi]
jmp 0x14010582f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x140105883
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140105888
xor edi, edi
jmp 0x14010583a
mov rcx, qword [rsi]
jmp 0x140105870
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1401058af
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x14010583a
mov rcx, qword [rsi]
jmp 0x14010589f
Function at 0x140105e60
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x140157be0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x219
call fcn.140043be0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400498e0
mov al, byte [rsi + 0x17]
test al, al
jns 0x140105ede
cmp qword [rsi + 8], 0x103
ja 0x140105efc
test al, al
jns 0x140105ee5
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.140049940
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009c350
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140106220
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140157be0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x2cc
call fcn.140043be0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400498e0
cmp byte [rdi + 0x17], 0
jns 0x1401062a2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140106320
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rsi, [rsp + 0x40]
mov qword [rsi], rbx
mov rcx, rsi
mov rdx, rax
call fcn.14003f9a0
mov rax, qword [rsi]
inc rax
test rax, 0xfffffffffffffffe
setne bl
cmp rax, 2
jb 0x140106320
call fcn.140043c00
mov rcx, qword [rsp + 0x40]
call fcn.14003fa10
lea rcx, [rsp + 0x60]
call fcn.140049940
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14009c350
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010b1c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x14010b1f0
cmp rbx, 2
jb 0x14010b2d8
lea r14, [rdi + 0x80]
mov r15d, 1
movdqa xmm6, xmmword [0x1401636e0]
movdqa xmm7, xmmword [0x1401636f0]
movdqa xmm8, xmmword [0x140163700]
movdqa xmm9, xmmword [0x140163710]
mov rcx, rsi
call fcn.14011c1b0
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
movdqa xmm1, xmm0
pand xmm1, xmm6
pshufd xmm2, xmm0, 0x39
pand xmm2, xmm7
por xmm2, xmm1
pshufd xmm1, xmm0, 0x4e
pand xmm0, xmm8
movdqa xmm3, xmm0
pslldq xmm3, 4
psrldq xmm0, 0xc
por xmm0, xmm3
pand xmm1, xmm9
por xmm1, xmm0
por xmm1, xmm2
movdqa xmmword [rsi + rax], xmm1
add rax, 0x10
cmp rax, 0x80
jne 0x14010b24e
mov rcx, rsi
call fcn.14011c690
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [r14 + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x14010b2ac
inc r15
sub r14, 0xffffffffffffff80
cmp r15, rbx
jne 0x14010b244
mov rcx, rsi
call fcn.14011c1b0
xor eax, eax
movdqa xmm0, xmmword [0x1401636e0]
movdqa xmm1, xmmword [0x1401636f0]
movdqa xmm2, xmmword [0x140163700]
movdqa xmm3, xmmword [0x140163710]
movdqa xmm4, xmmword [rsi + rax]
movdqa xmm5, xmm4
pand xmm5, xmm0
pshufd xmm6, xmm4, 0x39
pand xmm6, xmm1
por xmm6, xmm5
pshufd xmm5, xmm4, 0x4e
pand xmm4, xmm2
movdqa xmm7, xmm4
pslldq xmm7, 4
psrldq xmm4, 0xc
por xmm4, xmm7
pand xmm5, xmm3
por xmm5, xmm4
por xmm5, xmm6
movdqa xmmword [rsi + rax], xmm5
add rax, 0x10
cmp rax, 0x80
jne 0x14010b302
shl rbx, 7
add rdi, rbx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x14010b35d
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140118240
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov edx, dword [rsp + 0xe0]
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movsxd r8, dword [rcx + 0x108]
lea ecx, [rdx + 4]
mov r11d, ecx
shr r11d, 6
xor eax, eax
mov r10d, 0
cmp r11, r8
jae 0x14011829f
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 5
and r10d, 0x20
lea ecx, [rdx + 3]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x1401182bb
mov rax, qword [r9 + r11*8]
shr rax, cl
shl eax, 4
and eax, 0x10
or eax, r10d
lea ecx, [rdx + 2]
mov r14d, ecx
shr r14d, 6
xor r10d, r10d
mov r11d, 0
cmp r14, r8
jae 0x1401182e5
mov r11, qword [r9 + r14*8]
shr r11, cl
shl r11d, 3
and r11d, 8
or eax, r11d
lea ecx, [rdx + 1]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x140118306
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 2
and r10d, 4
or eax, r10d
mov r11d, edx
shr r11d, 6
xor r10d, r10d
cmp r11, r8
jae 0x140118328
mov ecx, edx
mov r10, qword [r9 + r11*8]
shr r10, cl
add r10d, r10d
and r10d, 2
or eax, r10d
test edx, edx
je 0x14011834e
dec edx
mov r10d, edx
shr r10d, 6
xor ecx, ecx
cmp r10, r8
jae 0x14011834c
mov r8, qword [r9 + r10*8]
xor ecx, ecx
bt r8, rdx
setb cl
or eax, ecx
mov r14d, eax
shr r14d, 5
mov ecx, r14d
dec ecx
neg r14
and ecx, eax
xor eax, 0x3f
mov r15d, r14d
and r15d, eax
or r15d, ecx
mov eax, r15d
shr eax, 1
and r15d, 1
add r15, rax
xor r12d, r12d
mov r8d, 0xd8
mov rcx, rsi
xor edx, edx
call fcn.14009e4a0
mov r8, r12
xor r8, r15
dec r8
sar r8, 0x3f
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rsi
mov r9, rbx
call fcn.140114c10
inc r12
add rbx, 0xd8
cmp r12, 0x11
jne 0x14011838a
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x140157be0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
add rsi, 0x48
mov eax, dword [rdi + 0x148]
test eax, eax
jle 0x14011845b
xor ecx, ecx
xor edx, edx
or rdx, qword [rsi + rcx*8]
inc rcx
cmp rax, rcx
jne 0x1401183f6
test rdx, rdx
sete dl
test rax, rax
je 0x1401184ac
movsxd rcx, eax
mov rax, qword [rdi + 0x140]
xor r8d, r8d
lea r9, [rsp + 0x30]
sub r10, r10
jmp 0x140118430
mov r10, qword [rax + r8*8]
sbb r10, qword [rsi + r8*8]
mov qword [r9 + r8*8], r10
lea r8, [r8 + 1]
dec rcx
jne 0x140118430
sbb r10, r10
movsxd rax, dword [rdi + 0x148]
mov ecx, eax
test rax, rax
jle 0x14011847a
xor r8d, r8d
jmp 0x14011846f
mov dl, 1
jmp 0x140118408
xor r9d, r9d
mov qword [rsp + r8*8 + 0x30], r9
inc r8
cmp rcx, r8
je 0x14011847a
test dl, dl
jne 0x14011845f
mov r9, qword [rsp + r8*8 + 0x30]
jmp 0x140118462
test rcx, rcx
je 0x1401184ac
and r14d, 1
neg r14
mov rcx, r14
not rcx
xor edx, edx
mov r8, qword [rsp + rdx*8 + 0x30]
and r8, r14
mov r9, qword [rsi + rdx*8]
and r9, rcx
or r9, r8
mov qword [rsi + rdx*8], r9
inc rdx
cmp rax, rdx
jne 0x14011848e
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009c350
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1401193f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x140157be0]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
je 0x140119458
xor edi, edi
cmp r9, 0x30
ja 0x14011947a
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
jne 0x140119448
mov r8d, 0x30
mov rcx, rsi
call fcn.140070730
test eax, eax
je 0x140119490
mov qword [rsi + 0x118], 1
mov edi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009c350
mov eax, edi
add rsp, 0x58
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x14011947a

Function at 0x14011f410
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14011f420
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14011f441
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14011f461
cmp byte [r14 + 0x50], 0
je 0x14011f525
or edi, 0x80000000
test dil, 8
je 0x14011f478
cmp byte [r14 + 0x68], 0
je 0x14011f530
or edi, 0x40000000
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14011f48c
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14011f49d
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
je 0x14011f4b0
lea rcx, [r14 + 0x20]
call fcn.140060b70
mov r15, rax
cmp byte [r14 + 0x18], 0
je 0x14011f520
mov rcx, r14
call fcn.140060b70
mov r9, rax
cmp ebx, 4
ja case.default.0x14011f4db
mov eax, ebx
lea rcx, [0x140165aac]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, 7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
je 0x14011f50b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r9d, r9d
jmp 0x14011f4c2
or edi, 0x20000000
jmp 0x14011f461
or edi, 0x10000000
jmp 0x14011f478
mov edx, 6
jmp 0x14011f4e2
mov edx, 1
jmp 0x14011f4e2
mov edx, 4
jmp 0x14011f4e2
xor edx, edx
jmp 0x14011f4e2
Function at 0x14014ae8f
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x14014aece
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x14014ae9e
mov dword [rsi], 7
jmp 0x14014ae9e
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009399f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14014aeaa
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14014aeaa
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x14014af80
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x14014aea0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14014ae9e
Function at 0x140002240
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c20
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140002f44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002f8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002f8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002f8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002f8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140002f8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002f90
xor al, al
add rsp, 0x28
ret

Function at 0x141052108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14105228f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141052139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14105211f
add dl, dl
jne 0x141052146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410521a6
xor eax, eax
add dl, dl
jne 0x141052155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14105225d
add dl, dl
jne 0x141052166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141052173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141052180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14105218d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14105219a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14105212e
mov eax, 1
add dl, dl
jne 0x1410521b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410521c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410521ab
sub eax, ebx
mov ebx, 1
jne 0x1410521fc
mov ecx, 1
add dl, dl
jne 0x1410521de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410521eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410521d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14105212e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141052218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141052225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14105220d
cmp eax, 0x7d00
jae 0x14105224b
cmp eax, 0x500
jb 0x141052246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14105212e
cmp eax, 0x7f
ja 0x14105224e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14105212e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141052282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14105212e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x411be0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x411d6b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0042d880
xorps xmm15, xmm15
mov r14, qword [0x005a02a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x411c45
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x411c54
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x411c73
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x411c83
cmp rbx, 0x1000
jae 0x411c4b
jmp 0x411ced
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x411c95
xor edx, edx
jmp 0x411ce4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.0042d880
xorps xmm15, xmm15
mov r14, qword [0x005a02a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x411c79
jmp 0x411c68
call fcn.0045ace0
xorps xmm15, xmm15
mov r14, qword [0x005a02a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00431be0
lea rax, [0x00485405]
mov ebx, 0x18
nop dword [rax]
call fcn.00432460
mov rax, qword [rsp + 0x38]
call fcn.004321a0
lea rax, [0x004856e4]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00432460
mov rax, qword [rsp + 0x30]
call fcn.004321a0
call fcn.00431e20
call fcn.00431c40
lea rax, [0x00486fa3]
mov ebx, 0x21
call fcn.00430240
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00457640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00411be0
Function at 0x411da0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x411fc6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.0042d900
xorps xmm15, xmm15
mov r14, qword [0x005a02a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x411e13
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x411e22
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x411e45
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x411e55
cmp rbx, 0x1000
jae 0x411e19
nop
jmp 0x411ed8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x411e6d
xor esi, esi
jmp 0x411eca
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.0042d900
xorps xmm15, xmm15
mov r14, qword [0x005a02a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x411e4b
jmp 0x411e36
call fcn.0045ace0
xorps xmm15, xmm15
mov r14, qword [0x005a02a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x411f60
nop dword [rax + rax]
call fcn.00431be0
lea rax, [0x004856fd]
mov ebx, 0x19
call fcn.00432460
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.004321a0
lea rax, [0x004856e4]
mov ebx, 0x19
call fcn.00432460
mov eax, dword [rsp + 0x34]
call fcn.004321a0
nop
call fcn.00431e20
call fcn.00431c40
lea rax, [0x0048320a]
mov ebx, 0xd
call fcn.00430240
nop dword [rax + rax]
cmp eax, 0x5af
je 0x411f00
call fcn.00431be0
lea rax, [0x004856fd]
mov ebx, 0x19
call fcn.00432460
mov rax, qword [rsp + 0x38]
call fcn.004321a0
lea rax, [0x004856e4]
mov ebx, 0x19
call fcn.00432460
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.004321a0
call fcn.00431e20
call fcn.00431c40
lea rax, [0x00486923]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00430240
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00457640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00411da0