joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009e672
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400d3588]
test eax, eax
je 0x14009e70a
lea rax, [0x1400d3560]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400d3590]
mov qword [rbp - 8], rax
jmp 0x14009e6ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14009e6e2
cmp qword [rbp - 0x10], 0
je 0x14009e6e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14009e6a8
lea rax, [0x1400d3560]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14009e70b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14009e810
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14009e838
mov eax, 0
jmp 0x14009e886
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14009e861
mov eax, 0
jmp 0x14009e886
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14009e881
mov eax, 0
jmp 0x14009e886
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14009e88c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14009e90a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14009e901
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14009e901
mov rax, qword [rbp - 8]
jmp 0x14009e91f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14009e8d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001220
Capabilities:
Create process on windows
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, str.start_GenshinImpact.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ebx, ebx
lea rdi, [0x140005758]
lea rsi, [0x140005778]
nop dword [rax + rax]
cmp qword [0x140005770], 7
mov rdx, rdi
cmova rdx, qword [0x140005758]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140001297
mov eax, dword [0x140005750]
inc eax
mov dword [0x140005750], eax
cmp eax, 1
je 0x140001341
cmp qword [0x140005790], 7
mov rdx, rsi
cmova rdx, qword [0x140005778]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140001331
lea rdx, str._s_.GenshinImpact_Dataconfig.py__k___allow_hosts_..yuanshen.com..mihoyo.com..hoyoverse.com___ssl_insecure___mode_regular_8888___quiet
lea rcx, [rsp + 0x30]
call fcn.140001380
cmp qword [rsp + 0x48], 7
lea r9, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
lea r8, str..GenshinImpact_Datamihoyo.exe
cmova r9, qword [rsp + 0x30]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140001331
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000132c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000136d
call fcn.14000177c
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001260
lea rcx, str.taskkill__f__im_mihoyo.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400014e0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140001efc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f46
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f46
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f46
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f46
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f46
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f48
xor al, al
add rsp, 0x28
ret
Function at 0x2fc4c5210
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c5c12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c5caa
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c5c8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5c82
cmp qword [rbp - 0x10], 0
je 0x2fc4c5c82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5c48
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c5cab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5db0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5dd8
mov eax, 0
jmp 0x2fc4c5e26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5e01
mov eax, 0
jmp 0x2fc4c5e26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5e21
mov eax, 0
jmp 0x2fc4c5e26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5e2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5eaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5ea1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5ea1
mov rax, qword [rbp - 8]
jmp 0x2fc4c5ebf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5e74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5470
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c5e72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c5f0a
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c5eee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5ee2
cmp qword [rbp - 0x10], 0
je 0x2fc4c5ee2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5ea8
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c5f0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c6010
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c6038
mov eax, 0
jmp 0x2fc4c6086
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c6061
mov eax, 0
jmp 0x2fc4c6086
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c6081
mov eax, 0
jmp 0x2fc4c6086
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c608c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c610a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c6101
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c6101
mov rax, qword [rbp - 8]
jmp 0x2fc4c611f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c60d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1406f6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406f61df
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 0x1406f6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f606f
add dl, dl
jne 0x1406f6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f60f6
xor eax, eax
add dl, dl
jne 0x1406f60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f61ad
add dl, dl
jne 0x1406f60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406f60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406f607e
mov eax, 1
add dl, dl
jne 0x1406f6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f60fb
sub eax, ebx
mov ebx, 1
jne 0x1406f614c
mov ecx, 1
add dl, dl
jne 0x1406f612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406f6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f615d
cmp eax, 0x7d00
jae 0x1406f619b
cmp eax, 0x500
jb 0x1406f6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f607e
cmp eax, 0x7f
ja 0x1406f619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406f61d2
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 0x1406f607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004ed0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
xor edx, edx
mov rsi, rcx
xor r14d, r14d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x234
mov r12, rax
call fcn.140068fa0
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000270f
nop dword [rax]
mov qword [rsp + 0x40], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], r14w
jne 0x1400025b0
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000acf0
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400025e5
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x20]
call fcn.14000acf0
mov r15, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
lea r9, [rsp + 0x20]
mov r11, qword [rsp + 0x38]
cmp r15, 8
mov r10, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
cmovae rax, rdi
cmp r11, 8
cmovae r9, r10
cmp r8, qword [rsp + 0x50]
jne 0x140002673
test r8, r8
je 0x140002703
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x140002673
sub r9, rax
cmp cx, dx
ja 0x140002673
cmp r8, 1
je 0x140002703
movzx ecx, word [r9 + rax + 2]
add rax, 2
dec r8
movzx edx, word [rax]
cmp cx, dx
jae 0x140002652
xor bl, bl
cmp r11, 8
jb 0x1400026b0
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1400026a8
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000273c
mov rcx, r10
call fcn.140066814
cmp r15, 8
jb 0x1400026e7
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400026df
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000273c
mov rcx, rdi
call fcn.140066814
test bl, bl
jne 0x14000270a
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002590
jmp 0x14000270f
mov bl, 1
jmp 0x140002675
mov r14d, dword [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x2a0]
mov eax, r14d
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14007301c
int3
Function at 0x140002750
Capabilities:
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rdi, rcx
mov edx, 0x100
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor esi, esi
mov dword [rsp + 0x20], 0x8f8f8f87
mov eax, esi
mov dword [rsp + 0x24], 0x8fb88fb2
mov dword [rsp + 0x28], 0x8f978fab
mov r8d, 0x7025
mov dword [rsp + 0x2c], 0x8f908f80
mov dword [rsp + 0x30], 0x8fa08f86
mov dword [rsp + 0x34], 0x8f958f8c
mov dword [rsp + 0x38], 0x8f9a8f93
mov dword [rsp + 0x3c], 0x8f888f80
mov dword [rsp + 0x40], 0x8f988f9e
mov dword [rsp + 0x44], 0x8f818f84
mov dword [rsp + 0x48], 0x8fac8f81
mov dword [rsp + 0x4c], 0x8f9d8fb5
mov dword [rsp + 0x50], 0x8f9a8f84
mov dword [rsp + 0x54], 0x8f998f99
mov dword [rsp + 0x58], 0x8f9c8f96
mov dword [rsp + 0x5c], 0x8fa5
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x20]
lea rdx, [rdx + rcx*2]
movzx ecx, ax
sub cx, r8w
inc eax
xor word [rdx], cx
cmp eax, 0x1f
jb 0x140002810
mov rbx, 0xffffffffffffffff
mov word [rsp + 0x5e], si
mov r8, rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], 7
inc r8
cmp word [rax + r8*2], si
jne 0x140002853
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14000acf0
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140002870
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14000c3b0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400028f1
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028ec
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000290d
call fcn.140066814
lea r11, [rsp + 0x280]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14007301c
int3
Function at 0x1400035b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
xor r9d, r9d
mov dword [rsp + 0x40], 0x8f808f87
mov eax, r9d
mov dword [rsp + 0x44], 0x8f828ff3
mov rbx, rcx
mov dword [rsp + 0x48], 0x8fb48f92
mov dword [rsp + 0x4c], 0x8fb38fb8
mov r8d, 0x7025
mov dword [rsp + 0x50], 0x8fa1
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
movzx ecx, ax
sub cx, r8w
inc eax
xor word [rdx], cx
cmp eax, 9
jb 0x1400035f0
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
mov word [rsp + 0x52], r9w
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x20], rax
add rsp, 0x60
pop rbx
ret
Function at 0x14000ea70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov qword [rsp + 0x40], r15
mov rdi, rcx
xor r13d, r13d
movabs r12, 0xb5026f5aa96619e9
nop dword [rax]
nop dword [rax + rax]
mov rsi, r13
mov rbp, r13
test r14, r14
je 0x14000eca5
mov r8, qword [rdi + 8]
movabs r15, 0x38eb3ffff6d3
nop dword [rax]
lea ecx, [r8 + 0xff]
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x138
jne 0x14000eb45
lea rax, [r10 + 0x10]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, r12
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x14000eb00
mov ecx, dword [r10]
jmp 0x14000ec2b
cmp ecx, 0x270
jb 0x14000ec2b
lea r11, [r10 + 0x9c8]
mov ebx, 0x9c
mov rax, qword [r11]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 + 0x4e0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14000eb60
lea r11, [r10 + 0xea8]
mov ebx, 0x9b
mov rax, qword [r11]
nop dword [rax]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 - 0xea0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14000ebb0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov ecx, r13d
mov dword [r10], r13d
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
xor rdx, rax
mov rax, rdx
and rax, r15
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
mov rdx, qword [rdi + 0x10]
cmp rax, rdx
ja 0x14000eae0
mov r8, qword [rdi + 8]
or rsi, rax
lea ecx, [r8 + 0xff]
shl rbp, cl
add rbp, rbp
or rbp, rdx
cmp rbp, r14
jb 0x14000ead0
mov r15, qword [rsp + 0x40]
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x14000ecc9
cmp r8, r14
jne 0x14000eab0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rbp, qword [rsp + 0x38]
xor edx, edx
mov rsi, qword [rsp + 0x48]
div r15
mov eax, edx
pop r15
pop r14
pop r13
pop r12
pop rdi
ret