joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007ea84
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14006f388
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14007eb0e
cmp byte [rbp - 0x21], r15b
je 0x14007eb09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007eb44
call fcn.140073978
test eax, eax
jne 0x14007eb30
cmp byte [rbp - 0x21], r15b
je 0x14007eb28
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007eb44
cmp byte [rbp - 0x21], r15b
je 0x14007eb41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14006f4c0
test eax, eax
jne 0x14007ebe4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14006f388
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14007eb83
cmp byte [rbp - 0x21], r15b
je 0x14007ebb8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007ebb8
call fcn.140073978
test eax, eax
jne 0x14007eba4
cmp byte [rbp - 0x21], r15b
je 0x14007eb9d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007ebb8
cmp byte [rbp - 0x21], r15b
je 0x14007ebb5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14006f4c0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007ebe4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007ebe7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007ebf5
mov rcx, rdi
call fcn.140072f9c
cmp byte [rbp + 0x3f], r15b
je 0x14007ec04
mov rcx, qword [rbp + 0x27]
call fcn.140072f9c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140080370
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140080398
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140080398
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001ce0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], eax
call fcn.140005190
lea rcx, [rsp + 0x58]
or eax, 1
lea rdx, str.SOFTWAREMcAfeeSystemCoreVSCoreOn_Access_ScannerMcShieldConfiguration
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001d94
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, str.AlertPollInterval
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, str.AnnOASConnectInterval
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140001da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x58], 0
call fcn.140005190
lea rcx, [rsp + 0x58]
lea rdx, str.SOFTWAREMcAfeeSystemCoreVSCoreOn_Access_ScannerMcShieldConfiguration
or eax, 1
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov r9d, eax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001ea9
mov qword [rsp + 0x40], rsi
mov rcx, qword [0x14000b030]
lea rsi, [0x14000b030]
cmp rcx, rsi
je 0x140001e26
bt dword [rcx + 0x3c], 0xe
jae 0x140001e26
cmp byte [rcx + 0x39], 5
jb 0x140001e26
mov rcx, qword [rcx + 0x30]
lea r8, [0x1400083c8]
mov dx, 0xa
call fcn.140001250
mov rcx, qword [rsp + 0x58]
lea eax, [rdi - 2]
lea rdx, str.AnnouncerPath
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [0x14000b030]
cmp rcx, rsi
mov rsi, qword [rsp + 0x40]
je 0x140001e8e
bt dword [rcx + 0x3c], 0xe
jae 0x140001e8e
cmp byte [rcx + 0x39], 5
jb 0x140001e8e
mov rcx, qword [rcx + 0x30]
lea r8, [0x1400083c8]
mov r9d, eax
mov dx, 0xb
mov qword [rsp + 0x20], rbx
call fcn.140001880
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400023c0
Capabilities:
Read file via mapping

Disassembly:
sub rsp, 0x38
cmp qword [0x14000b438], 0
je 0x1400023d8
mov eax, 1
add rsp, 0x38
ret
xor edx, edx
lea r8, str.GlobalOAS_STATISTICS
mov qword [rsp + 0x30], rbx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor ebx, ebx
test rax, rax
mov qword [0x14000b3b0], rax
je 0x140002495
lea edx, [rbx + 4]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
mov qword [0x14000b438], rax
je 0x140002469
mov rcx, qword [0x14000b030]
lea rdx, [0x14000b030]
cmp rcx, rdx
je 0x1400024d9
bt dword [rcx + 0x3c], 0xe
jae 0x1400024d9
cmp byte [rcx + 0x39], 5
jb 0x1400024d9
mov rcx, qword [rcx + 0x30]
lea r8, [0x1400083c8]
mov r9, rax
mov dx, 0x19
call fcn.140001a50
jmp 0x1400024d9
mov rax, qword [0x14000b030]
lea rdx, [0x14000b030]
cmp rax, rdx
je 0x1400024d9
bt dword [rax + 0x3c], 0xe
jae 0x1400024d9
cmp byte [rax + 0x39], 2
jb 0x1400024d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dx, 0x1a
jmp 0x1400024bf
mov rax, qword [0x14000b030]
lea rdx, [0x14000b030]
cmp rax, rdx
je 0x1400024d9
bt dword [rax + 0x3c], 0xe
jae 0x1400024d9
cmp byte [rax + 0x39], 2
jb 0x1400024d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dx, 0x1b
mov rcx, qword [0x14000b030]
lea r8, [0x1400083c8]
mov r9d, eax
mov rcx, qword [rcx + 0x30]
call fcn.140001280
cmp qword [0x14000b438], rbx
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x140005a40
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14000b540]
test eax, eax
jne 0x140005b1e
mov eax, 1
xchg dword [0x14000b540], eax
test eax, eax
jne 0x140005b1e
lea rcx, [0x140008ce8]
mov byte [0x14000b544], 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, qword [str.RtlInitializeResource]
mov rcx, rax
mov qword [0x14000b548], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.RtlDeleteResource]
mov rcx, qword [0x14000b548]
mov qword [0x14000b510], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.RtlAcquireResourceExclusive]
mov rcx, qword [0x14000b548]
mov qword [0x14000b518], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.RtlAcquireResourceShared]
mov rcx, qword [0x14000b548]
mov qword [0x14000b520], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.RtlReleaseResource]
mov rcx, qword [0x14000b548]
mov qword [0x14000b528], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.RtlDumpResource]
mov rcx, qword [0x14000b548]
mov qword [0x14000b530], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000b538], rax
add rsp, 0x28
ret
Function at 0x14000602c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x14000c000], rdi
je 0x14000607a
cmp rax, rdi
jne 0x14000606d
mov edi, 1
mov r12d, edi
jmp 0x14000607f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006051
mov edi, 1
mov eax, dword [0x14000bff8]
cmp eax, edi
jne 0x140006095
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400060f2
mov eax, dword [0x14000bff8]
test eax, eax
jne 0x1400060ec
mov dword [0x14000bff8], edi
lea r13, [0x140008318]
lea rsi, [0x140008300]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x1400060de
test eax, eax
jne 0x1400060de
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400060d3
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x1400060bc
test eax, eax
je 0x1400060f2
mov eax, 0xff
jmp 0x1400061c4
mov dword [0x14000ba4c], edi
mov eax, dword [0x14000bff8]
cmp eax, edi
jne 0x140006119
lea rdx, [0x1400082f8]
lea rcx, [0x1400082d8]
call sub.msvcrt.dll__initterm
mov dword [0x14000bff8], 2
test r12d, r12d
jne 0x140006127
xor eax, eax
xchg qword [0x14000c000], rax
cmp qword [0x14000c018], 0
je 0x140006150
lea rcx, [0x14000c018]
call fcn.1400065b8
test eax, eax
je 0x140006150
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000c018]
mov r8, qword [0x14000ba30]
mov rdx, qword [0x14000ba38]
mov ecx, dword [0x14000ba28]
call fcn.140003ef0
mov dword [0x14000ba48], eax
cmp dword [0x14000ba2c], 0
jne 0x140006180
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000ba4c], 0
jne 0x140006195
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000ba48]
jmp 0x1400061c4
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.1400bd000
add rsp, 0x28
jmp 0x14000602c
Function at 0x140006453
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b090]
jne 0x140005f3a
rol rcx, 0x10
test cx, 0xffff
jne 0x140005f36
repz ret
ror rcx, 0x10
jmp 0x1400063ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000baf0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000bbe8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140006431
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000baf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140006453
mov rax, qword [rsp + 0x88]
mov qword [0x14000bbe8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000bb88], rax
mov rax, qword [0x14000bbe8]
mov qword [0x14000ba60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000bb70], rax
mov dword [0x14000ba50], 0xc0000409
mov dword [0x14000ba54], 1
mov rax, qword [0x14000b090]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b098]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140008e80]
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, 0x88
ret

Function at 0x14000663c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x140006686
cmp rcx, 0xffffffffffffffff
je 0x140006686
cmp word [rcx], 0x5a4d
jne 0x14000667e
cmp dword [rcx + 0x3c], edx
jl 0x14000667e
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000667e
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140006686
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140006b90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
xor bl, bl
test rcx, rcx
mov rsi, r8
je 0x140006c0e
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x58], rdi
xor edi, edi
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006be4
mov edi, dword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
mov bl, 1
jmp 0x140006be6
mov eax, edi
test rsi, rsi
je 0x140006bed
mov dword [rsi], eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140006bfc
mov ecx, edi
mov qword [rax], rcx
mov al, bl
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov al, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
Function at 0x1800015b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov eax, 6
mov word [rsp + 0x18], ax
mov dword [rsp + 0x54], 6
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180001635
xor eax, eax
jmp 0x1800017f1
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x5c], 2
mov byte [rsp + 6], 0x78
lea rax, [rsp + 0x90]
lea rcx, str.RctbUXJBjaIGpHq
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x70], 9
mov rax, qword [rsp + 0x10]
cmp dword [rax], 0x4550
je 0x1800016bd
xor eax, eax
jmp 0x1800017f1
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov byte [rsp + 9], 1
mov dword [rsp + 0x4c], 6
mov dword [rsp], 0
jmp 0x1800016f3
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jge 0x180001798
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xf0]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x180001736
inc rcx
test dl, dl
jne 0x180001723
xor eax, eax
jmp 0x18000173b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180001793
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x38]
mov eax, dword [rdx + rax + 8]
mov dword [rcx], eax
movsxd rax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
jmp 0x1800017f1
jmp 0x1800016eb
xor eax, eax
jmp 0x1800017f1
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x1800041a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
push rsi
push rdi
sub rsp, 0x88
mov byte [rsp + 2], 0x6c
mov eax, 9
mov word [rsp + 8], ax
lea rax, [rsp + 0x38]
lea rcx, str.HVWubzKMPBdGLOiJYhFoRASIywfQlEU
mov rdi, rax
mov rsi, rcx
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x20], 6
mov dword [rsp + 0x14], 4
mov eax, 6
mov word [rsp + 0xc], ax
mov byte [rsp + 1], 0
jmp 0x18000420c
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x1800042e5
mov byte [rsp], 0
jmp 0x180004229
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x1800042e0
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0xa0]
shl edx, 2
movzx edi, byte [rsp + 1]
shl edi, 2
lea edx, [rdi + rdx*4]
movzx edi, byte [rsp]
add edx, edi
movsxd rdx, edx
mov rdi, qword [rsp + 0xb0]
movzx edx, byte [rdi + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov rdi, qword [rsp + 0xa8]
lea rdx, [rdi + rdx*4]
mov byte [rdx + rcx], al
mov eax, 4
mov word [rsp + 0x10], ax
lea rax, [rsp + 0x58]
lea rcx, str.TlnLpQerVqNHcWitfCUgOoEZhRywvJBMkPzYI
mov rdi, rax
mov rsi, rcx
mov ecx, 0x26
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 1
mov byte [rsp + 3], 0x6b
mov byte [rsp + 4], 1
mov dword [rsp + 0x18], 0
jmp 0x180004220
jmp 0x180004201
add rsp, 0x88
pop rdi
pop rsi
ret

Function at 0x1800042f0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov eax, 6
mov word [rsp + 4], ax
mov eax, 9
mov word [rsp + 8], ax
lea rax, [rsp + 0x10]
lea rcx, str.LVMrbQkguSDYjeCsTNKfaIc
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0xc], 3
mov byte [rsp + 2], 0x75
mov byte [rsp + 1], 0
jmp 0x180004347
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x1800043a3
mov byte [rsp], 0
jmp 0x180004360
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x1800043a1
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, [0x18000be60]
movzx edx, byte [rsp]
mov rdi, qword [rsp + 0x50]
lea rdx, [rdi + rdx*4]
movzx edi, byte [rsp + 1]
movzx eax, byte [rcx + rax]
mov byte [rdx + rdi], al
jmp 0x180004357
jmp 0x18000433c
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x180005070
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x18000e040]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x60], 3
mov qword [rsp + 0x68], 0
mov eax, 1
mov word [rsp + 0x30], ax
lea rax, [rsp + 0x54]
lea rcx, str.kULm
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x4c], 3
mov eax, 3
mov word [rsp + 0x34], ax
mov qword [rsp + 0x70], 0
mov byte [rsp + 0x29], 0x5a
mov qword [rsp + 0x78], 4
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0x10
jmp 0x18000512f
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x140]
cmp dword [rsp + 0x24], eax
jae 0x1800052f7
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x130]
mov rdi, rax
lea rsi, [rcx + 0xb0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, 2
mov word [rsp + 0x38], ax
lea rax, [rsp + 0xc0]
lea rcx, str.FRKItVxUzJQYlHBMowLAEynuTpkjSCsqPcfXedZrvgNmhb
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2f
rep movsb byte [rdi], byte [rsi]
mov eax, 1
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x130]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.180004e70
mov dword [rsp + 0x20], 0xf
jmp 0x1800051bd
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x180005292
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x130]
movzx eax, byte [rcx + rax + 0xb0]
cmp eax, 0xff
jne 0x180005211
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x130]
mov byte [rcx + rax + 0xb0], 0
mov qword [rsp + 0x88], 2
mov eax, 3
mov word [rsp + 0x40], ax
jmp 0x1800051b3
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x130]
movzx eax, byte [rcx + rax + 0xb0]
inc eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x130]
mov byte [rdx + rcx + 0xb0], al
jmp 0x180005292
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x50], 1
mov qword [rsp + 0xa0], 5
mov byte [rsp + 0x2c], 1
mov byte [rsp + 0x2d], 0x53
mov qword [rsp + 0xa8], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0xf0]
xor eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x138]
mov byte [rdx + rcx], al
jmp 0x18000511b
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1800071a0
add rsp, 0x118
pop rdi
pop rsi
ret
Function at 0x1400279dc
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b104
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b104
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027b2c
cmp rax, 0xffffffffffffffff
je 0x140027b2c
xor edi, edi
test rbp, rbp
jle 0x140027ad7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001da18
mov rbx, rax
test rax, rax
jne 0x140027a64
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027acd
mov edx, 0x8000
mov ecx, r14d
call fcn.140018a68
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001bde0
cmp eax, 0xffffffff
je 0x140027aad
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027a74
mov edx, r15d
mov ecx, r14d
call fcn.140018a68
jmp 0x140027acd
cmp byte [rsi + 0x38], dil
je 0x140027ac4
cmp dword [rsi + 0x34], 5
jne 0x140027ac4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027acd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400197c8
jmp 0x140027b40
jns 0x140027b40
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b104
cmp rax, 0xffffffffffffffff
jne 0x140027af8
cmp byte [rsi + 0x30], dil
je 0x140027b40
mov edi, dword [rsi + 0x2c]
jmp 0x140027b40
mov ecx, r14d
call fcn.140017594
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027b40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027b40
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027b39
mov eax, dword [rsi + 0x2c]
jmp 0x140027b3e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b104
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140028c30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028c58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028c58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180027560
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180027588
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180027588
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180028020
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.180001bb0
movzx eax, al
test eax, eax
jne 0x180028067
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.180001c60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x30]
lea rdx, [0x180036b6c]
mov rcx, rax
call fcn.180001db0
add rsp, 0x28
ret