joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180017c84
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180017c9a
mov al, 1
jmp 0x180017cfa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180017cab
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180017cf8
mov ecx, dword [rcx + 0x18]
nop
call fcn.18001b5fc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180017cf8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180017cf8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180017cf8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180017cfa
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180019838
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 0x180019868
xor eax, eax
jmp 0x18001992b
mov rbp, rbx
cmp word [rax], si
je 0x18001988d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180019874
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180019870
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.180019758
movsxd r14, eax
test eax, eax
jne 0x1800198cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180019861
mov rcx, r14
call fcn.180016160
mov rdi, rax
test rax, rax
jne 0x1800198e4
xor ecx, ecx
call fcn.180014c28
jmp 0x1800198c0
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.180019758
test eax, eax
jne 0x180019915
mov rcx, rdi
call fcn.180014c28
jmp 0x18001991f
xor ecx, ecx
call fcn.180014c28
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
Function at 0x180020100
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180020128
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180020128
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Access peb ldr_data
Create process on windows
Encrypt data using rc4 prga
Get process filename
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x50], rax
stmxcsr dword [rsp + 0x4c]
or dword [rsp + 0x4c], 0x8040
ldmxcsr dword [rsp + 0x4c]
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x20
lea rsi, [0x14004ac58]
mov r14, qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rbx, rdi
nop word cs:[rax + rax]
mov rbx, qword [rbx]
cmp rbx, rdi
je 0x14000124d
mov rcx, qword [rbx + 0x50]
mov rdx, rsi
call r14
test eax, eax
jne 0x140001070
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14000124d
movsxd rcx, dword [rax + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov ecx, dword [rax + r9 + 0x18]
test rcx, rcx
je 0x14000124d
mov edx, dword [rax + r9 + 0x1c]
add rdx, rax
mov qword [rsp + 0x40], rdx
mov r8d, dword [rax + r9 + 0x20]
add r8, rax
mov edx, dword [rax + r9 + 0x24]
add rdx, rax
mov qword [rsp + 0x38], rdx
lea rdx, [rax + 1]
mov qword [rsp + 0x30], rdx
xor esi, esi
xor r10d, r10d
xor ebx, ebx
xor edi, edi
jmp 0x1400010fc
inc rsi
cmp rsi, rcx
je 0x1400011d0
mov r15d, dword [r8 + rsi*4]
movzx edx, byte [rax + r15]
test dl, dl
je 0x1400010f0
mov r9, qword [rsp + 0x38]
movzx r11d, word [r9 + rsi*2]
mov r9, qword [rsp + 0x40]
mov r14d, dword [r9 + r11*4]
add r14, rax
add r15, qword [rsp + 0x30]
mov r12d, 0x1e4f
mov r11, r15
mov r13d, edx
movsx ebp, r13b
mov r13d, r12d
shl r13d, 5
add r12d, r13d
add r12d, ebp
movzx r13d, byte [r11]
inc r11
test r13b, r13b
jne 0x140001130
mov r9d, 0x1e4f
mov r11, r15
mov ebp, edx
nop dword [rax + rax]
movsx ebp, bpl
mov r13d, r9d
shl r13d, 5
add r9d, r13d
add r9d, ebp
movzx ebp, byte [r11]
inc r11
test bpl, bpl
jne 0x140001160
mov r11d, 0x1e4f
nop word cs:[rax + rax]
movsx edx, dl
mov ebp, r11d
shl ebp, 5
add r11d, ebp
add r11d, edx
movzx edx, byte [r15]
inc r15
test dl, dl
jne 0x140001190
cmp r12d, 0x80fa57e1
cmove r10, r14
cmp r9d, 0xc7d73c9b
cmove rbx, r14
cmp r11d, 0x50c272c4
cmove rdi, r14
jmp 0x1400010f0
test r10, r10
je 0x14000124d
test rbx, rbx
je 0x14000124d
test rdi, rdi
je 0x14000124d
mov edx, 0x40e55
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 0x40
call r10
mov rsi, rax
lea rdx, [0x140008150]
mov r8d, 0x40e55
mov rcx, rax
call fcn.140001290
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, section..text
xor ecx, ecx
xor edx, edx
mov r9, rsi
call rbx
mov rsi, rax
lea rcx, str.unins000.exe
mov edx, 1
call qword [sym.imp.KERNEL32.dll_WinExec]
mov rcx, rsi
mov edx, 0xffffffff
call rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x14004c040]
jne 0x140001271
xor eax, eax
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140005cd0
int3
Function at 0x140005744
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008808
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008800
cmp dword [rcx + 0x3c], edx
jl 0x140008800
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008800
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 0x140008808
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140001090
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x40a7c91
mov rbx, rcx
jne 0x1400010e7
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x1400010e7
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400010e7
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
je 0x1400010e7
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x1400010ec
mov eax, 0xc0000001
add rsp, 0x20
pop rbx
ret

Function at 0x140001380
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea rdx, [rax + 0x10]
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x48]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov rcx, rax
call fcn.1400010f4
mov qword [0x140003010], rax
lea rdi, [0x140003020]
mov esi, 0x200
mov rdx, qword [0x140003010]
lea rax, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x20], rax
add rdx, rbx
mov rcx, rdi
lea r8d, [r9 + 7]
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
add rbx, 8
add rdi, 8
sub rsi, 1
jne 0x1400013c9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400015d4
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x40a7c91
mov rbx, rcx
jne 0x140001668
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001668
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001668
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rbx + 8]
xor ecx, ecx
mov rdi, qword [rbx + 0x18]
call fcn.1400016e4
test rax, rax
je 0x140001668
mov ecx, eax
lea r9, [rsp + 0x38]
and ecx, 0xfff
mov edx, 0x1000
sub edx, ecx
mov rcx, rax
cmp edx, edi
cmovl edi, edx
and qword [rsp + 0x38], 0
cmp byte [rbx + 0x20], 0
mov rdx, qword [rbx + 0x10]
movsxd r8, edi
je 0x14000165f
call fcn.140001854
jmp 0x140001664
call fcn.140001584
xor eax, eax
jmp 0x14000166d
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001125d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400141f0
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 0x1400112fd
Capabilities:
Execute command

Disassembly:
jmp 0x140012a90
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x140025106]
call fcn.14001141a
nop
lea rcx, str.chcp_1251___nul
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_setlocale]
nop
mov dword [rbp + 0xc4], 0
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.14001143d
nop
lea rdx, str.__:_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011091
nop
lea rdx, str.1________n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011091
nop
lea rdx, str.2____MaxMy__MinMy_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011091
nop
lea rdx, [rbp + 0xa4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
nop
mov eax, dword [rbp + 0xa4]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 1
je 0x140012b7d
cmp dword [rbp + 0x194], 2
je 0x140012bac
jmp 0x140012bdb
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x20], rax
movsd xmm3, qword [rbp + 0x68]
movsd xmm2, qword [rbp + 0x48]
movsd xmm1, qword [rbp + 0x28]
movsd xmm0, qword [rbp + 8]
call fcn.140011492
movsd qword [rbp + 0x88], xmm0
jmp 0x140012c06
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x20], rax
movsd xmm3, qword [rbp + 0x68]
movsd xmm2, qword [rbp + 0x48]
movsd xmm1, qword [rbp + 0x28]
movsd xmm0, qword [rbp + 8]
call fcn.14001148d
movsd qword [rbp + 0x88], xmm0
jmp 0x140012c06
lea rdx, str.___
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011091
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov eax, 1
jmp 0x140012c1c
mov edx, dword [rbp + 0xc4]
movsd xmm0, qword [rbp + 0x88]
call fcn.14001149c
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001be30]
call fcn.1400113a7
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.140011217
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140011307
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015540
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015560
xor al, al
jmp 0x1400155e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015573
xor al, al
jmp 0x1400155e1
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 0x14001559d
xor al, al
jmp 0x1400155e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400155b1
xor al, al
jmp 0x1400155e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400155c3
xor al, al
jmp 0x1400155e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400155df
xor al, al
jmp 0x1400155e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140013420
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011447
movzx eax, al
test eax, eax
jne 0x140013440
mov ecx, 7
call fcn.1400113b1
nop
mov byte [rsp + 0x20], 0
call fcn.1400113ca
mov byte [rsp + 0x21], al
cmp dword [0x14001f8b8], 1
jne 0x140013464
mov ecx, 7
call fcn.1400113b1
nop
jmp 0x1400134bc
cmp dword [0x14001f8b8], 0
jne 0x1400134b7
mov dword [0x14001f8b8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.140011203
test eax, eax
je 0x140013498
mov eax, 0xff
jmp 0x1400135c1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113c0
mov dword [0x14001f8b8], 2
jmp 0x1400134bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001139d
call fcn.14001132f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013519
mov rcx, qword [rsp + 0x30]
call fcn.1400111ae
movzx eax, al
test eax, eax
je 0x140013519
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 [0x140026020]
nop
call fcn.140011361
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001354d
mov rcx, qword [rsp + 0x38]
call fcn.1400111ae
movzx eax, al
test eax, eax
je 0x14001354d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011401
nop
call fcn.140013670
mov dword [rsp + 0x28], eax
call fcn.140011307
movzx eax, al
test eax, eax
jne 0x14001356c
mov ecx, dword [rsp + 0x28]
call fcn.14001106e
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001357b
call fcn.14001140b
nop
xor edx, edx
mov cl, 1
call fcn.14001119a
mov eax, dword [rsp + 0x28]
jmp 0x1400135c1
add rsp, 0x68
ret
Function at 0x140019b50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140019b5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140019b6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140019b55
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140019b85
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140019b72
sub eax, 3
jb 0x140019b9f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140019bd6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140019bc6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140019bc4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140019bb3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140019b12
jmp 0x140019b5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x8000
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140019c22
cmp rsi, rcx
jae 0x140019c2a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140019c09
cmp al, 0x8f
ja 0x140019c09
cmp byte [rsi - 2], 0xf
je 0x140019c0f
sub al, 0xe8
cmp al, 1
ja 0x140019bf3
cmp rsi, rcx
jae 0x140019c2a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140019bf9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140019c2a
lodsb al, byte [rsi]
jmp 0x140019c09
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x17000]
mov eax, dword [rdi]
or eax, eax
je 0x140019c93
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x19000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140019c37
jns 0x140019c6c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140019c76
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140019c8d
mov qword [rbx], rax
add rbx, 8
jmp 0x140019c57
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140019ceb
sub rsp, 0xffffffffffffff80
jmp 0x1400076a0
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140015d00
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 0x14001128a
Capabilities:
Execute command

Disassembly:
jmp 0x140014510
push r13
push rbp
push rdi
sub rsp, 0x6f0
lea r13, [rsp + 0x20]
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rcx, [0x140026101]
call fcn.14001139d
nop
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rax, [rbp + 0x2d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x314]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x2d4]
movzx r8d, byte [rbp + 0x2f4]
movzx edx, byte [rbp + 0x314]
lea rcx, [rbp + 0x260]
call fcn.140011820
mov rcx, rax
call fcn.1400110c3
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rax, [rbp + 0x3b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x3b4]
movzx r8d, byte [rbp + 0x3d4]
movzx edx, byte [rbp + 0x3f4]
lea rcx, [rbp + 0x340]
call fcn.1400119c0
mov rcx, rax
call fcn.1400110b9
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rax, [rbp + 0x474]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x494]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x474]
movzx r8d, byte [rbp + 0x494]
movzx edx, byte [rbp + 0x4b4]
lea rcx, [rbp + 0x420]
call fcn.140011b60
mov rcx, rax
call fcn.14001105a
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rax, [rbp + 0x574]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x594]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x5b4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x574]
movzx r8d, byte [rbp + 0x594]
movzx edx, byte [rbp + 0x5b4]
lea rcx, [rbp + 0x4e0]
call fcn.140011c70
mov rcx, rax
call fcn.1400111d6
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rax, [rbp + 0x654]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x674]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x694]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x654]
movzx r8d, byte [rbp + 0x674]
movzx edx, byte [rbp + 0x694]
lea rcx, [rbp + 0x5e0]
call fcn.140011ed0
mov rcx, rax
call fcn.140011069
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
nop
xor eax, eax
lea rsp, [r13 + 0x6d0]
pop rdi
pop rbp
pop r13
ret
Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017050
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017070
xor al, al
jmp 0x1400170f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017083
xor al, al
jmp 0x1400170f1
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 0x1400170ad
xor al, al
jmp 0x1400170f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400170c1
xor al, al
jmp 0x1400170f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400170d3
xor al, al
jmp 0x1400170f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400170ef
xor al, al
jmp 0x1400170f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140014f20
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c5
movzx eax, al
test eax, eax
jne 0x140014f40
mov ecx, 7
call fcn.140011339
nop
mov byte [rsp + 0x20], 0
call fcn.14001134d
mov byte [rsp + 0x21], al
cmp dword [0x140021868], 1
jne 0x140014f64
mov ecx, 7
call fcn.140011339
nop
jmp 0x140014fbc
cmp dword [0x140021868], 0
jne 0x140014fb7
mov dword [0x140021868], 1
lea rdx, [0x14001d660]
lea rcx, [0x14001d330]
call fcn.1400111b3
test eax, eax
je 0x140014f98
mov eax, 0xff
jmp 0x1400150c1
lea rdx, [0x14001d220]
lea rcx, [section..rdata]
call fcn.140011343
mov dword [0x140021868], 2
jmp 0x140014fbc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011320
call fcn.1400112b7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140015019
mov rcx, qword [rsp + 0x30]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x140015019
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 [0x140027020]
nop
call fcn.1400112e9
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001504d
mov rcx, qword [rsp + 0x38]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x14001504d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011384
nop
call fcn.140015170
mov dword [rsp + 0x28], eax
call fcn.140011294
movzx eax, al
test eax, eax
jne 0x14001506c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001507b
call fcn.14001138e
nop
xor edx, edx
mov cl, 1
call fcn.14001115e
mov eax, dword [rsp + 0x28]
jmp 0x1400150c1
add rsp, 0x68
ret
Function at 0x140003ab8
Capabilities:
Parse pe header

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