joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060da0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140060e4f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x140060ea0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.1400693c0
xorps xmm15, xmm15
mov r14, qword [0x1401fcf38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.1400694e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.140060da0
Function at 0x14006b2e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140005683
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.14000b1c0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400694e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x140005660
cmp byte [0x1401fcd0a], 0
je 0x14006b2f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x140068520
jmp 0x140005660

Function at 0x14006b300
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14000b621
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
call fcn.14000b6e0
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x1401fd020]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.14000b6c0
mov rbx, rax
movabs rax, 0x1d8e4e27c47d124b
call fcn.14000b6c0
add rsp, 0x10
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400694e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x14000b5c0
cmp byte [0x1401fcd0a], 0
je 0x14006b335
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x1401fd340]
aesenc xmm0, xmmword [0x1401fd350]
aesenc xmm0, xmmword [0x1401fd360]
movq rax, xmm0
ret
jmp 0x14000b5c0

Function at 0x14006b340
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14000b6a1
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
call fcn.14000b720
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x1401fd020]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.14000b6c0
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
call fcn.14000b6c0
add rsp, 0x10
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400694e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x14000b640
cmp byte [0x1401fcd0a], 0
je 0x14006b376
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1401fd340]
aesenc xmm0, xmmword [0x1401fd350]
aesenc xmm0, xmmword [0x1401fd360]
movq rax, xmm0
ret
jmp 0x14000b640
Function at 0x140078700
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400787ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.140004ac0
xorps xmm15, xmm15
mov r14, qword [0x1401fcf38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x1400787af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x1400c5040]
xor ebx, ebx
mov rcx, rdx
call fcn.140050700
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.140078fe0
inc rbx
cmp rcx, rbx
jae 0x14007879e
mov edi, 1
lea rsi, [0x1400c5040]
call fcn.1400507c0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x1400f0cf8]
lea rsi, [0x1400f05a0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400694e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140078700
Function at 0x14008d3c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14008d5f5
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x14008d400
dec rbx
mov r10, rbx
neg r10
sar r10, 0x3f
and r10d, 1
add rax, r10
mov rcx, r9
nop dword [rax + rax]
test rbx, rbx
je 0x14008d5da
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x46], r8b
mov qword [rsp + 0x50], rbx
movzx r9d, byte [rax]
mov byte [rsp + 0x47], r9b
cmp r9b, 0x20
jbe 0x14008d536
cmp r9b, 0x22
je 0x14008d442
cmp r9b, 0x5c
jne 0x14008d54b
lea r9, [rcx + 1]
nop
jmp 0x14008d3e4
mov qword [rsp + 0x48], rcx
mov r8, rcx
shr rcx, 0x3f
lea r9, [rcx + r8]
sar r9, 1
mov rax, rdi
mov rbx, rsi
mov rcx, rdx
mov rdi, r9
call fcn.14008d320
mov rdx, qword [rsp + 0x48]
bt edx, 0
jb 0x14008d4ea
movzx edx, byte [rsp + 0x46]
test dl, dl
je 0x14008d4db
mov r8, qword [rsp + 0x50]
nop
cmp r8, 1
jle 0x14008d4d1
mov r9, qword [rsp + 0x58]
cmp byte [r9 + 1], 0x22
jne 0x14008d4c9
inc rbx
cmp rcx, rbx
jae 0x14008d4ba
mov edi, 1
lea rsi, [0x1400c4fc0]
call fcn.1400507c0
movzx edx, byte [rsp + 0x46]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov byte [rbx + rax - 1], 0x22
lea rsi, [r8 - 1]
lea r8, [r9 + 1]
jmp 0x14008d4e5
mov rsi, r8
mov r8, r9
jmp 0x14008d4e5
mov rsi, r8
mov r8, qword [rsp + 0x58]
jmp 0x14008d4e5
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor edx, 1
jmp 0x14008d519
inc rbx
cmp rcx, rbx
jae 0x14008d505
mov edi, 1
lea rsi, [0x1400c4fc0]
nop
call fcn.1400507c0
mov byte [rbx + rax - 1], 0x22
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x46]
xor r9d, r9d
mov rdi, rax
mov rax, r8
mov r8d, edx
mov rdx, rcx
mov r10, rbx
mov rbx, rsi
mov rsi, r10
jmp 0x14008d3e4
cmp r9b, 9
je 0x14008d546
nop dword [rax]
cmp r9b, 0x20
jne 0x14008d54b
test r8b, r8b
je 0x14008d5a5
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.14008d320
inc rbx
nop
cmp rcx, rbx
jae 0x14008d576
mov edi, 1
lea rsi, [0x1400c4fc0]
call fcn.1400507c0
movzx r10d, byte [rsp + 0x47]
mov byte [rbx + rax - 1], r10b
mov rdx, rcx
mov rsi, rbx
xor r9d, r9d
mov rdi, rax
movzx r8d, byte [rsp + 0x46]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
nop dword [rax]
jmp 0x14008d3e4
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.14008d320
mov rsi, qword [rsp + 0x50]
dec rsi
mov rdx, rsi
neg rdx
sar rdx, 0x3f
and edx, 1
mov r8, qword [rsp + 0x58]
lea rdi, [rdx + r8]
add rsp, 0x60
pop rbp
ret
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.14008d320
xor edi, edi
xor esi, esi
add rsp, 0x60
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.1400694e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14008d3c0
Function at 0x140096400
Capabilities:
Hash data using fnv

Disassembly:
movzx ecx, bl
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
ret

Function at 0x140096420
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
xor edx, edx
jmp 0x140096441
movzx esi, byte [rbx + rdx]
xor rax, rsi
inc rdx
movabs rsi, 0x100000001b3
imul rax, rsi
cmp rcx, rdx
jg 0x140096429
ret

Function at 0x140096460
Capabilities:
Hash data using fnv

Disassembly:
xor ecx, ecx
jmp 0x140096480
movzx edx, bl
xor rax, rdx
inc rcx
shr rbx, 8
movabs rdx, 0x100000001b3
imul rax, rdx
nop
cmp rcx, 8
jl 0x140096464
ret

Function at 0x1400964a0
Capabilities:
Hash data using fnv

Disassembly:
xor ecx, ecx
jmp 0x1400964c0
movzx edx, bl
xor rax, rdx
inc rcx
shr ebx, 8
movabs rdx, 0x100000001b3
imul rax, rdx
nop
cmp rcx, 4
jl 0x1400964a4
ret

Function at 0x1400a7c40
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rcx, [0x14016a3f0]
mov r12d, 1
xor esi, esi
lea rbp, str._d_t_t_llu_n
xor edi, edi
call fcn.1400a7bf0
nop word [rax + rax]
rdtsc
mov r9d, eax
mov r8d, edx
mov eax, edi
cpuid
rdtsc
shl r8, 0x20
mov eax, eax
shl rdx, 0x20
mov rcx, rbp
or rdx, rax
mov rax, r8
or rax, r9
sub rdx, rax
mov r8, rdx
add rsi, rdx
mov edx, r12d
add r12d, 1
call fcn.1400a7bf0
mov ecx, 1
call fcn.1400a8200
cmp r12d, 0xb
jne 0x1400a7c70
movabs rax, 0xcccccccccccccccd
lea rcx, str.Average_Time_Difference:__llu_n
mul rsi
mov rsi, rdx
shr rsi, 3
mov rdx, rsi
sub rsi, 1
call fcn.1400a7bf0
cmp rsi, 0x2ec
seta al
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400ad440
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400ae520
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400ae520
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400ad4b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140201474]
mov rbx, rcx
test esi, esi
jle 0x1400ad5e0
mov rax, qword [0x140201478]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400ad4fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400ad585
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400ad4e0
mov rcx, rbx
call fcn.1400adf20
mov rdi, rax
test rax, rax
je 0x1400ad602
mov rax, qword [0x140201478]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400ae060
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140201478]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400ad5e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400ad57e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400ad590
add dword [0x140201474], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140201478]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400ad57e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400ad440
nop dword [rax]
xor esi, esi
jmp 0x1400ad508
mov rax, qword [0x140201478]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400ad440
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400ad440
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400adb90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1402014e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402014c0]
test rbx, rbx
je 0x1400adbec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400adbe3
test eax, eax
jne 0x1400adbe3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400adbc8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400adf20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14016ac70]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400adf40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400adf48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400adf40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400adf9d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400adf94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400adf40
add rax, 0x28
cmp rax, r9
jne 0x1400adf80
xor eax, eax
ret

Function at 0x1400adfa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14016ac70]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400adfbf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400adfc8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400adfbf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400ae060
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14016ac70]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400ae07f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400ae088
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14004e2c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004e2cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14004e2dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14004e2c5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14004e2f5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14004e2e2
sub eax, 3
jb 0x14004e30f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14004e346
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14004e336
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14004e334
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14004e323
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14004e282
jmp 0x14004e2cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1e00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14004e392
cmp rsi, rcx
jae 0x14004e39a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14004e379
cmp al, 0x8f
ja 0x14004e379
cmp byte [rsi - 2], 0xf
je 0x14004e37f
sub al, 0xe8
cmp al, 1
ja 0x14004e363
cmp rsi, rcx
jae 0x14004e39a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14004e369
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14004e39a
lodsb al, byte [rsi]
jmp 0x14004e379
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4c000]
mov eax, dword [rdi]
or eax, eax
je 0x14004e3f7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4e000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14004e3a7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14004e3f1
mov qword [rbx], rax
add rbx, 8
jmp 0x14004e3c7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14004e431
cmp al, 0xef
ja 0x14004e423
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14004e403
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14004e412
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14004e4b0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14004e4b0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14004e4a0
sub rsp, 0xffffffffffffff80
jmp 0x1400014f0
Function at 0x14000c850
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x30], 0
lea rdx, [0x140028c5c]
mov rcx, qword [rsp + 0x2a0]
call fcn.140005210
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x2a8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x14000c8f1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140005210
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2a0]
call fcn.140006c80
lea rcx, [rsp + 0x48]
call fcn.140006810
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400119d0
add rsp, 0x298
ret

Function at 0x14000cc30
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0xffffffff80000001
lea rcx, [rsp + 0x50]
call fcn.1400058a0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rcx, [rsp + 0x30]
call fcn.140004b70
nop
lea rdx, str.PCApp
lea rcx, [rsp + 0x28]
call fcn.140004b70
nop
mov r9, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14000da80
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140008960
movzx eax, al
test eax, eax
jne 0x14000ccb3
mov dword [rsp + 0x20], 1
jmp 0x14000ccbb
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x48]
call fcn.140006600
nop
lea rcx, [rsp + 0x28]
call fcn.140006600
nop
lea rcx, [rsp + 0x30]
call fcn.140006600
movzx eax, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400119d0
add rsp, 0x68
ret

Function at 0x14000ce10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14000ce69
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14000ceb6
mov rcx, qword [rsp + 0x290]
call fcn.14000bdc0
mov rdx, rax
lea rcx, [rsp + 0x5c]
call fcn.14001aac4
test eax, eax
jne 0x14000ce96
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000ceb6
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000ce69
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400119d0
add rsp, 0x288
ret
Function at 0x14000da80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 0
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000b7f0
lea rcx, [rsp + 0x60]
call fcn.140004c30
nop
mov dword [rsp + 0x50], 0x1000
mov rcx, qword [rsp + 0xa0]
call fcn.140002c40
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000dba5
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400085d0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x98]
call fcn.140002c40
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x60]
call fcn.140008f40
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.140004b40
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.140006600
mov rax, qword [rsp + 0x90]
jmp 0x14000dbd6
lea rdx, [0x140028748]
mov rcx, qword [rsp + 0x90]
call fcn.140004b70
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.140006600
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400119d0
add rsp, 0x88
ret
Function at 0x1400104dc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140010560
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140029770]
cmp byte [rcx + rax], 0
je 0x140010560
dec r8
sub rdx, 1
jne 0x140010546
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140012030
Capabilities:
Parse pe header

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

Function at 0x14001ac40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x14001ac7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001a638
call fcn.14001a6c4
mov eax, dword [rax]
jmp 0x14001acf2
cmp rdi, qword [rbx + 0x18]
ja 0x14001ac87
mov qword [rbx + 0x20], rdi
jmp 0x14001acf0
cmp byte [rbx + 0x28], 0
lea rsi, [rdi + 1]
je 0x14001ac9e
mov rcx, qword [rbx + 0x10]
call fcn.14001d0f4
mov byte [rbx + 0x28], 0
lea rcx, [rdi*2 + 2]
call fcn.14001d130
mov qword [rbx + 0x10], rax
mov r8, rax
neg rax
mov edx, 0
sbb eax, eax
not eax
and eax, 0xc
cmove rdx, rsi
test eax, eax
sete cl
mov byte [rbx + 0x28], cl
mov qword [rbx + 0x18], rdx
test eax, eax
jne 0x14001acf2
mov ecx, dword [rbx + 0x18]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x14001ac65
mov qword [rbx + 0x20], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret