joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140108a7d
Capabilities:
Write file on windows

Disassembly:
jmp 0x1402ed290
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, [0x14043d984]
call fcn.14010ebfd
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1402ed2e8
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 0x1402ed3fa
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 0x1402ed393
cmp qword [rbp + 0x28], 0
jle 0x1402ed393
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1402ed331
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.14010e4d7
nop
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]
nop
cmp qword [rbp + 0x130], 0
jle 0x1402ed3e9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1402ed3e9
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 0x140109e87
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140142e00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14043c3f1]
call fcn.14010ebfd
nop
movzx eax, byte [0x1404123ff]
test eax, eax
jne 0x140142e30
jmp 0x140142f11
mov dword [rbp + 4], 0
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140142e50
mov byte [rbp + 0x154], 1
jmp 0x140142e57
mov byte [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x24], al
mov rcx, qword [rbp + 0x180]
call fcn.14010d45b
mov byte [rbp + 0x44], al
mov edx, dword [rbp + 4]
lea rcx, [0x140411350]
call fcn.14010e80b
nop
movzx eax, byte [rbp + 0x24]
test eax, eax
je 0x140142eca
movzx eax, byte [rbp + 0x44]
test eax, eax
je 0x140142eca
mov dword [rbp + 0x144], 5
lea rdx, [rbp + 0x144]
lea rcx, [rbp + 0x128]
call fcn.14010cf8d
mov rcx, rax
call fcn.14010d8a7
nop
mov edx, 0x10001
lea rcx, [0x140411350]
call fcn.14010e80b
nop
jmp 0x140142f11
movzx eax, byte [rbp + 0x24]
test eax, eax
je 0x140142eee
movzx eax, byte [rbp + 0x44]
test eax, eax
jne 0x140142eee
mov edx, 0x100
lea rcx, [0x140411350]
call fcn.14010e80b
nop
jmp 0x140142f11
movzx eax, byte [rbp + 0x24]
test eax, eax
jne 0x140142f11
cmp dword [rbp + 4], 0x10001
jne 0x140142f11
mov edx, 0x100
lea rcx, [0x140411350]
call fcn.14010e80b
nop
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14010afa8
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140152930
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x538
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x558]
mov rax, qword [0x140410100]
xor rax, rbp
mov qword [rbp + 0x508], rax
mov qword [rbp + 0x308], 0
lea rcx, [0x14043c9a7]
call fcn.14010ebfd
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 0xf
call fcn.14010b331
mov qword [rbp + 0x268], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14010c191
nop
mov dword [rbp + 0x284], 0
call fcn.14010dbd6
mov dword [rbp + 0x2a4], eax
mov qword [rbp + 0x2c8], 0
mov qword [rbp + 0x2e8], 0
mov rcx, qword [rbp + 0x538]
call fcn.1401089dd
mov qword [rbp + 0x4d8], rax
lea rax, [rbp + 0x3c]
mov qword [rbp + 0x2c8], rax
cmp qword [rbp + 0x2c8], 0
jne 0x140152a18
mov qword [rbp + 0x4e0], 0
jmp 0x140152b03
mov rcx, qword [rbp + 0x2c8]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x284], 0x3fffffff
jle 0x140152a49
mov qword [rbp + 0x4e8], 0
jmp 0x140152af5
movsxd rax, dword [rbp + 0x284]
shl rax, 1
mov qword [rbp + 0x4f0], rax
movsxd rcx, dword [rbp + 0x284]
shl rcx, 1
add rcx, 0x24
mov qword [rbp + 0x4f8], rcx
mov rcx, qword [rbp + 0x4f8]
add rcx, 0xf
cmp rcx, qword [rbp + 0x4f8]
ja 0x140152a8d
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401093ec
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x500], rax
lea r8, [rbp + 0x308]
mov rdx, qword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x500]
call fcn.14010f643
add qword [rbp + 0x500], 0x20
mov r9d, dword [rbp + 0x2a4]
mov rax, qword [rbp + 0x4f0]
mov r8d, eax
mov rdx, qword [rbp + 0x2c8]
mov rcx, qword [rbp + 0x500]
call fcn.14010a625
mov qword [rbp + 0x4e8], rax
mov rax, qword [rbp + 0x4e8]
mov qword [rbp + 0x4e0], rax
mov rdx, qword [rbp + 0x4d8]
mov rcx, qword [rbp + 0x4e0]
call fcn.14010f6ca
test eax, eax
jne 0x140152b45
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x4a4], eax
mov rcx, qword [rbp + 0x538]
call fcn.14010943c
mov eax, dword [rbp + 0x4a4]
jmp 0x140152b87
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14010dc5d
test eax, eax
jne 0x1401529e0
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x4c4], 0
mov rcx, qword [rbp + 0x538]
call fcn.14010943c
mov eax, dword [rbp + 0x4c4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140338930]
mov r8, qword [rbp + 0x308]
call fcn.14010c5c9
mov rax, rdi
mov rcx, qword [rbp + 0x508]
xor rcx, rbp
call fcn.14010b41c
lea rsp, [rbp + 0x518]
pop rdi
pop rbp
ret
Function at 0x14010bc41
Capabilities:
Terminate process

Disassembly:
jmp 0x140318070
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 0x14010c4d4
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401cac50
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14043ccc5]
call fcn.14010ebfd
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14010c56f
Capabilities:
Get geographical location

Disassembly:
jmp 0x1402f4070
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 0x1402f40ad
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.14010ebc1
add rsp, 0x58
ret

Function at 0x14010c835
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401cabd0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14043ccc5]
call fcn.14010ebfd
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14010c862
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401cca00
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x14043ccc5]
call fcn.14010ebfd
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x140344660]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1401ccb46
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1401cca9a
mov dword [rbp + 0x160], 1
jmp 0x1401ccaa4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1401ccb41
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1401ccb1b
cmp qword [rbp + 0x198], 2
jb 0x1401ccb1b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401ccb1b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401ccb1b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401cca65
jmp 0x1401ccbe0
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1401ccbe0
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1401ccbb7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401ccbb7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401ccbb7
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1401ccb46
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14010caf6
Capabilities:
Parse pe header

Disassembly:
jmp 0x14031a390
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14031a3b0
xor al, al
jmp 0x14031a431
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14031a3c3
xor al, al
jmp 0x14031a431
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 0x14031a3ed
xor al, al
jmp 0x14031a431
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14031a401
xor al, al
jmp 0x14031a431
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14031a413
xor al, al
jmp 0x14031a431
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14031a42f
xor al, al
jmp 0x14031a431
mov al, 1
add rsp, 0x38
ret
Function at 0x14010dc3a
Capabilities:
Create directory

Disassembly:
jmp 0x1402f56b0
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140410100]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1402f56ed
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x1402f5762
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x1402f5750
mov edx, 1
mov ecx, 2
call fcn.1401083de
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140109ed7
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1402f5750
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.140108d75
movzx eax, al
test eax, eax
jne 0x1402f5750
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010b41c
add rsp, 0x68
ret
Function at 0x14010e38d
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401cc8e0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x14043ccc5]
call fcn.14010ebfd
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x140344660]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1401cc960
mov dword [rbp + 0x120], 1
jmp 0x1401cc96a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1401cc9b3
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1401cc92b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x14010e441
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14014c5a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x166
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x818]
mov rax, qword [0x140410100]
xor rax, rbp
mov qword [rbp + 0x7c8], rax
mov qword [rbp + 0x508], 0
lea rcx, [0x14043c6b8]
call fcn.14010ebfd
nop
mov dword [rbp + 0x10], 0x438
mov rax, qword [rbp + 0x7f0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call fcn.14010b331
mov qword [rbp + 0x468], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x468]
call fcn.14010c2f9
nop
mov dword [rbp + 0x484], 0
call fcn.14010dbd6
mov dword [rbp + 0x4a4], eax
mov qword [rbp + 0x4c8], 0
mov qword [rbp + 0x4e8], 0
mov rcx, qword [rbp + 0x7f8]
call fcn.1401089dd
mov qword [rbp + 0x798], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x4c8], rax
cmp qword [rbp + 0x4c8], 0
jne 0x14014c690
mov qword [rbp + 0x7a0], 0
jmp 0x14014c77b
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov dword [rbp + 0x484], eax
cmp dword [rbp + 0x484], 0x3fffffff
jle 0x14014c6c1
mov qword [rbp + 0x7a8], 0
jmp 0x14014c76d
movsxd rax, dword [rbp + 0x484]
shl rax, 1
mov qword [rbp + 0x7b0], rax
movsxd rcx, dword [rbp + 0x484]
shl rcx, 1
add rcx, 0x24
mov qword [rbp + 0x7b8], rcx
mov rcx, qword [rbp + 0x7b8]
add rcx, 0xf
cmp rcx, qword [rbp + 0x7b8]
ja 0x14014c705
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401093ec
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x7c0], rax
lea r8, [rbp + 0x508]
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x7c0]
call fcn.14010f643
add qword [rbp + 0x7c0], 0x20
mov r9d, dword [rbp + 0x4a4]
mov rax, qword [rbp + 0x7b0]
mov r8d, eax
mov rdx, qword [rbp + 0x4c8]
mov rcx, qword [rbp + 0x7c0]
call fcn.14010a625
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov qword [rbp + 0x7a0], rax
mov rdx, qword [rbp + 0x798]
mov rcx, qword [rbp + 0x7a0]
call fcn.14010f6ca
test eax, eax
jne 0x14014c7c0
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x768], rax
mov rcx, qword [rbp + 0x7f8]
call fcn.14010943c
mov rax, qword [rbp + 0x768]
jmp 0x14014c804
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x468]
call fcn.140109077
test eax, eax
jne 0x14014c658
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp + 0x788], 0
mov rcx, qword [rbp + 0x7f8]
call fcn.14010943c
mov rax, qword [rbp + 0x788]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140338350]
mov r8, qword [rbp + 0x508]
call fcn.14010c5c9
mov rax, rdi
mov rcx, qword [rbp + 0x7c8]
xor rcx, rbp
call fcn.14010b41c
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret
Function at 0x14010ea8b
Capabilities:
Write file on windows

