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

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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
sub rsp, 0x140
xor edi, edi
lea r8, [rax + 0x18]
mov rbx, rcx
mov dword [rax + 8], edi
lea rcx, [rax + 8]
mov dword [rax + 0x10], edi
xor r9d, r9d
mov dword [rax + 0x18], edi
lea rdx, [rax + 0x10]
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
and byte [rbx + 2], 0xfe
movzx ecx, byte [rsp + 0x158]
cmp al, 1
movzx edx, byte [rsp + 0x150]
sete al
mov byte [rbx + 1], cl
mov ecx, dword [rsp + 0x160]
or al, 0xfc
or byte [rbx + 2], al
mov byte [rbx], dl
mov dword [rbx + 4], ecx
cmp qword [0x180030220], rdi
je 0x18000d3ba
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call fcn.180022780
mov rax, qword [0x180030220]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [case.0x18000cf2d.0]
test eax, eax
js 0x18000d3ba
movzx eax, byte [rsp + 0x134]
and byte [rbx + 2], 3
shl al, 2
or byte [rbx + 2], al
cmp dword [rsp + 0x150], 6
mov eax, 2
cmovae edi, eax
movzx eax, byte [rbx + 2]
and al, 0xfd
or dil, al
mov byte [rbx + 2], dil
test dil, 2
jne 0x18000d43b
mov rax, qword [0x180030180]
test rax, rax
je 0x18000d3f9
mov ecx, 0xffff
call qword [case.0x18000cf2d.0]
cmp eax, 1
ja 0x18000d437
mov rax, qword [0x180030178]
test rax, rax
je 0x18000d410
call qword [case.0x18000cf2d.0]
cmp eax, 1
ja 0x18000d437
mov rax, qword [0x180030170]
test rax, rax
je 0x18000d428
call qword [case.0x18000cf2d.0]
cmp rax, 1
ja 0x18000d437
mov rax, qword [sym.imp.ntoskrnl.exe_KeNumberProcessors]
movzx ecx, byte [rax]
cmp cl, 1
jle 0x18000d43b
or byte [rbx + 2], 2
mov rbx, qword [rsp + 0x168]
add rsp, 0x140
pop rdi
ret
Function at 0x180012670
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r10, rcx
mov eax, 0xffffffff
test rdx, rdx
je 0x1800126af
lea r11, [0x180026d70]
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [r10]
lea r10, [r10 + 1]
mov r8d, eax
shr eax, 8
xor r9, r8
movzx ecx, r9b
xor eax, dword [r11 + rcx*4]
sub rdx, 1
jne 0x180012690
not eax
ret

Function at 0x1800126d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test r8, r8
je 0x1800126fe
lea r10, [0x180026d70]
nop dword [rax]
movzx r9d, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ecx
shr ecx, 8
xor r9, rax
movzx eax, r9b
xor ecx, dword [r10 + rax*4]
sub r8, 1
jne 0x1800126e0
mov eax, ecx
ret
Function at 0x180013c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rcx + 0x10], 2
mov r11, rcx
mov r8, qword [rdx]
movabs rax, 0x112e0be826d694b3
imul r8
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
lea r9, [rdx - 1]
sub r8d, eax
cmovns r9, rdx
test r8d, r8d
lea eax, [r8 + 0x3b9aca00]
cmovns eax, r8d
mov dword [rcx + 0xc], eax
movabs rax, 0x8888888888888889
imul r9
add rdx, r9
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3c
lea r8d, [rdx - 1]
sub r9d, eax
lea eax, [r9 + 0x3c]
movzx ecx, al
movzx eax, r9b
cmovns ecx, eax
test r9d, r9d
mov byte [r11 + 0xb], cl
mov eax, 0x88888889
cmovns r8d, edx
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
lea r9d, [rdx - 1]
sub r8d, eax
cmovns r9d, edx
test r8d, r8d
lea eax, [r8 + 0x3c]
movzx ecx, al
movzx eax, r8b
cmovns ecx, eax
mov eax, 0x2aaaaaab
imul r9d
mov byte [r11 + 0xa], cl
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
lea ecx, [rdx - 1]
shl eax, 3
sub r9d, eax
cmovns ecx, edx
test r9d, r9d
lea eax, [r9 + 0x18]
movzx edx, al
movzx eax, r9b
cmovns edx, eax
mov eax, 0x92492493
mov byte [r11 + 9], dl
imul ecx
mov eax, 0x92492493
add edx, ecx
sar edx, 2
mov r8d, edx
shr r8d, 0x1f
add edx, r8d
mov r8d, ecx
imul edx, edx, 7
sub r8d, edx
add r8d, 0xa
imul r8d
add edx, r8d
lea r10, [0x1800272b0]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 7
sub r8d, eax
mov eax, 0xb38cf9b1
mov byte [r11 + 5], r8b
imul ecx
add edx, ecx
sar edx, 8
mov r8d, edx
add edx, 0x12c
shr r8d, 0x1f
add r8d, edx
lea edx, [r8 + 1]
cmp dword [r10 + rdx*4], ecx
jg 0x180013d7c
nop dword [rax + rax]
inc r8d
lea edx, [rdx + 1]
cmp dword [r10 + rdx*4], ecx
jle 0x180013d70
cmp dword [r10 + r8*4], ecx
jle 0x180013d8b
dec r8d
cmp dword [r10 + r8*4], ecx
jg 0x180013d82
sub ecx, dword [r10 + r8*4]
lea r9d, [r8 + 0x686]
mov dword [r11], r9d
lea eax, [rcx + 1]
mov word [r11 + 6], ax
mov eax, r9d
and eax, 0x80000003
jge 0x180013db2
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x180013df5
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov r8d, edx
shr r8d, 0x1f
add edx, r8d
imul r8d, edx, 0x64
cmp r9d, r8d
jne 0x180013df1
mov eax, 0x51eb851f
imul r9d
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x190
cmp r9d, eax
jne 0x180013df5
mov al, 1
jmp 0x180013df7
xor al, al
test al, al
lea rdx, [0x180027268]
movzx eax, al
lea r10, [0x180027288]
cmove r10, rdx
xor eax, 1
inc eax
shl eax, 6
or eax, 2
mov dword [r11 + 0x10], eax
mov eax, ecx
cdq
inc ecx
and edx, 0x1f
add eax, edx
sar eax, 5
movsxd r9, eax
movzx r8d, word [r10 + r9*2 + 2]
cmp r8d, ecx
jg 0x180013e51
nop dword [rax + rax]
movsxd rdx, r9d
inc r9d
movzx r8d, word [r10 + rdx*2 + 4]
cmp r8d, ecx
jle 0x180013e40
lea eax, [r9 + 1]
mov byte [r11 + 4], al
movsxd rax, r9d
sub cl, byte [r10 + rax*2]
mov rax, r11
inc cl
mov dword [r11 + 0x14], 0
mov byte [r11 + 8], cl
ret
Function at 0x1800166b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
sub rsp, 0x28
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax - 8], rdi
mov qword [rax - 0x10], r12
mov r12, r9
mov qword [rax - 0x18], r13
xor r9d, r9d
mov qword [rax - 0x20], r14
mov r13, rdx
mov rax, rcx
mov qword [rsp], r15
movzx ecx, r8b
mov edx, r9d
shr r8d, 8
test r8d, r8d
jne 0x1800166f9
mov r8d, 0xffffffff
cmp ecx, 0x24
mov r10b, 1
cmovb edx, ecx
movzx ecx, byte [rax]
cmp cl, 0x2b
jne 0x18001670f
mov r10b, 1
jmp 0x180016718
cmp cl, 0x2d
jne 0x180016721
xor r10b, 1
inc rax
add r8d, 0xffffffff
jne 0x180016702
lea rbx, [0x180000000]
test edx, edx
jne 0x180016776
cmp byte [rax], 0x30
lea edi, [rdx + 0xa]
jne 0x1800167ae
cmp r8d, 1
jbe 0x180016761
movzx ecx, byte [rax + 1]
sub cl, 0x58
test cl, 0xdf
jne 0x180016761
movzx ecx, byte [rax + 2]
cmp byte [rcx + rbx + 0x27ea0], 0x10
jae 0x180016761
add rax, 2
lea edi, [rdx + 0x10]
add r8d, 0xfffffffe
jmp 0x1800167ae
movzx ecx, byte [rax + 1]
cmp byte [rcx + rbx + 0x27ea0], 8
jae 0x1800167ae
mov edi, 8
jmp 0x1800167ae
mov edi, edx
cmp edx, 0x10
jne 0x1800167ae
cmp byte [rax], 0x30
jne 0x1800167ae
cmp r8d, 1
jbe 0x1800167ae
movzx ecx, byte [rax + 1]
cmp cl, 0x78
je 0x180016796
cmp cl, 0x58
jne 0x1800167ae
movzx ecx, byte [rax + 2]
mov edi, edx
cmp byte [rcx + rbx + 0x27ea0], 0x10
jae 0x1800167ae
add r8d, 0xfffffffe
add rax, 2
mov r14d, edi
mov r15, rax
movsx ebp, byte [r14 + rbx + 0x27fa0]
mov rbx, r9
test r8d, r8d
je 0x180016817
lea r13, [0x180000000]
mov qword [rsp + 0x48], rsi
movzx ecx, byte [rax]
test cl, cl
je 0x18001680d
movzx esi, byte [rcx + r13 + 0x27ea0]
cmp esi, edi
jae 0x18001680d
mov r11, rbx
imul rbx, r14
add rbx, rsi
cmp r11, rbx
ja 0x1800167fe
mov ecx, ebp
shr r11, cl
test r11, r11
je 0x180016804
mov r9d, 0x37
inc rax
add r8d, 0xffffffff
jne 0x1800167d1
mov r13, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 8]
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
test r10b, r10b
jne 0x18001683a
test r9d, r9d
mov ecx, 0x39
cmove r9d, ecx
neg rbx
test r12, r12
je 0x180016843
mov qword [r12], rbx
mov r12, qword [rsp + 0x18]
cmp rax, r15
mov r15, qword [rsp]
mov ecx, 0xffffffc8
mov rbx, qword [rsp + 0x30]
cmove r9d, ecx
test r13, r13
je 0x180016866
mov qword [r13], rax
mov r13, qword [rsp + 0x10]
test r9d, r9d
jne 0x1800168b3
cmp byte [rax], r9b
je 0x1800168b3
test r8d, r8d
je 0x1800168b3
nop word [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x18001688d
cmp cl, 9
jne 0x1800168a0
inc rax
add r8d, 0xffffffff
jne 0x180016880
mov eax, 0x4d
add rsp, 0x28
ret
test r8d, r8d
je 0x180016896
test cl, cl
je 0x180016896
mov eax, 0x4c
add rsp, 0x28
ret
mov eax, r9d
add rsp, 0x28
ret
Function at 0x180017090
Capabilities:
Print debug messages

Disassembly:
push rbp
sub rsp, 0x30
mov rax, qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea r8, [rsp + 0x40]
test rcx, rcx
mov qword [0x1800316e8], rax
mov eax, 0x6e
mov dword [rsp + 0x40], 0
mov edx, 0x1b
mov qword [rsp + 0x48], 0
mov rbp, rcx
cmovne edx, eax
lea rcx, [rsp + 0x48]
call fcn.180017570
test eax, eax
js 0x1800171ac
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x40]
mov edx, edi
mov qword [rsp + 0x20], r14
cmp edi, 2
jb 0x18001716a
mov rbx, qword [rsp + 0x48]
mov r8, rbp
mov rcx, rbx
call fcn.180017680
mov esi, eax
cmp eax, 0xfffffd9e
jne 0x18001718e
mov r14d, dword [rbx]
cmp r14d, edi
jbe 0x18001718e
test rbp, rbp
je 0x18001718e
mov rcx, rbx
mov dword [rsp + 0x40], r14d
call sym.VBoxVideo.dll_RTMemFree
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], 0
mov edx, r14d
lea rcx, [rsp + 0x48]
call fcn.180017570
mov rbx, qword [rsp + 0x48]
mov esi, eax
test eax, eax
js 0x18001718e
mov edx, dword [rsp + 0x40]
mov r8, rbp
mov rcx, rbx
call fcn.180017680
mov esi, eax
jmp 0x18001718e
lea rcx, str.rtR0DbgKrnlNtInit:_Error__Only__u_module_s__returned__n
call sym.VBoxVideo.dll_RTLogBackdoorPrintf
mov edx, edi
lea rcx, str.rtR0DbgKrnlNtInit:_Error__Only__u_module_s__returned__n
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0x48]
mov esi, 0xffffa87f
mov rcx, rbx
call sym.VBoxVideo.dll_RTMemFree
mov r14, qword [rsp + 0x20]
mov eax, esi
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
Function at 0x180017570
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
imul esi, edx, 0x128
xor ebp, ebp
mov qword [rcx], rbp
mov ebx, edx
mov r15, rcx
mov dword [r8], ebp
lea rdx, [0x180023cde]
mov r14, r8
add esi, 8
mov ecx, esi
call sym.VBoxVideo.dll_RTMemAllocZTag
mov rdi, rax
test rax, rax
jne 0x1800175f6
shr ebx, 2
lea rdx, [0x180023cde]
imul esi, ebx, 0x128
add esi, 8
mov ecx, esi
call sym.VBoxVideo.dll_RTMemAllocZTag
mov rdi, rax
test rax, rax
jne 0x1800175f6
lea rcx, str.rtR0DbgKrnlNtQueryModules:_Out_of_memory__n
call sym.VBoxVideo.dll_RTLogBackdoorPrintf
lea rcx, str.rtR0DbgKrnlNtQueryModules:_Out_of_memory__n
call sub.ntoskrnl.exe_DbgPrint
lea eax, [rbp - 8]
jmp 0x180017661
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], ebp
mov r8d, esi
mov rdx, rdi
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov ecx, 0x80000000
mov esi, eax
add eax, ecx
test ecx, eax
jne 0x180017654
cmp esi, 0xc0000004
je 0x180017654
mov rcx, rdi
call sym.VBoxVideo.dll_RTMemFree
mov edx, esi
lea rcx, str.rtR0DbgKrnlNtQueryModules:_ZwQuerySystemInformation_failed:__x_n
call sym.VBoxVideo.dll_RTLogBackdoorPrintf
mov edx, esi
lea rcx, str.rtR0DbgKrnlNtQueryModules:_ZwQuerySystemInformation_failed:__x_n
call sub.ntoskrnl.exe_DbgPrint
mov ecx, esi
call sym.VBoxVideo.dll_RTErrConvertFromNtStatus
mov ebp, eax
jmp 0x18001765f
mov qword [r15], rdi
cmp ebx, dword [rdi]
cmova ebx, dword [rdi]
mov dword [r14], ebx
mov eax, ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18001aa50
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x70
xor esi, esi
mov qword [r11 - 0x48], rcx
mov dword [rsp + 0x40], 0x30
lea rax, [0x18001aa10]
mov qword [r11 - 0x30], rsi
lea r8, [r11 - 0x38]
mov dword [rsp + 0x58], 0x200
lea rcx, [r11 + 0x18]
mov rdi, rdx
mov qword [r11 - 0x28], rsi
xorps xmm0, xmm0
mov qword [r11 - 0x50], rax
xor r9d, r9d
mov qword [r11 + 0x18], rsi
mov edx, 0x1fffff
mov qword [r11 - 0x58], rsi
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov ebx, eax
test eax, eax
js 0x18001ab03
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x1fffff
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
test eax, eax
js 0x18001ab03
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rsp + 0x98]
mov qword [rdi], rax
mov ecx, ebx
call sym.VBoxVideo.dll_RTErrConvertFromNtStatus
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18001efc0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], r9
mov r9d, edx
mov rdx, rcx
lea rcx, str._n__Assertion_Failed___nExpression:__s_nLocation__:__s__d___s_n
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x38
ret

Function at 0x18001efe0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x128
mov r9, r8
lea rcx, [rsp + 0x20]
mov r8, rdx
mov edx, 0xff
call sym.VBoxVideo.dll_RTStrPrintfV
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x11f], 0
lea rcx, [0x18002478c]
call sub.ntoskrnl.exe_DbgPrint
add rsp, 0x128
ret

Function at 0x18004f240
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x18002e1f4]
mov rbx, rcx
test eax, eax
jne 0x18004f2f2
xor r9d, r9d
lea r8, [0x18002e1f0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
mov edx, dword [rsp + 0x38]
cmp edx, 6
jbe 0x18004f281
mov eax, 8
jmp 0x18004f2ec
jne 0x18004f2ca
mov eax, dword [rsp + 0x30]
cmp eax, 4
jb 0x18004f293
mov eax, 8
jmp 0x18004f2ec
cmp eax, 3
jne 0x18004f29f
mov eax, 7
jmp 0x18004f2ec
cmp eax, 2
jne 0x18004f2ab
mov eax, 6
jmp 0x18004f2ec
cmp eax, 1
jne 0x18004f2b7
mov eax, 5
jmp 0x18004f2ec
test eax, eax
jne 0x18004f2c2
mov eax, 4
jmp 0x18004f2ec
mov eax, dword [0x18002e1f4]
jmp 0x18004f2f2
cmp edx, 5
jne 0x18004f2db
cmp dword [rsp + 0x30], 1
sbb eax, eax
add eax, 3
jmp 0x18004f2ec
mov eax, dword [0x18002e1f4]
cmp edx, 4
mov ecx, 1
cmove eax, ecx
mov dword [0x18002e1f4], eax
test rbx, rbx
je 0x18004f2ff
mov ecx, dword [0x18002e1f0]
mov dword [rbx], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
movsd xmm0, qword [0x140002260]
mov edx, 0xb
movzx edi, word [0x140002268]
mov r9d, 0x40
movzx ebx, byte [0x14000226a]
mov r8d, 0x3000
xor ecx, ecx
movsd qword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov r8, rax
mov dword [rsp + 0x20], 0
movsd qword [rax], xmm0
xor edx, edx
mov word [rax + 8], di
xor ecx, ecx
mov byte [rax + 0xa], bl
xor byte [rax], 0x35
xor byte [rax + 1], 0x35
xor byte [rax + 2], 0x35
xor byte [rax + 3], 0x35
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x35
xor byte [rax + 6], 0x35
xor byte [rax + 7], 0x35
xor byte [rax + 8], 0x35
xor byte [rax + 9], 0x35
xor byte [rax + 0xa], 0x35
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400010f0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400019b8
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d7d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000dada
mov ecx, 1
call fcn.14000d7d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
pop rdx
or eax, 0x304800fa
invalid
Function at 0x140001140
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140005650], rbx
je 0x14000118c
cmp rax, rbx
jne 0x14000117f
mov ebx, 1
mov esi, ebx
jmp 0x140001191
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001164
mov ebx, 1
mov eax, dword [0x140005658]
cmp eax, ebx
jne 0x1400011a7
mov ecx, 0x1f
call fcn.140096000
jmp 0x140001216
mov eax, dword [0x140005658]
test eax, eax
jne 0x140001210
mov dword [0x140005658], ebx
lea r15, [0x140003408]
lea rdi, [0x1400033f0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001202
test eax, eax
jne 0x140001206
cmp qword [rdi], 0
je 0x1400011f7
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [vtable.LI_IsIUIkH.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400011ce
test eax, eax
je 0x140001216
mov eax, 0xff
jmp 0x1400012fc
mov dword [0x140005064], ebx
mov eax, dword [0x140005658]
cmp eax, ebx
jne 0x14000123d
lea rdx, [0x1400033e8]
lea rcx, [0x1400033d8]
call sub.msvcrt.dll__initterm
mov dword [0x140005658], 2
test esi, esi
jne 0x14000124a
xor eax, eax
xchg qword [0x140005650], rax
cmp qword [0x140005660], 0
je 0x140001288
lea rcx, [0x140005660]
call fcn.140001510
test eax, eax
je 0x140001288
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140005660]
mov r9, qword [vtable.LI_IsIUIkH.0]
call r9
mov r8, qword [0x140005078]
mov rdx, qword [0x140005070]
mov ecx, dword [0x140005068]
call fcn.140001b00
mov dword [0x140005060], eax
cmp dword [0x140005080], 0
jne 0x1400012b8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005064], 0
jne 0x1400012cd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005060]
jmp 0x1400012fc
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400015a4
add rsp, 0x28
jmp 0x140001140

Function at 0x1400013fc
Capabilities:
Parse pe header

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

Function at 0x140001570
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001598
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140001598
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001b00
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
and qword [r11 - 0x18], 0
lea rax, str.SNMPTRAP
and qword [r11 - 0x10], 0
xor r9d, r9d
mov qword [r11 - 0x28], rax
xor r8d, r8d
lea rax, [0x140001d30]
xor ecx, ecx
mov qword [r11 - 0x20], rax
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [0x140005638], rax
test rax, rax
jne 0x140001b73
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
xorps xmm0, xmm0
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
movups xmmword [0x140005680], xmm0
movups xmmword [0x140005690], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [0x140005698], rax
test rax, rax
jne 0x140001bc8
mov rcx, qword [0x140005638]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
lea rcx, [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
nop dword [rax + rax]
mov rcx, qword [0x140005638]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x140005698]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rbx
ret