joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c4f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c500b
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
movabs rdx, 0x13b58c6f5874c347
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x7316c4c118b865c6
mov qword [rsp + 0x24], rdx
movabs rdx, 0x601070e0e050503
mov qword [rsp + 0x2c], rdx
movabs rdx, 0xa0d0d0f0601070e
mov qword [rsp + 0x30], rdx
movabs rdx, 0xa050c0c0e08050b
mov qword [rsp + 0x38], rdx
xor eax, eax
jmp 0x5c4fa4
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 - 0x43]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 - 0x43]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
cmp rax, 0x14
jge 0x5c4fd7
movzx edx, byte [rsp + rax + 0x2c]
movzx esi, byte [rsp + rax + 0x2d]
mov edi, edx
xor edx, esi
add edx, eax
nop word [rax + rax]
cmp rdi, 0x10
jae 0x5c4ffe
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0x10
jb 0x5c4f87
jmp 0x5c4ff2
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0x10
call fcn.0044a200
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov eax, esi
mov ecx, 0x10
call fcn.0045f5c0
mov eax, edi
mov ecx, 0x10
call fcn.0045f5c0
nop
call fcn.0045cf60
jmp fcn.005c4f20

Function at 0x5c5020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5c50f2
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
movabs rdx, 0xd22dbad377309bd7
mov qword [rsp + 0x18], rdx
mov word [rsp + 0x20], 0xd7bb
movabs rdx, 0x204090906090601
mov qword [rsp + 0x22], rdx
movabs rdx, 0x107040500080204
mov qword [rsp + 0x28], rdx
xor eax, eax
jmp 0x5c508d
movzx r9d, byte [rsp + rsi + 0x18]
sub r9d, edx
lea edx, [r9 - 0x58]
mov byte [rsp + rdi + 0x18], dl
lea edx, [r8 - 0x58]
mov byte [rsp + rsi + 0x18], dl
add rax, 2
cmp rax, 0xe
jge 0x5c50ba
movzx edx, byte [rsp + rax + 0x22]
movzx esi, byte [rsp + rax + 0x23]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xa
jae 0x5c50e5
movzx r8d, byte [rsp + rdi + 0x18]
sub r8d, edx
cmp rsi, 0xa
jb 0x5c5070
jmp 0x5c50d5
xor eax, eax
lea rbx, [rsp + 0x18]
mov ecx, 0xa
call fcn.0044a200
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov eax, esi
mov ecx, 0xa
nop dword [rax]
call fcn.0045f5c0
mov eax, edi
mov ecx, 0xa
call fcn.0045f5c0
nop
call fcn.0045cf60
jmp fcn.005c5020
Function at 0x233ece108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x233ece28f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x233ece139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x233ece11f
add dl, dl
jne 0x233ece146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x233ece1a6
xor eax, eax
add dl, dl
jne 0x233ece155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x233ece25d
add dl, dl
jne 0x233ece166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x233ece173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x233ece180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x233ece18d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x233ece19a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x233ece12e
mov eax, 1
add dl, dl
jne 0x233ece1b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x233ece1c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x233ece1ab
sub eax, ebx
mov ebx, 1
jne 0x233ece1fc
mov ecx, 1
add dl, dl
jne 0x233ece1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x233ece1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x233ece1d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x233ece12e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x233ece218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x233ece225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x233ece20d
cmp eax, 0x7d00
jae 0x233ece24b
cmp eax, 0x500
jb 0x233ece246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x233ece12e
cmp eax, 0x7f
ja 0x233ece24e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x233ece12e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x233ece282
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 0x233ece12e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140039670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14026de28]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0x2a3a2f5c
mov dword [rsp + 0x34], 0x3e3c223f
mov byte [rsp + 0x38], 0x7c
call fcn.140036ec0
xor esi, esi
lea rdi, [rsp + 0x30]
mov rdx, qword [rbx + 0x18]
mov rcx, rbx
cmp rdx, 8
jb 0x1400396c2
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea r8, [rax + rax]
mov rax, rbx
lea r11, [r8 + rcx]
jb 0x1400396d6
mov rax, qword [rbx]
add rax, r8
mov rcx, rbx
cmp rdx, 8
jb 0x1400396e5
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14003974b
movsx r8d, byte [rdi]
nop
movzx edx, word [rcx]
cmp edx, r8d
je 0x140039701
add rcx, 2
cmp rcx, rax
jne 0x1400396f0
cmp rcx, rax
je 0x14003974b
lea rdx, [rcx + 2]
mov r9, rax
sub r9, rdx
mov r8, rsi
inc r9
shr r9, 1
cmp rdx, rax
cmova r9, rsi
test r9, r9
je 0x14003974b
movsx r10d, byte [rdi]
nop dword [rax]
movzx eax, word [rdx]
cmp eax, r10d
je 0x14003973f
mov word [rcx], ax
add rcx, 2
add rdx, 2
inc r8
cmp r8, r9
jne 0x140039730
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140039758
mov rax, qword [rbx]
mov rdx, rcx
sub rdx, rax
sar rdx, 1
cmp qword [rbx + 0x10], rdx
jb 0x1400397de
lfence
mov r8, qword [rbx + 0x10]
sub r11, rcx
sar r11, 1
mov rax, r8
sub rax, rdx
cmp rax, r11
cmovb r11, rax
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14003978e
mov rax, qword [rbx]
sub r8, r11
lea rcx, [rax + rdx*2]
mov qword [rbx + 0x10], r8
sub r8, rdx
lea rdx, [rcx + r11*2]
lea r8, [r8*2 + 2]
call fcn.14017e030
lea rax, [rsp + 0x39]
inc rdi
cmp rdi, rax
jne 0x1400396b2
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014e130
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14003aab0
int3
Function at 0x14004a930
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 8]
test rax, rax
je 0x14004a950
mov rcx, qword [rax]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
add rsp, 0x28
ret
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14004ac90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
mov r14, rdx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
and ebx, 1
add ebx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 4
mov ecx, 0x12
and al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebx, edi
or ebx, 8
mov ecx, 0x90
and al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, 0x14
bts edi, 8
and al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebp, edi
or ebp, 1
and al, 1
cmove ebp, edi
add rsi, 0xfffffffffffffff4
mov ebx, ebp
cmp rsi, 0x84
ja case.0x14004ad49.14
lea rdx, [0x140000000]
movzx eax, byte [rdx + rsi + 0x4ae18]
mov ecx, dword [rdx + rax*4 + 0x4adf4]
add rcx, rdx
jmp rcx
bts ebx, 9
and r14d, 0x1000000
test r14, r14
cmove ebx, ebp
jmp case.0x14004ad49.14
bts ebx, 9
and r14d, 0x1000000
test r14, r14
cmovne ebx, ebp
jmp case.0x14004ad49.14
bts ebx, 9
jmp case.0x14004ad49.14
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne case.0x14004ad49.91
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je case.0x14004ad49.14
bts ebx, 0xb
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne case.0x14004ad49.91
mov ecx, 0xa3
jmp 0x14004ad8e
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne case.0x14004ad49.91
mov ecx, 0xa5
jmp 0x14004ad8e
bts ebx, 0xa
jmp case.0x14004ad49.14

Function at 0x14004aea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
movzx eax, cl
shr rdx, 1
mov rdi, rcx
and edx, 4
mov ecx, 0x12
mov ebx, edx
or ebx, 2
and al, 4
cmove ebx, edx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
or ecx, 8
and al, 1
movzx eax, dil
cmove ecx, ebx
mov edx, ecx
or edx, 0x10
and al, 1
movzx eax, dil
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
cmove ecx, edx
mov ebx, ecx
or ebx, 0x40
and dil, 2
cmove ebx, ecx
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, 0x14
bts edi, 8
and al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [rsp + 0x30]
mov ecx, edi
or ecx, 1
and al, 1
cmove ecx, edi
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x14004af40
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
xor esi, esi
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rsi
mov rbx, rcx
mov word [rcx], si
mov ecx, 0x210
mov qword [rax + 0x10], 8
mov qword [rax - 0x40], 8
mov qword [rax - 0x28], 0x107
mov qword [rax - 0x20], 0xa
call fcn.140002bc0
mov r8, rax
mov qword [rbx + 0x10], 0x104
mov qword [rbx + 0x18], 0x107
mov rdi, r8
movzx eax, si
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [r8 + 0x208], si
mov rdx, rbx
mov qword [rbx], r8
cmp qword [rbx + 0x18], 8
mov ecx, dword [rbx + 0x10]
cmovae rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov rax, qword [rbx + 0x10]
cmp rdx, rax
ja 0x14004aff7
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004afe8
lfence
mov rax, qword [rbx]
mov word [rax + rdx*2], si
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
lfence
mov rdi, qword [rbx + 0x18]
sub rdx, rax
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x14004b049
lea r9, [rcx + rdx]
mov r8, rbx
mov qword [rbx + 0x10], r9
cmp rdi, 8
jb 0x14004b027
lfence
mov r8, qword [rbx]
lea rdi, [r8 + rcx*2]
test rdx, rdx
je 0x14004b039
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r8 + r9*2], si
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
lfence
mov r9, rdx
mov word [rsp + 0x20], si
xor r8d, r8d
mov rcx, rbx
call fcn.140036920
mov rax, rbx
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004b3b0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14026de28]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor esi, esi
mov rax, rdx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
cmp qword [rdx + 0x18], 8
jb 0x14004b3f1
mov rax, qword [rdx]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004b4dc
nop dword [rax]
test byte [rsp + 0x40], 0x10
jne 0x14004b4c6
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], 7
mov r8, 0xffffffffffffffff
mov word [rsp + 0x20], si
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x14004b440
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140025490
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x14004b47b
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rbx + 8], 0x20
jmp 0x14004b4c6
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.1400493e0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14004b4c6
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b4c1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b50d
call fcn.14014e088
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004b410
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rbx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14014e130
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14018c54c
int3
Function at 0x14004bca0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
Function at 0x14004c450
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x120
xor ebx, ebx
lea r9, [rax + 0x18]
mov rsi, rdx
mov dword [rsp + 0x140], ebx
xor r8d, r8d
mov qword [rax + 0x18], rbx
xor edx, edx
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test eax, eax
jns 0x14004c4ef
call sub.libcef.dll_cef_get_min_log_level
cmp eax, 2
jg 0x14004c4ce
lfence
lea r9d, [rbx + 2]
mov r8d, 0x163
lea rdx, str.C:uworkspace03_20cefwinauto_srcutils_win.cc
lea rcx, [rsp + 0x20]
call fcn.1400be000
lea rdx, str.Failed_to_get_known_folder_path._HR:
lea rcx, [rax + 8]
call fcn.140002500
mov rcx, rax
mov edx, edi
call fcn.140049b40
mov ebx, 1
test bl, 1
je 0x14004c4dd
lea rcx, [rsp + 0x20]
call fcn.1400be360
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x14004c523
lfence
mov rdx, qword [rsp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x14004c501
mov rcx, rsi
call fcn.140025490
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14004cf00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r15
sub rsp, 0x50
mov rbx, rdx
mov rsi, rcx
call fcn.14004e350
test al, al
je 0x14004d042
xor ecx, ecx
mov qword [0x140271928], rbx
call fcn.14004ee60
mov rdi, rax
test rax, rax
je 0x14004d042
mov edx, 0x40
mov dword [rsp + 0x80], 0
lea r15, [section..crthunk]
mov r8d, edx
mov rcx, r15
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14004d042
mov rax, qword [rdi]
mov rcx, rdi
mov qword [rsp + 0x70], rbp
call qword [rax + 0x30]
mov rbx, qword [rdi]
lea rcx, [0x140203438]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], 0
lea r9, str.NtMapViewOfSection
mov qword [rsp + 0x38], 0x40
mov rdx, rax
lea rax, [0x14004ec40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov r8, rsi
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov edx, 8
mov qword [section..oldntma], r15
lea r9, [rsp + 0x80]
mov ebp, eax
lea rcx, [section..oldntma]
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, qword [rdi]
mov esi, 1
mov edx, esi
mov rcx, rdi
mov ebx, eax
call qword [r9]
test ebx, ebx
je 0x14004d023
lea r9, [rsp + 0x80]
mov rcx, r15
lea edx, [rsi + 0x3f]
lea r8d, [rsi + 0x1f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14004d025
xor esi, esi
test ebp, ebp
mov rbp, qword [rsp + 0x70]
js 0x14004d042
test esi, esi
je 0x14004d042
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r15
pop rdi
pop rsi
ret
mov rbx, qword [rsp + 0x78]
xor al, al
add rsp, 0x50
pop r15
pop rdi
pop rsi
ret
Function at 0x14004ee60
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x14026de28]
xor rax, rsp
mov qword [rsp + 0x140], rax
movzx edi, cl
mov dword [rsp + 0x20], 0x11c
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.14017e440
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x24]
cmp eax, 5
jne 0x14004ef26
mov eax, dword [rsp + 0x28]
test eax, eax
jle 0x14004ef33
cmp eax, 1
jne 0x14004eec4
cmp word [rsp + 0x134], 2
jb 0x14004ef33
mov qword [rsp + 0x160], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x30
mov rbx, rax
call fcn.14014e04c
test rax, rax
je 0x14004ef05
lea rcx, [0x140203500]
mov qword [rax + 0x18], 0
mov qword [rax], rcx
mov qword [rax + 0x20], rbx
mov byte [rax + 0x28], dil
mov dword [rax + 0x2c], 0
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14014e130
add rsp, 0x150
pop rdi
ret
cmp eax, 6
jne 0x14004ef31
mov ecx, dword [rsp + 0x28]
jmp 0x14004eec4
jg 0x14004eec4
xor eax, eax
jmp 0x14004ef0d

Function at 0x14004f350
Capabilities:
Parse pe header

Disassembly:
mov rdx, qword [rcx + 8]
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14004f386
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14004f386
mov ecx, 0xf0
cmp word [rax + rdx + 0x14], cx
jne 0x14004f386
mov ecx, 0x20b
cmp word [rax + rdx + 0x18], cx
jne 0x14004f386
mov al, 1
ret
xor al, al
ret

Function at 0x14004fb50
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
lea rax, [rsp + 0x30]
mov rbx, r8
mov qword [rsp + 0x20], rax
mov r8, rdi
mov r9d, 8
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14004fbe1
lea rax, [rsp + 0x38]
mov r9, rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004fbb8
cmp rdi, qword [rsp + 0x38]
jne 0x14004fbb8
mov bl, 1
jmp 0x14004fbba
xor bl, bl
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14004fbe1
movzx eax, bl
jmp 0x14004fbe3
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140055db0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rdx + 8]
mov rbx, rdx
test rax, rax
je 0x140055dc7
mov r8, qword [rax]
jmp 0x140055dca
xor r8d, r8d
mov dword [rsp + 0x28], 1
lea rdx, str.explore
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbx + 8]
lea rax, [0x1401ff7f0]
mov qword [rbx], rax
test rcx, rcx
je 0x140055e25
cmp byte [rbx + 0x10], 0
je 0x140055e19
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbx + 8]
mov edx, SafeArrayPutElement
call fcn.14014e088
mov qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
add rsp, 0x30
pop rbx
ret
Function at 0x140055e30
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rdx + 8]
mov rbx, rdx
test rax, rax
je 0x140055e47
mov r8, qword [rax]
jmp 0x140055e4a
xor r8d, r8d
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbx + 8]
lea rax, [0x1401ff7f0]
mov qword [rbx], rax
test rcx, rcx
je 0x140055ea5
cmp byte [rbx + 0x10], 0
je 0x140055e99
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbx + 8]
mov edx, SafeArrayPutElement
call fcn.14014e088
mov qword [rbx + 8], 0
mov byte [rbx + 0x10], 0
add rsp, 0x30
pop rbx
ret
Function at 0x1400615c0
Capabilities:
Identify system language via api

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14026de28]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movdqa xmm0, xmmword [0x140200020]
mov rdi, rdx
mov rbx, rcx
mov byte [rbp - 0x21], 0
lea rdx, str.SELECT_Caption__Version_FROM_Win32_OperatingSystem
mov r8d, 0x32
lea rcx, [rbp - 0x21]
movdqu xmmword [rbp - 0x11], xmm0
call fcn.140013760
lea rax, [0x140204098]
mov qword [rbp + 7], rdi
mov qword [rbp - 1], rax
lea r8, [rbp - 1]
lea rax, [rbp - 1]
mov rcx, rbx
lea rdx, [rbp - 0x21]
mov qword [rbp + 0x37], rax
call fcn.14005ee60
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x14006166d
mov rcx, qword [rbp - 0x21]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061668
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400617cf
call fcn.14014e088
mov qword [rsp + 0xd0], r14
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea rcx, [rbp - 1]
call fcn.140062870
lea r14, [0x1401ff7f0]
mov qword [rbp - 0x31], 0
mov qword [rbp - 0x39], r14
mov rbx, rax
mov byte [rbp - 0x29], 0
cmp qword [rax + 0x10], 0
je 0x1400616e6
mov ecx, SafeArrayPutElement
call fcn.14014e04c
mov qword [rbp - 0x31], rax
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rbp - 0x29], 1
cmp qword [rbx + 0x18], 8
mov rdx, qword [rbx + 0x10]
jb 0x1400616d4
mov rbx, qword [rbx]
mov r8, qword [rbp - 0x31]
mov r9d, 1
mov rcx, rbx
call sub.libcef.dll_cef_string_utf16_set
lea rdx, str.UserDefaultUILanguage
lea rcx, [rbp - 0x21]
call fcn.140004f60
mov rcx, qword [rdi]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SetErrorInfo]
mov rcx, qword [rbp - 0x19]
mov qword [rbp - 0x21], r14
test rcx, rcx
je 0x14006173c
cmp byte [rbp - 0x11], 0
je 0x140061730
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbp - 0x19]
mov edx, SafeArrayPutElement
call fcn.14014e088
mov qword [rbp - 0x19], 0
mov byte [rbp - 0x11], 0
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x39], r14
mov r14, qword [rsp + 0xd0]
test rcx, rcx
je 0x140061776
cmp byte [rbp - 0x29], 0
je 0x14006176a
call sub.libcef.dll_cef_string_utf16_clear
mov rcx, qword [rbp - 0x31]
mov edx, SafeArrayPutElement
call fcn.14014e088
mov qword [rbp - 0x31], 0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1400617b2
mov rcx, qword [rbp - 1]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400617ad
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400617c9
call fcn.14014e088
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14014e130
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
call fcn.14018c54c
int3
call fcn.14018c54c
int3