joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d800
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x260
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call fcn.14000515c
mov rsi, rax
test rax, rax
jne 0x14000d83a
lea ebx, [rax + 1]
jmp 0x14000d8bb
xor edx, edx
mov dword [rsp + 0x34], 1
mov r8d, 0x208
mov dword [rsp + 0x30], 0x104
lea rcx, [rsp + 0x40]
call fcn.1400157c0
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov rcx, rsi
lea rdx, str.Version
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d8b2
lea rdx, str.3.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14001d068
test eax, eax
jne 0x14000d8ad
call fcn.14000d5ac
cmp eax, 0x3fab
jae 0x14000d8b2
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140013600
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rsi
ret
Function at 0x14000ddb0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.1400157c0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [0x140057b40]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000de4c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140013600
add rsp, 0xf8
ret
Function at 0x14000de68
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov ebx, ecx
lea r8, [0x1400593b0]
mov edi, 0x432
mov edx, edi
lea rsi, [0x14005a420]
mov rcx, rsi
call fcn.14001af80
lea r8, [0x140038630]
mov edx, edi
mov rcx, rsi
call fcn.14001af00
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000ded7
mov rcx, rsi
call fcn.14001d804
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000e0e5
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x30]
call fcn.1400157c0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14000ad54
nop
lea rdx, str._echo_off
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rdi, [0x140038804]
cmp ebx, 1
jne 0x14000df7d
lea rdx, str.sc_stop_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rdx, str.sc_delete_igfxCUIService1.0.0.0
jmp 0x14000e04d
cmp ebx, 2
jne 0x14000e05f
lea rdx, str.sc_stop_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rdx, str.sc_delete_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rdx, str.TIMEOUT_5__NOBREAK
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
lea rdx, [0x1400583b0]
call fcn.14000a3e4
mov rcx, rax
lea rdx, [0x1400380a0]
call fcn.14000a3e4
mov rcx, rax
lea rdx, [0x140038808]
call fcn.14000a3e4
mov rcx, rax
mov rdx, rdi
call fcn.14000a3e4
mov rcx, rax
lea rdx, str.__service
call fcn.14000a08c
mov rcx, rax
call fcn.14000aa60
lea rdx, str.sc_start_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rdx, [0x1400388c8]
lea rcx, [rsp + 0x30]
call fcn.14000a3e4
mov rcx, rax
mov rdx, rdi
call fcn.14000a3e4
mov rcx, rax
lea rdx, [0x1400593b0]
call fcn.14000a3e4
mov rcx, rax
lea rdx, [0x1400380a0]
call fcn.14000a3e4
mov rcx, rax
lea rdx, str.8A694AF2_286D_429D_867A_3F95898EE308.bat
call fcn.14000a3e4
mov rcx, rax
mov rdx, rdi
call fcn.14000a3e4
mov rcx, rax
call fcn.14000aa60
lea rcx, [rsp + 0x30]
call fcn.14000f170
nop
lea rcx, [rbp - 0x28]
call fcn.14000b6f0
nop
lea rcx, vtable.std::ios_base.0
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x28]
call fcn.140014cc8
nop
mov al, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140013600
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000e5a0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x8a0
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rcx
lea r8, [0x140058bb0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
xor edi, edi
call fcn.14001af80
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.14001af00
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000e60b
lea rcx, [rsp + 0x20]
call fcn.14001d804
mov edi, 1
mov eax, edi
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140013600
mov rbx, qword [rsp + 0x8b8]
add rsp, 0x8a0
pop rdi
ret

Function at 0x14000e630
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
lea rcx, [0x14003a6a0]
call fcn.14000e5a0
lea rcx, [0x14003a300]
call fcn.14000e5a0
lea rcx, [0x14003a640]
call fcn.14000e5a0
lea rcx, [0x14003a700]
call fcn.14000e5a0
lea rcx, [0x14003a760]
call fcn.14000e5a0
lea rcx, [0x140038630]
call fcn.14000e5a0
lea rcx, [0x14003a550]
add rsp, 0x28
jmp fcn.14000e5a0

Function at 0x14000e754
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.1400157c0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [0x140059bb0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000e7f0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140013600
add rsp, 0xf8
ret

Function at 0x14000e80c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rsp + 0x38], rax
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov rdi, rdx
mov qword [r11 - 0x28], rax
mov rdx, rcx
mov rbx, r8
mov rcx, 0xffffffff80000002
mov r9d, 0xf003f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e89a
cmp qword [rsp + 0x30], 0
je 0x14000e89a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013600
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000fdc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14000fe04
movzx eax, r14w
jmp 0x14000ff40
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14000fe40
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x14000fe40
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14000ff40
cmp qword [rcx + 0x80], r14
je 0x14000ff3d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000fe7e
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000fea7
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.14001d4d0
cmp ax, di
je 0x14000ff3d
movzx edi, si
jmp 0x14000ff3d
lea r8, [rbp + 7]
mov word [rbp + 0x17], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 0x19]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0xf]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 0x17]
call qword [0x140036680]
test eax, eax
js 0x14000ff3d
cmp eax, 1
jle 0x14000feff
cmp eax, 3
jne 0x14000ff3d
lfence
movzx ecx, word [rbp + 0x17]
jmp 0x14000fe8a
mov r14, qword [rbp + 7]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x14000ff2c
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.14001e2a8
cmp r14, rax
jne 0x14000ff3d
lea rax, [rbp + 0x17]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0xf], rax
movzx eax, si
jne 0x14000ff40
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140013600
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140012b00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, edx
mov rsi, rcx
xor ebx, ebx
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rbx + 1]
call fcn.14000515c
mov rdi, rax
test rax, rax
je 0x140012b6a
lea r9d, [rbx + 4]
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013600
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140012cd0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, r8d
lea rdx, str.Received_Post_Shell_Event__ld_n
lea rcx, [0x140055fe0]
call fcn.140006798
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], eax
and qword [rsp + 0x40], rax
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rax + 1]
call fcn.14000515c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140012d77
mov dword [rsp + 0x48], 2
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InstallStage
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
and dword [rsp + 0x38], ebx
call fcn.14000d6e0
xor edx, edx
mov ecx, edi
call fcn.14000d8e0
mov byte [0x14005b540], 1
test rbx, rbx
je 0x140012d9a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140013600
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x14001d05c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001cee1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
test rax, rax
je 0x14001cee1
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001cee1
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001cee1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001cee1
cmp dword [rcx + 0x84], 0xe
jbe 0x14001cee1
cmp dword [rcx + 0xf8], 0
je 0x14001cee1
mov ecx, ebx
call fcn.14001cf84
nop
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001cd68
nop
cmp dword [rbp + 0x20], 0
je 0x14001cf2f
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001cf38
nop
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001ce70

Function at 0x14001d804
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001d824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001add0
or eax, 0xffffffff
jmp 0x14001d826
xor eax, eax
add rsp, 0x28
ret
Function at 0x14002711c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140026e42
call fcn.14001ae38
mov dword [rax], 0x16
call fcn.14001acf0
jmp 0x140026f8f
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140026f8f
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140026f8f
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140026e71
lock or dword [rcx + 0x14], 0x10
jmp 0x140026f8f
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140026e85
call fcn.1400274e0
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x140026e95
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x140026e98
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.140026af0
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.1400318a0
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140026f7d
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140026f2b
mov rcx, rbx
call fcn.140026af0
cmp eax, 0xffffffff
je 0x140026f16
mov rcx, rbx
call fcn.140026af0
cmp eax, 0xfffffffe
je 0x140026f16
mov rcx, rbx
call fcn.140026af0
movsxd rdi, eax
lea rsi, [0x14005c7b0]
mov rcx, rbx
sar rdi, 6
call fcn.140026af0
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140026f1d
lea rdx, [0x1400544d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140026f2b
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140026f4f
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140026f4f
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140026f4f
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp ebp, 1
jne 0x140026f6d
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc qword [rbx]
jmp 0x140026f78
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x140026f94
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140026e0c
Function at 0x140027fa0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1388]
mov eax, 0x1460
call fcn.140013aa0
sub rsp, rax
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rbp + 0x1350], rax
and dword [rsp + 0x38], 0
xor r15d, r15d
movsxd r10, edx
mov rdi, rcx
mov rax, r10
mov r12d, r9d
sar rax, 6
lea rcx, [0x14005c7b0]
and r10d, 0x3f
mov dword [rsp + 0x3c], r15d
add r12, r8
xor r14d, r14d
mov rsi, r8
mov rax, qword [rcx + rax*8]
lea rdx, [r10 + r10*8]
mov r13, qword [rax + rdx*8 + 0x28]
cmp r8, r12
jae 0x140028095
lea rbx, [rsp + 0x50]
cmp rsi, r12
jae 0x14002804d
mov al, byte [rsi]
inc rsi
cmp al, 0xa
jne 0x14002803c
inc r14d
mov byte [rbx], 0xd
inc rbx
mov byte [rbx], al
inc rbx
lea rax, [rbp + 0x134f]
cmp rbx, rax
jb 0x140028025
and qword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
sub ebx, eax
lea r9, [rsp + 0x30]
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14002808b
add r15d, dword [rsp + 0x30]
mov dword [rsp + 0x3c], r15d
cmp dword [rsp + 0x30], ebx
jb 0x140028095
cmp rsi, r12
jb 0x140028020
jmp 0x140028095
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
movsd xmm0, qword [rsp + 0x38]
mov rax, rdi
movsd qword [rdi], xmm0
mov dword [rdi + 8], r14d
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140013600
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400280d8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1388]
mov eax, 0x1460
call fcn.140013aa0
sub rsp, rax
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rbp + 0x1350], rax
and dword [rsp + 0x38], 0
xor r15d, r15d
movsxd r10, edx
mov rdi, rcx
mov rax, r10
mov r12d, r9d
sar rax, 6
lea rcx, [0x14005c7b0]
and r10d, 0x3f
mov dword [rsp + 0x3c], r15d
add r12, r8
xor r14d, r14d
mov rsi, r8
mov rax, qword [rcx + rax*8]
lea rdx, [r10 + r10*8]
mov r13, qword [rax + rdx*8 + 0x28]
cmp r8, r12
jae 0x1400281e4
lea rbx, [rsp + 0x50]
cmp rsi, r12
jae 0x140028196
movzx eax, word [rsi]
add rsi, 2
cmp ax, 0xa
jne 0x140028183
mov ecx, 0xd
add r14d, 2
mov word [rbx], cx
add rbx, 2
mov word [rbx], ax
add rbx, 2
lea rax, [rbp + 0x134e]
cmp rbx, rax
jb 0x140028161
and qword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
sub rbx, rax
lea r9, [rsp + 0x30]
sar rbx, 1
lea rdx, [rsp + 0x50]
add ebx, ebx
mov rcx, r13
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400281da
add r15d, dword [rsp + 0x30]
mov dword [rsp + 0x3c], r15d
cmp dword [rsp + 0x30], ebx
jb 0x1400281e4
cmp rsi, r12
jb 0x14002815c
jmp 0x1400281e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
movsd xmm0, qword [rsp + 0x38]
mov rax, rdi
movsd qword [rdi], xmm0
mov dword [rdi + 8], r14d
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140013600
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140028228
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x13a8]
mov eax, 0x1480
call fcn.140013aa0
sub rsp, rax
mov rax, qword [0x140054108]
xor rax, rsp
mov qword [rbp + 0x1370], rax
movsxd r10, edx
xor esi, esi
mov rax, r10
mov r15d, r9d
sar rax, 6
and r10d, 0x3f
mov rbx, rcx
mov qword [rsp + 0x58], rsi
lea rcx, [0x14005c7b0]
mov qword [rsp + 0x40], rsi
add r15, r8
mov r12, r8
mov rax, qword [rcx + rax*8]
lea rdx, [r10 + r10*8]
mov rdi, r8
mov r13, qword [rax + rdx*8 + 0x28]
cmp r8, r15
jae 0x14002837b
lea rax, [rsp + 0x60]
cmp rdi, r15
jae 0x1400282e1
movzx ecx, word [rdi]
add rdi, 2
cmp cx, 0xa
jne 0x1400282ce
mov edx, 0xd
mov word [rax], dx
add rax, 2
mov word [rax], cx
add rax, 2
lea rcx, [rbp + 0x608]
cmp rax, rcx
jb 0x1400282b0
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x60]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
sub rax, rcx
mov dword [rsp + 0x28], 0xd55
lea rcx, [rbp + 0x610]
sar rax, 1
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov ecx, 0xfde9
xor edx, edx
call fcn.14002aa94
mov r14d, eax
test eax, eax
je 0x1400283bb
xor esi, esi
test eax, eax
je 0x140028364
and qword [rsp + 0x20], 0
lea rdx, [rbp + 0x610]
mov ecx, esi
lea r9, [rsp + 0x50]
mov r8d, r14d
add rdx, rcx
mov rcx, r13
sub r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400283bb
add esi, dword [rsp + 0x50]
cmp esi, r14d
jb 0x140028331
mov eax, edi
sub eax, r12d
mov dword [rsp + 0x44], eax
cmp rdi, r15
jb 0x1400282ab
mov rsi, qword [rsp + 0x58]
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx], xmm0
mov dword [rbx + 8], esi
mov rax, rbx
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.140013600
lea r11, [rsp + 0x1480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
movsd xmm0, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
jmp 0x140028388
Function at 0x14002ab44
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002abcb
mov rsi, rbx
cmp word [rax], bp
je 0x14002ab8a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002ab74
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002ab70
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140025784
mov rdi, rax
test rax, rax
je 0x14002abb8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140016670
mov rbp, rdi
xor ecx, ecx
call fcn.14002511c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140e87dfc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140e87e06
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140e87e2f
pop rbp
sub rbp, 0x33
sub rbp, 0xe87dfc
sub rsp, 0x20
jmp 0x140e87e4e
mov rax, 0xe87dfc
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x15392d13
xor byte [rax], dl
inc rax
dec rcx
jne 0x140e87e6d
jmp 0x140e87e84
pop rbx
invalid
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001ce70]
mov dword [rax], 1
mov rax, qword [0x14001ce80]
mov dword [rax], 1
mov rax, qword [0x14001ce90]
mov dword [rax], 1
mov rax, qword [0x14001ce30]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
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 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret