joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140013f30
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]
add rsp, 0x28
ret
Function at 0x1400112f8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015280
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400152a0
xor al, al
jmp 0x140015321
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400152b3
xor al, al
jmp 0x140015321
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 0x1400152dd
xor al, al
jmp 0x140015321
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400152f1
xor al, al
jmp 0x140015321
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015303
xor al, al
jmp 0x140015321
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001531f
xor al, al
jmp 0x140015321
mov al, 1
add rsp, 0x38
ret
Function at 0x14001137f
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400121f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, [0x1400250f9]
call fcn.14001141f
mov dword [rbp + 0x174], 0
xor edx, edx
mov ecx, 2
call fcn.1400111f4
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140012261
xor eax, eax
jmp 0x140012300
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14001138e
test eax, eax
je 0x140012282
mov byte [rbp + 0x264], 1
jmp 0x140012289
mov byte [rbp + 0x264], 0
movzx eax, byte [rbp + 0x264]
mov byte [rbp + 0x194], al
movzx eax, byte [rbp + 0x194]
test eax, eax
je 0x1400122f0
lea rdx, [rbp + 0x5c]
mov rcx, qword [rbp + 0x290]
call fcn.140011492
test eax, eax
jne 0x1400122c0
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x174], eax
jmp 0x1400122f0
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011429
test eax, eax
je 0x1400122da
mov byte [rbp + 0x264], 1
jmp 0x1400122e1
mov byte [rbp + 0x264], 0
movzx eax, byte [rbp + 0x264]
mov byte [rbp + 0x194], al
jmp 0x140012296
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x174]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bc00]
call fcn.14001139d
mov rax, rdi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.14001120d
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret
Function at 0x180860058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1808601df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180860089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18086006f
add dl, dl
jne 0x180860096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808600f6
xor eax, eax
add dl, dl
jne 0x1808600a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808601ad
add dl, dl
jne 0x1808600b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808600c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808600d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808600dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808600ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18086007e
mov eax, 1
add dl, dl
jne 0x180860106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180860113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808600fb
sub eax, ebx
mov ebx, 1
jne 0x18086014c
mov ecx, 1
add dl, dl
jne 0x18086012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18086013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180860123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18086007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180860168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180860175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18086015d
cmp eax, 0x7d00
jae 0x18086019b
cmp eax, 0x500
jb 0x180860196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18086007e
cmp eax, 0x7f
ja 0x18086019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18086007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808601d2
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 0x18086007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400411f9
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x14008c3c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x1400f7028]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x14010a643]
call fcn.1400432ba
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, VariantTimeToDosDateTime
call fcn.140042991
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x14008c48b
cmp qword [rbp + 8], 0
je 0x14008c453
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, VariantTimeToDosDateTime
call fcn.140042991
mov dword [rbp + 0x44], eax
jmp 0x14008c431
cmp dword [rbp + 0x44], 0
jge 0x14008c4b1
cmp qword [rbp + 8], 0
je 0x14008c4aa
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14008c5e0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14008c4c7
xor eax, eax
jmp 0x14008c5e0
mov dword [rbp + 0x84], 0
jmp 0x14008c4e1
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x14008c5cc
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.140041f5a
mov rcx, qword [rbp + 0x210]
call fcn.1400412df
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.1400412df
mov rcx, qword [rbp + 0x1d8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x14008c5bb
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rbp + 0xe8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.140041631
mov rax, qword [rbp + 0x1c8]
jmp 0x14008c5e0
lea rcx, [rbp + 0xa8]
call fcn.140041631
jmp 0x14008c4d3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140042ca2
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.14004206d
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x140041307
Capabilities:
Write file on windows

Disassembly:
jmp 0x14007fda0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14010a127]
call fcn.1400432ba
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14007fdf7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14007ff03
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14007fe9c
cmp qword [rbp + 0x28], 0
jle 0x14007fe9c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14007fe3c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14004305d
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14007fef2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14007fef2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400416b8
Capabilities:
Create thread

Disassembly:
jmp 0x140096320
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1400f7028]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14010a775]
call fcn.1400432ba
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1400419f6
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.1400420ef
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140041735
nop
lea rcx, [rbp + 0x108]
call fcn.140041dfc
lea rax, [0x1400426a8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140042752
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140096420
lea rcx, [rbp + 8]
call fcn.140041e8d
jmp 0x140096439
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14004178a
nop
lea rcx, [rbp + 8]
call fcn.140041dfc
lea rcx, [rbp - 0x30]
lea rdx, [0x1400e1040]
call fcn.140042ca2
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14004206d
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140041938
Capabilities:
Get common file path

Disassembly:
jmp 0x14008c210
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x438
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x458]
mov rax, qword [0x1400f7028]
xor rax, rbp
mov qword [rbp + 0x408], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x14010a643]
call fcn.1400432ba
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x14008c29d
cmp dword [rbp + 0x234], 0x105
jbe 0x14008c2c8
lea rdx, [0x1400db0dc]
mov rcx, qword [rbp + 0x430]
call fcn.140041b0e
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
jmp 0x14008c33a
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x14008c314
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x14008c301
jmp 0x14008c306
call fcn.1400428d8
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x430]
call fcn.140041b0e
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400de340]
call fcn.140042ca2
mov rax, rdi
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.14004206d
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret
Function at 0x140042310
Capabilities:
Terminate process

Disassembly:
jmp 0x1400b7c60
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]
add rsp, 0x28
ret

Function at 0x14004234c
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14008c090
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14010a643]
call fcn.1400432ba
mov rcx, qword [rbp + 0x180]
call fcn.140041f2d
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x14008c10b
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x14008c1b3
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.140041c76
test eax, eax
jne 0x14008c1ae
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.140041f2d
cmp qword [rbp + 8], rax
jne 0x14008c1ae
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x14008c178
xor eax, eax
jmp 0x14008c1b5
cmp qword [rbp + 0x190], 0
je 0x14008c195
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x14008c1b5
jmp 0x14008c103
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14004252c
Capabilities:
Delete registry key

Disassembly:
jmp 0x14008a2d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [0x1400f7028]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x14010a50b]
call fcn.1400432ba
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14008a338
xor al, al
jmp 0x14008a508
mov r8, qword [rbp + 0x2d0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x28]
call fcn.140043567
nop
lea rcx, [rbp + 0x28]
call fcn.140041b3b
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140043139
mov r8, qword [rbp + 0x2d0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0xb8]
call fcn.140043567
nop
lea rcx, [rbp + 0xb8]
call fcn.140041b3b
lea r8, [rbp + 0x98]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14008a40d
cmp dword [rbp + 0xf4], 2
jne 0x14008a3e4
mov byte [rbp + 0x214], 1
lea rcx, [rbp + 0xb8]
call fcn.140042d7e
nop
lea rcx, [rbp + 0x28]
call fcn.140042d7e
movzx eax, byte [rbp + 0x214]
jmp 0x14008a508
mov byte [rbp + 0x234], 0
lea rcx, [rbp + 0xb8]
call fcn.140042d7e
nop
lea rcx, [rbp + 0x28]
call fcn.140042d7e
movzx eax, byte [rbp + 0x234]
jmp 0x14008a508
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x68]
call qword [rbp + 0x118]
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 0
je 0x14008a493
lea rcx, [rbp + 0xb8]
call fcn.140041b3b
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0xf4], eax
mov byte [rbp + 0x254], 0
lea rcx, [rbp + 0xb8]
call fcn.140042d7e
nop
lea rcx, [rbp + 0x28]
call fcn.140042d7e
movzx eax, byte [rbp + 0x254]
jmp 0x14008a508
lea rcx, [rbp + 0xb8]
call fcn.140041b3b
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14008a4e4
mov byte [rbp + 0x274], 0
lea rcx, [rbp + 0xb8]
call fcn.140042d7e
nop
lea rcx, [rbp + 0x28]
call fcn.140042d7e
movzx eax, byte [rbp + 0x274]
jmp 0x14008a508
mov byte [rbp + 0x294], 1
lea rcx, [rbp + 0xb8]
call fcn.140042d7e
nop
lea rcx, [rbp + 0x28]
call fcn.140042d7e
movzx eax, byte [rbp + 0x294]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400de130]
call fcn.140042ca2
mov rax, rdi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.14004206d
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret
Function at 0x1400427e8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b9580
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400b95a0
xor al, al
jmp 0x1400b9621
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400b95b3
xor al, al
jmp 0x1400b9621
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 0x1400b95dd
xor al, al
jmp 0x1400b9621
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400b95f1
xor al, al
jmp 0x1400b9621
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400b9603
xor al, al
jmp 0x1400b9621
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400b961f
xor al, al
jmp 0x1400b9621
mov al, 1
add rsp, 0x38
ret
Function at 0x140042e91
Capabilities:
Parse pe header

Disassembly:
jmp 0x140087ad0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14010a3b1]
call fcn.1400432ba
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140087b0c
xor eax, eax
jmp 0x140087b39
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x140087b35
xor eax, eax
jmp 0x140087b39
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140043210
Capabilities:
Write file on windows

Disassembly:
jmp 0x14007afc0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x1400f7028]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14010a127]
call fcn.1400432ba
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x14007b026
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14007b02d
mov al, 1
jmp 0x14007b187
call fcn.140041956
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.140041956
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140042ce8
movzx eax, al
test eax, eax
je 0x14007b088
xor al, al
jmp 0x14007b187
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x14007b0ed
cmp dword [rbp + 0x194], 1
je 0x14007b0f8
cmp dword [rbp + 0x194], 3
je 0x14007b176
jmp 0x14007b185
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14007b148
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14007b148
xor al, al
jmp 0x14007b187
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14007b163
mov dword [rbp + 0x194], 1
jmp 0x14007b16d
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x14007b187
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14007b187
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140042ca2
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14004206d
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x1400433a5
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400b6280
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400429fa
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1400e3230]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140041ffa
test eax, eax
jne 0x1400b6317
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400b6317
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b6310
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1400fa3b0], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret