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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400022f1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000231e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002320
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002379
test ecx, ecx
jle 0x140002359
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002379
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002379
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1400023a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400023c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400023d1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400023f4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400023f6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002432
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400024ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000246d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400024ae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400024ce
cmp rbx, rax
ja 0x140002480
test rbx, rbx
je 0x1400024ce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1400028f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000291d
xor eax, eax
jmp 0x140002a7a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140002948
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140002948
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140002a7a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140002a6d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000298b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400029b6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002a72
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002a25
sub eax, 1
je 0x140002a25
cmp eax, 2
jne 0x140002a6d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002a72
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002a53
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140002a6d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002a72
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003a60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002f83
cmp byte [rcx + 0x71], 0
je 0x140002f83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002f7f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002f44
sub eax, 1
je 0x140002f48
cmp eax, 2
jne 0x140002f7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003a60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002f76
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002f7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002f2c
xor al, al
jmp 0x140002f2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003a60
add rsp, 0x60
pop rbx
ret

Function at 0x1400043f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000443e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000443e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000443e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000443e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000443e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004440
xor al, al
add rsp, 0x28
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, 0x503f8db5
invalid
push rax
cmp dword [rbx], esp
fnstenv [rax - 1]
cmc
invalid
push rcx
sbb eax, 0x8d1c9ee4
invalid
xchg edi, eax
xchg ebp, eax
retf 0x47b9
invalid
push rax
cmp byte [rcx], al
outsd dx, dword [rsi]
pop rbp
invalid
enter 0xffffffffffffe51f, 0xffffffffffffffb5
sub dl, al
cmp byte [rbp - 0x3e], ah
ret 0xe183
jbe 0x14003f777
xchg ecx, eax
ret 0xe183
cmp esp, dword [rdx + rcx*4 - 0x2a1177ff]
scasd eax, dword [rdi]
int 0xc4
invalid
push rax
and al, 0x18
invalid
jp 0x14003f789
out dx, eax
ret
push rcx
xchg ebp, eax
jge case.0x140007272.8
js 0x14003f7ce
mov dword gs:[rdi], ebp
movabs al, byte [0x90784302b57da573]
push r14
sub byte [rbx], bh
push rcx
invalid
ret
Function at 0x14004a1e0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax], 0
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
ret

Function at 0x14004c2c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x14004c2de
cmp qword [rsp + 0x68], 0
jne 0x14004c2e5
xor eax, eax
jmp 0x14004c411
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp], 0
jmp 0x14004c386
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp dword [rsp], eax
jae 0x14004c40f
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14004c3ce
inc rax
test dl, dl
jne 0x14004c3bb
xor eax, eax
jmp 0x14004c3d3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004c40a
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
jmp 0x14004c411
jmp 0x14004c37e
xor eax, eax
add rsp, 0x58
ret
Function at 0x140004940
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov edi, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
mov ebx, eax
cmp dword [0x14000e02c], 0xffffffff
jne 0x140004a52
cmp byte [0x1400100c0], r14b
mov r9d, 0x20019
mov dword [0x14000e02c], r14d
mov qword [rsp + 0x30], r14
jne 0x1400049b6
cmp byte [0x14000ff08], r14b
mov eax, 0x20119
cmovne r9d, eax
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftWindowsInstaller
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004a52
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.Debug
lea rax, [rsp + 0x38]
mov dword [rsp + 0x48], 0x28
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], 0x50
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004a35
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
and ecx, 3
mov dword [0x14000e02c], ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x48], 0x28
jle 0x140004a52
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x14000e02c]
and eax, 3
test al, al
je 0x140004ab5
xor edx, edx
mov word [rbp - 0x60], r14w
mov r8d, 0x800
lea rcx, [rbp - 0x5e]
call sub.msvcrt.dll_memset
lea rcx, [rbp - 0x60]
mov edx, 0xf2000401
invalid
jmp 0x1535c0ebc
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [0x1400054d8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140001054
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [0x1400054d0]
test eax, eax
je 0x1400010ea
lea rdx, [rsp + 0x6c]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1400010e5
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
jne 0x1400010b7
jmp 0x14000105c
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400010db
jmp 0x14000105c
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
jmp 0x1400010ea
jmp 0x14000105c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
jne 0x140001107
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [rsp + 0x20]
add rsp, 0x170
pop rdi
ret
Function at 0x140001120
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
mov byte [rsp + 0x40], 0x39
mov byte [rsp + 0x41], 0x32
mov byte [rsp + 0x42], 0x33
mov byte [rsp + 0x43], 0x31
mov byte [rsp + 0x44], 0x34
mov byte [rsp + 0x45], 0x36
mov byte [rsp + 0x46], 0x39
mov byte [rsp + 0x47], 0x36
mov byte [rsp + 0x48], 0x32
mov byte [rsp + 0x49], 0x33
mov byte [rsp + 0x4a], 0x34
mov byte [rsp + 0x4b], 0x39
mov byte [rsp + 0x4c], 0x34
mov byte [rsp + 0x4d], 0x32
mov byte [rsp + 0x4e], 0x33
mov byte [rsp + 0x4f], 0x31
mov byte [rsp + 0x50], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x140001343
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x140001239
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0xa0]
call fcn.140001940
mov byte [rsp + 0x58], 0x6b
mov byte [rsp + 0x59], 0x65
mov byte [rsp + 0x5a], 0x72
mov byte [rsp + 0x5b], 0x6e
mov byte [rsp + 0x5c], 0x65
mov byte [rsp + 0x5d], 0x6c
mov byte [rsp + 0x5e], 0x33
mov byte [rsp + 0x5f], 0x32
mov byte [rsp + 0x60], 0x2e
mov byte [rsp + 0x61], 0x64
mov byte [rsp + 0x62], 0x6c
mov byte [rsp + 0x63], 0x6c
lea rcx, [rsp + 0x40]
call fcn.1400030d0
mov eax, eax
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x58]
call fcn.1400030d0
mov eax, eax
mov rcx, qword [rsp + 0x98]
mov r9, rcx
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1400031b0
lea rcx, [rsp + 0x40]
call fcn.1400030d0
mov eax, eax
mov ecx, dword [rsp + 0x68]
mov r9d, eax
lea r8, [rsp + 0x40]
mov edx, ecx
lea rcx, [rsp + 0xa0]
call fcn.1400031b0
mov eax, dword [rsp + 0x68]
mov r8d, eax
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0xa0]
call fcn.140002db0
test eax, eax
jne 0x140001331
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
jmp 0x140001345
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x1400011b8
xor eax, eax
add rsp, 0x1b0
pop rdi
ret
Function at 0x1400019d0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x28], 0x55
mov byte [rsp + 0x29], 0x5d
mov byte [rsp + 0x2a], 0x52
mov byte [rsp + 0x2b], 0x55
mov byte [rsp + 0x2c], 0x51
mov byte [rsp + 0x2d], 0x44
mov byte [rsp + 0x2e], 0x49
mov byte [rsp + 0x2f], 0x44
mov byte [rsp + 0x30], 0x5d
mov byte [rsp + 0x31], 0x59
mov byte [rsp + 0x32], 0x51
mov byte [rsp + 0x33], 0x5a
mov byte [rsp + 0x34], 0x40
mov byte [rsp + 0x35], 0x1c
mov byte [rsp + 0x36], 0x56
mov byte [rsp + 0x37], 0x49
mov byte [rsp + 0x38], 0x5c
lea rcx, [rsp + 0x28]
call fcn.140001120
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001a4b
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400021c0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
mov qword [rsp + 0x50], 0xffffffffffffffff
mov eax, 1
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x168
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0x100
mov r9d, 0x168
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
lea rdx, [0x140004198]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x140002269
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x50]
test eax, eax
jne 0x140002269
mov rax, qword [rsp + 0x48]
jmp 0x14000226b
xor eax, eax
add rsp, 0x1d0
pop rdi
ret