Disassembly:
jmp 0x1402e9390
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140410100]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14043d984]
call fcn.14010ebfd
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1402e93f7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1402e93fe
mov al, 1
jmp 0x1402e956e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140109d97
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140109d97
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14010d50a
movzx eax, al
test eax, eax
je 0x1402e9461
xor al, al
jmp 0x1402e956e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
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 + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1402e94d4
cmp dword [rbp + 0x160], 1
je 0x1402e94df
cmp dword [rbp + 0x160], 3
je 0x1402e955d
jmp 0x1402e956c
mov rax, qword [rbp + 0x1a0]
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 0x1402e952f
mov rax, qword [rbp + 0x1a0]
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 0x1402e952f
xor al, al
jmp 0x1402e956e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1402e954a
mov dword [rbp + 0x154], 1
jmp 0x1402e9554
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1402e956e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1402e956e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14037fa90]
call fcn.14010d979
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14010b41c
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140318720
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14010f00d
movzx eax, al
test eax, eax
jne 0x140318740
mov ecx, 7
call fcn.14010da1e
nop
mov byte [rsp + 0x20], 0
call fcn.14010dbea
mov byte [rsp + 0x21], al
cmp dword [0x1404199e8], 1
jne 0x140318764
mov ecx, 7
call fcn.14010da1e
nop
jmp 0x1403187bc
cmp dword [0x1404199e8], 0
jne 0x1403187b7
mov dword [0x1404199e8], 1
lea rdx, [0x140331f98]
lea rcx, [0x140331c68]
call fcn.14010b30e
test eax, eax
je 0x140318798
mov eax, 0xff
jmp 0x1403188c1
lea rdx, [0x140331b58]
lea rcx, [section..rdata]
call fcn.14010db90
mov dword [0x1404199e8], 2
jmp 0x1403187bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14010d8e8
call fcn.14010cdb7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140318819
mov rcx, qword [rsp + 0x30]
call fcn.14010a9cc
movzx eax, al
test eax, eax
je 0x140318819
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14043f020]
nop
call fcn.14010d253
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14031884d
mov rcx, qword [rsp + 0x38]
call fcn.14010a9cc
movzx eax, al
test eax, eax
je 0x14031884d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14010e8b0
nop
call fcn.140318930
mov dword [rsp + 0x28], eax
call fcn.14010caf6
movzx eax, al
test eax, eax
jne 0x14031886c
mov ecx, dword [rsp + 0x28]
call fcn.1401087ee
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14031887b
call fcn.14010e9e1
nop
xor edx, edx
mov cl, 1
call fcn.14010a7ba
mov eax, dword [rsp + 0x28]
jmp 0x1403188c1
add rsp, 0x68
ret
Function at 0x10fbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
lea rcx, [rax - 0x20]
mov edi, r9d
mov rbp, r8
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and dword [rsp + 0x30], 0
xor r9d, r9d
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ecx, 0xc0000034
cmp eax, ecx
je 0x110bc
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x110bc
mov rdx, rax
mov ecx, 1
mov r8d, 0x4d525356
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x11048
mov eax, 0xc000009a
jmp 0x110be
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov r8d, 2
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jns 0x1108a
mov edx, 0x4d525356
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc000000d
jmp 0x110be
cmp dword [rbx + 8], edi
mov rax, qword [rsp + 0x80]
lea rdx, [rbx + 0xc]
cmovb edi, dword [rbx + 8]
mov rcx, rbp
mov r8d, edi
mov dword [rax], edi
call fcn.00015520
mov edx, 0x4d525356
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x110be
mov eax, ecx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret