joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c88
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002cd2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002cd2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002cd2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002cd2
cmp dword [rcx + 0x84], 0xe
jbe 0x140002cd2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002cd4
xor al, al
add rsp, 0x28
ret
Function at 0x14013a0af
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140374620
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140373780
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140374659
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x140374663
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x14013a208
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14036f1f0
mov rax, rcx
neg rcx
test rax, 7
je 0x14036f20d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14036f268
test al, 7
jne 0x14036f200
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14036f221
mov rdx, qword [rax - 8]
test dl, dl
je 0x14036f292
test dh, dh
je 0x14036f28c
shr rdx, 0x10
test dl, dl
je 0x14036f286
test dh, dh
je 0x14036f280
shr rdx, 0x10
test dl, dl
je 0x14036f27a
test dh, dh
je 0x14036f274
shr edx, 0x10
test dl, dl
je 0x14036f26e
test dh, dh
jne 0x14036f221
lea rax, [rcx + rax - 1]
ret
lea rax, [rcx + rax - 2]
ret
lea rax, [rcx + rax - 3]
ret
lea rax, [rcx + rax - 4]
ret
lea rax, [rcx + rax - 5]
ret
lea rax, [rcx + rax - 6]
ret
lea rax, [rcx + rax - 7]
ret
lea rax, [rcx + rax - 8]
ret
Function at 0x14013a578
Capabilities:
Terminate process

Disassembly:
jmp 0x1402f8da0
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 0x14013a799
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140374680
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1403737c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403746c3
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1403746d2
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x14013abb3
Capabilities:
Query environment variable

Disassembly:
jmp 0x140385210
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1403852fa
mov rsi, rax
cmp word [rax], r14w
je 0x140385263
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x14038524b
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x140385247
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1403852fa
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.14013acad
mov rdi, rax
test rax, rax
je 0x1403852e8
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1403852e8
mov rsi, rdi
mov rdi, r14
jmp 0x1403852eb
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.14013be46
jmp 0x1403852fd
mov rsi, r14
test rbx, rbx
je 0x14038530b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14013b3c4
Capabilities:
Print debug messages

Disassembly:
jmp 0x140378490
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x14013b6f3
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1403079c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1403072d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403079ff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1404e5010]
jmp 0x140307a0e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x14013baea
Capabilities:
Parse pe header

Disassembly:
jmp 0x1402fa7a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1402fa7c0
xor al, al
jmp 0x1402fa841
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1402fa7d3
xor al, al
jmp 0x1402fa841
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 0x1402fa7fd
xor al, al
jmp 0x1402fa841
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1402fa811
xor al, al
jmp 0x1402fa841
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1402fa823
xor al, al
jmp 0x1402fa841
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1402fa83f
xor al, al
jmp 0x1402fa841
mov al, 1
add rsp, 0x38
ret
Function at 0x14013be14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1403a4490
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1404d1d88]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1403a44db
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x1403a4507
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20
jae 0x1403a44f6
jmp 0x1403a44fb
call fcn.14013d4a3
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x40], 0
jmp 0x1403a44d1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
test eax, eax
je 0x1403a455c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
movzx eax, byte [rsp + rax + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1403a4507
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
je 0x1403a45aa
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x1403a459b
mov rax, qword [rsp + 0x28]
jmp 0x1403a45ac
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1403a455c
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14013cdbe
add rsp, 0x78
ret

Function at 0x14013be1e
Capabilities:
Terminate process

Disassembly:
jmp 0x140319690
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call fcn.14013aaa0
test eax, eax
je 0x1403196bd
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14013bf9a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14013c0ad
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140374560
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.140373700
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14037459b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1403745a1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x14013c25b
Capabilities:
Get geographical location

Disassembly:
jmp 0x1403748c0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.140373980
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140374917
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x140374939
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14013d3b8
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x38
ret

Function at 0x14013d5d9
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1403078a0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.140307210
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403078d7
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1404e5010]
jmp 0x1403078dd
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x140377ed0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
call fcn.14013d6e7
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140377f24
cmp qword [rsp + 0x90], 0
je 0x140377f11
lea rcx, [rsp + 0x90]
call fcn.14013b3c4
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140377f24
mov eax, 4
jmp 0x1403780b2
call fcn.14013a2bc
movzx eax, al
test eax, eax
jne 0x140377f55
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140377f44
mov dword [rsp + 0x34], 4
jmp 0x140377f4c
mov dword [rsp + 0x34], 3
mov eax, dword [rsp + 0x34]
jmp 0x1403780b2
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140378041
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [0x1403783f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14013cc29
lea rcx, [rsp + 0x38]
call fcn.14013cfcb
movzx eax, al
test eax, eax
jne 0x140377fef
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x38]
call fcn.14013b9fa
mov eax, dword [rsp + 0x4c]
jmp 0x1403780b2
lea rcx, [rsp + 0x38]
call fcn.14013cb84
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x140378029
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x38]
call fcn.14013b9fa
mov eax, dword [rsp + 0x44]
jmp 0x1403780b2
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x38]
call fcn.14013b9fa
mov eax, dword [rsp + 0x40]
jmp 0x1403780b2
call fcn.14013c59e
movzx eax, al
test eax, eax
jne 0x140378086
mov eax, dword [rsp + 0xa0]
bts eax, 0x15
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.14013ac85
jmp 0x1403780b2
call fcn.14013a72b
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.14013abcc
add rsp, 0x88
ret
Function at 0x18002fc10
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x18006a020]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
mov rdi, r8
lea rcx, [0x18005c708]
mov ebx, edx
jmp 0x180077752

Function at 0x1800306e0
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 0x180030708
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 0x18003072e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180030730
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180030789
test ecx, ecx
jle 0x180030769
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 0x180030789
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180030789
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
Function at 0x180031850
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18006a020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180031923
cmp byte [rcx + 0x71], 0
je 0x180031923
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18003191f
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 0x1800318e4
sub eax, 1
je 0x1800318e8
cmp eax, 2
jne 0x18003191f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180052220
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180031916
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 0x18003191f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800318cc
xor al, al
jmp 0x1800318cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180052220
add rsp, 0x60
pop rbx
ret

Function at 0x1800401e0
Capabilities:
Check for time delay via queryperformancecounter
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x18006a020]
xor rax, rsp
mov qword [rbp + 0x108], rax
movzx r15d, dl
mov r14, rcx
xor r12d, r12d
lea rcx, [0x18005d9c0]
jmp 0x1800780fe

Function at 0x180043a60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
lea rcx, str.Oe0sV
jmp 0x180079c74

Function at 0x180043d00
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18006a020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x48], rsi
lea rcx, [0x18005dc00]
mov qword [rsp + 0x40], rdi
mov esi, edx
jmp 0x18007a0d0

Function at 0x180044c30
Capabilities:
Check for software breakpoints
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x18006a020]
xor rax, rsp
mov qword [rbp + 0x148], rax
xor r12d, r12d
mov r13d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], r12d
lea rcx, [0x18005dc58]
jmp 0x18007af67
Function at 0x18004a440
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Parse pe header
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
push r12
sub rsp, 0x168
mov rax, qword [0x18006a020]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rcx, [0x18005e248]
jmp 0x18007d097

Function at 0x18004b410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push r12
push r13
push r15
sub rsp, 0x40
mov r13, rcx
mov r12, r8
lea rcx, [0x18005e2fc]
jmp 0x18007d779

Function at 0x18004b800
Capabilities:
Encode data using base64
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x18006a020]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx ebx, cl
lea rcx, [0x18005e3e0]
jmp 0x18007d9a1
Function at 0x140001914
Capabilities:
Parse pe header

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

Function at 0x140005b44
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140018620
sub rsp, rax
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14000b8c4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140005b93
mov rax, rbp
jmp 0x140005c9b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x25ed0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14000ab84
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x25ed0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140005c97
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140005c97
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14000ab84
test rax, rax
js 0x140005c97
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140005c97
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140005c89
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140005c89
cmp byte [rcx], 0xd
jne 0x140005c6f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140005c7e
cmp byte [rcx + 1], 0xa
jne 0x140005c7e
inc rcx
jmp 0x140005c7e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x25380]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140005c51
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140005c9b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400185e0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140009340
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000913c
Function at 0x14000b8ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140025ed0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14000b943
cmp word [rdx], r13w
jne 0x14000b943
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14000b948
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14000ba6d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14000ba8e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14000b981
mov rdx, r9
mov word [rbx], cx
jmp 0x14000b9a8
cmp r9, r8
jae 0x14000b9b8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14000b962
jmp 0x14000ba6d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000ba62
cmp dword [rsp + 0x80], esi
je 0x14000ba62
lea r8, [0x140025ed0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14000ba3a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14000ba0a
mov word [rbx], r13w
jmp 0x14000ba6a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14000ba17
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14000ba6a
cmp word [rsp + 0x70], r13w
jne 0x14000ba47
cmp rbx, r14
je 0x14000ba04
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14000ab8c
cmp word [rsp + 0x70], r13w
je 0x14000ba6d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140025ed0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14000ba67
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14000ba6d
Function at 0x14000ff70
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000ffa0
xor eax, eax
jmp 0x140010063
mov rbp, rbx
cmp word [rax], si
je 0x14000ffc5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000ffac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000ffa8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000fe90
movsxd r14, eax
test eax, eax
jne 0x140010003
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000ff99
mov rcx, r14
call fcn.14000c2e4
mov rdi, rax
test rax, rax
jne 0x14001001c
xor ecx, ecx
call fcn.14000c4ac
jmp 0x14000fff8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000fe90
test eax, eax
jne 0x14001004d
mov rcx, rdi
call fcn.14000c4ac
jmp 0x140010057
xor ecx, ecx
call fcn.14000c4ac
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret