joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e180
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x14000e220
jmp 0x14000e20f
jae 0x14000e2df
cmp r8, 0x201
jae 0x14000e220
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x14000e277
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14000e24f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1400305f0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x14000e2a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000e34b
mov r8d, r13d
cmp r12, r8
jne 0x14000e200
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000e37f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000e20f
jmp 0x14000e220
cmp r14, r8
jb 0x14000e399
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140010da0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x14000e334
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1400076b0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14000e31f
jmp 0x14000e334
lea rcx, [0x140033248]
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400319a0
jmp 0x14000e3ae
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140031d50
ud2
Function at 0x140014400
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.14002fa10
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x140019f70]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov rdi, qword [sym.imp.KERNEL32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call case.0x14001240c.299
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x1400145f0
test r15, r15
je 0x1400145bc
cmp r15, 0x1000
ja 0x140014612
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x140014590
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x140014520
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x1400145b0
add r12, rax
cmp r12, r15
je 0x140014580
jbe 0x1400144d0
jmp 0x1400145fe
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x14001447e
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.140008900
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.140008900
jmp 0x1400145bc
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.140031dc0
jmp 0x140014626
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.140031d50
ud2
Function at 0x140018360
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400350f8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140018398
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400183ef
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x1400183fc
xor edx, edx
xor eax, eax
jmp 0x140018426
cmp eax, 0x103
je 0x140018430
test eax, eax
js 0x14001840f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140018426
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140010b50
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140008f50
mov ecx, 7
int 0x29
ud2

Function at 0x140018480
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400350f8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400184b8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140018516
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140018543
test eax, eax
js 0x140018522
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140018539
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140010b50
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140008f50
mov ecx, 7
int 0x29
ud2
Function at 0x140019060
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0xb5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]

Function at 0x14001a460
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14001a5a3
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x14001a578
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x38], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001a4e0
mov eax, dword [rbp - 0x38]
mov ecx, 2
test rax, rax
je 0x14001a522
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14001a526
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x38], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x14001a52a
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x14001a554
mov rax, rbp
jmp 0x14001a536
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x14001a55a
mov qword [rbp], 1
lea rax, [rbp - 8]
mov qword [rax], 0
lea rcx, [rbp - 0x38]
call fcn.140008900
mov rcx, qword [rbp]
mov rax, qword [rbp - 8]
cmp rcx, 2
jne 0x14001a565
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x14001a4c9
mov ecx, 1
jmp 0x14001a4d3
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.140030690
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14001a491
mov qword [rbp - 0x38], 0
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.140030560
int3
Function at 0x14001fae0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140021580
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs r14, 0x8000000000000000
cmp rcx, r14
jne 0x14001fb1e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r14
jmp 0x14001fb44
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.140017550
mov rdi, qword [rbp - 0x10]
cmp rdi, r14
jne 0x14001fb5d
lea rcx, [rbp - 8]
call fcn.140008900
mov qword [rsi], r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001fb80
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
jmp 0x14001fb50
mov qword [rsi], r14
test rdi, rdi
je 0x14001fb50
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.1400076b0

Function at 0x1400210a0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1400420f1]
mov ecx, 0x10
add byte [rax], al
mov edx, 8
call fcn.1400076a0
retf 0xfe65
dec dword [rax - 0x7b]
ror byte [rdi], 0x84
lodsb al, byte [rsi]
add byte [rax], al
invalid
mov rbx, rax
mov qword [rax], r14
xor byte [rax - 0x77], cl
js 0x1400210f1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
add dword [rax], eax
lea r8, [0x140021240]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
add byte [rax - 0x77], cl
ret 0x8548
test rax, rax
jne 0x14002117d
invalid
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
test eax, eax
je 0x14002113a
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
add byte [rax], al
mov edx, 0x10
call fcn.1400317f0
ud2
Function at 0x14002e570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14002e5fa
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14002e5f0
cmp r10, r11
jb 0x14002e676
cmp r10, rdx
ja 0x14002e688
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14002e5f2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14002e5d0
jmp 0x14002e657
ja 0x14002e5fa
mov r11, r10
cmp rax, r8
jne 0x14002e597
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14002e65b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14002e630
mov r8, r10
sub ecx, r9d
jns 0x14002e64e
jmp 0x14002e65d
cmp r10, rdx
je 0x14002e66a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002e65d
xor al, 1
cmp r8, rdx
jne 0x14002e610
jmp 0x14002e65d
xor eax, eax
jmp 0x14002e65d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140031880
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140031dc0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140031d50
int3
Function at 0x14000ff70
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
cli
xor dword [rax], 0x28
jo 0x14000ffa9
leave
test rcx, rcx
je 0x14000ffb7
push rsi
pop rdi
adc eax, 0xc25be5
test rdx, rdx
mov ebx, 0x58b4458
mov dl, 0x5b
add ecx, dword [rax]
movabs al, byte [0x3120245c8948f0c1]
mov esp, dword [rcx]
invalid
invalid
test byte [rax + rcx*4], dl

Function at 0x14001417c
Capabilities:
Encode data using xor
Get common file path

Disassembly:
invalid
push rbx
push rbp
and dword [rdi + 0x41], edx
push rsi
sub rsp, 0xffffffffffffff94
mov rax, qword [0x14003e9ac]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebp, ebp
movsxd rdi, edx
movzx esi, r8w
out dx, al
fldenv [rsi + 0x45]
jo 0x140014166
jne 0x1400141d4
mov rdx, rcx
cmp ecx, edi
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rsp]
sub byte [rax - 0x26], cl
invalid
mov eax, 0x92003d
movzx ecx, si
mov word [rax - 0xb7d900], ax
mov dword [rax - 0xb7d900], eax
adc eax, 0xe1fab0
nop dword [rax + rax]
movabs dword [0x241d445f20244c8d], eax
cmp al, byte [rax]
add byte [rax], al
mov word [rsp + 0x22], ax
call fcn.14001081c
test rax, rax
je 0x14001ecac
mov rsi, qword [rdx + 0x4c]
mov eax, eax
mov rcx, rbx
loop 0x1400141dd
sar edi, 1
invalid
movzx edx, di
call qword [sym.imp.msvcrt.dll_towupper]
jl 0x14001ecd7
invalid
std
add qword [rax], rax
xor eax, 0x78441f
mov dword [0xff045bd3], eax
mov rcx, rdi
call fcn.140029eec
jmp 0x14001ed1e
mov edi, eax
invalid
Function at 0x14001115e
Capabilities:
Write file on windows

Disassembly:
jmp 0x140019460
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x1400488c0]
xor rax, rbp
mov qword [rbp + 0x208], rax
lea rcx, [0x14005111a]
call fcn.140011b1d
nop
lea rcx, [rbp + 0x168]
call fcn.140011357
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x1e8], rax
lea rdx, [rbp + 0x1a8]
mov rcx, qword [rbp + 0x1e8]
call fcn.1400111e0
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x200], rax
lea rdx, str.mysteriousDriver.sys
mov rcx, qword [rbp + 0x200]
call fcn.14001147e
mov rcx, rax
call fcn.14001111d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 8], rax
lea rcx, [rbp + 0x1a8]
call fcn.140011212
nop
lea rcx, [rbp + 0x168]
call fcn.140011a32
nop
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140019583
xor eax, eax
jmp 0x140019660
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rbp + 0x64]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
nop
cmp dword [rbp + 0x64], 0
je 0x1400195b7
mov dword [rbp + 0x1d4], 0x7e48
jmp 0x1400195c1
mov dword [rbp + 0x1d4], 0xa0c0
mov eax, dword [rbp + 0x1d4]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x64], 0
je 0x1400195e0
lea rax, section..data
mov qword [rbp + 0x1d8], rax
jmp 0x1400195ee
lea rax, [0x14003ae50]
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140019631
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140019660
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x24], eax
jne 0x140019650
mov dword [rbp + 0x1d4], 1
jmp 0x14001965a
mov dword [rbp + 0x1d4], 0
mov eax, dword [rbp + 0x1d4]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14002c700]
call fcn.140011929
mov rax, rdi
mov rcx, qword [rbp + 0x208]
xor rcx, rbp
call fcn.140011546
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret

Function at 0x140011613
Capabilities:
Terminate process

Disassembly:
jmp 0x140023420
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001171c
Capabilities:
Get geographical location

Disassembly:
jmp 0x14001e1f0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14001e22d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140011b0e
add rsp, 0x58
ret

Function at 0x14001173f
Capabilities:
Create service

Disassembly:
jmp 0x1400190c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x70]
lea rcx, [0x14005111a]
call fcn.140011b1d
nop
mov r8d, 2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rcx, qword [rbp + 0x1a0]
mov qword [rcx], rax
mov rax, qword [rbp + 0x1a0]
cmp qword [rax], 0
jne 0x14001910e
xor al, al
jmp 0x1400192bb
lea rcx, [rbp + 0xc8]
call fcn.140011357
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x138]
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x148], rax
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0x148]
call fcn.1400111e0
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x160], rax
lea rdx, str.mysteriousDriver.sys
mov rcx, qword [rbp + 0x160]
call fcn.14001147e
mov rcx, rax
call fcn.14001111d
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov qword [rbp + 0x170], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0xf003f
lea r8, str.mysteriousDriver
lea rdx, str.mysteriousDriver
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rcx, qword [rbp + 0x1a0]
mov qword [rcx + 8], rax
lea rcx, [rbp + 0x108]
call fcn.140011212
nop
lea rcx, [rbp + 0xc8]
call fcn.140011a32
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 8], 0
jne 0x140019296
mov r8d, 0xf01ff
lea rdx, str.mysteriousDriver
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rcx, qword [rbp + 0x1a0]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 8], 0
jne 0x140019296
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
xor al, al
jmp 0x1400192bb
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rax, qword [rbp + 0x1a0]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov al, 1
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140011799
Capabilities:
Parse pe header

Disassembly:
jmp 0x140024770
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140024790
xor al, al
jmp 0x140024811
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400247a3
xor al, al
jmp 0x140024811
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400247cd
xor al, al
jmp 0x140024811
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400247e1
xor al, al
jmp 0x140024811
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400247f3
xor al, al
jmp 0x140024811
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002480f
xor al, al
jmp 0x140024811
mov al, 1
add rsp, 0x38
ret