joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ef0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push r12
mov eax, 0x2110
push rbp
push rdi
push rsi
push rbx
call fcn.14000de60
sub rsp, rax
mov r8d, 0x1000
xor ebx, ebx
lea rsi, [rsp + 0x110]
add rcx, 0x10
lea r12, [rsp + 0xa0]
mov rdx, rsi
call fcn.140008490
mov edx, 1
lea rcx, [0x140007850]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rcx, r12
mov dword [rsp + 0x60], 0x18
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 1
pxor xmm0, xmm0
mov rbp, qword [fcn.140015d80]
movups xmmword [rsp + 0xa8], xmm0
xor ecx, ecx
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xdc], 0x101
mov word [rsp + 0xe0], ax
call rbp
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov rdi, qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, eax
call rdi
mov ecx, 1
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf0], rax
call rbp
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
mov ecx, 2
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0xf8], rax
call rbp
mov rcx, rax
call sub.msvcrt.dll__fileno_1
mov ecx, eax
call rdi
cmp rax, 0xffffffffffffffff
cmove rax, rbx
mov qword [rsp + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
mov qword [rsp + 0x40], r12
mov rcx, rsi
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x60]
mov rdx, rax
lea rax, [rsp + 0x80]
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140008090
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x5c]
add rsp, 0x2110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdx, str.Failed_to_create_child_process__n
lea rcx, str.CreateProcessW
call fcn.140002b70
mov eax, 0xffffffff
jmp 0x14000807b
Function at 0x1400081e0
Capabilities:
Enumerate process modules

Disassembly:
push r15
mov eax, 0x4048
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000de60
sub rsp, rax
mov dword [rsp + 0x3c], 0
lea rbx, [rsp + 0x3c]
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov r9, rbx
mov rcx, rax
mov rsi, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140008230
mov r12d, dword [rsp + 0x3c]
test r12d, r12d
jne 0x140008248
add rsp, 0x4048
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, r12d
mov edx, 1
call sub.msvcrt.dll_calloc
test rax, rax
mov rdi, rax
je 0x140008230
mov r9, rbx
mov r8d, r12d
mov rdx, rax
mov rcx, rsi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
jne 0x140008290
mov rcx, rdi
add rsp, 0x4048
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_free
lea r14, [rsp + 0x2040]
mov r8d, 0x1000
lea rcx, [rbp + 0x2022]
mov rdx, r14
call fcn.140008490
test rax, rax
je 0x140008272
mov rcx, r14
call sub.msvcrt.dll_wcslen
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x3c]
shr eax, 3
test eax, eax
je 0x140008272
lea r12d, [rax*8]
mov rbx, rdi
mov r15, rdi
lea rbp, [rsp + 0x40]
add r12, rdi
xor r13d, r13d
nop dword [rax + rax]
mov rdx, qword [r15]
mov r9d, 0x1000
mov r8, rbp
mov rcx, rsi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140008323
mov r8, qword [rsp + 0x28]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x140008323
mov rdx, qword [r15]
movsxd rax, r13d
add r13d, 1
mov qword [rdi + rax*8], rdx
add r15, 8
cmp r15, r12
jne 0x1400082e8
test r13d, r13d
jle 0x140008272
movsxd r13, r13d
lea r14, [rdi + r13*8]
mov r13, qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140008355
add rbx, 8
cmp r14, rbx
je 0x140008272
mov rdx, qword [rbx]
mov r9d, 0x1000
mov r8, rbp
mov rcx, rsi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140008348
xor r12d, r12d
jmp 0x14000837e
cmp r12d, 0x20
je 0x140008348
mov rcx, qword [rbx]
add r12d, 1
call r13
test eax, eax
jne 0x140008378
jmp 0x140008348
Function at 0x14000d0c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140015d80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140015d80
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000d130
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140026374]
test esi, esi
mov rbx, rcx
jle 0x14000d260
mov rax, qword [0x140026378]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000d17b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000d205
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000d160
mov rcx, rbx
call fcn.14000db80
test rax, rax
mov rdi, rax
je 0x14000d282
mov rax, qword [0x140026378]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000dcc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140026378]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000d267
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000d1fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000d210
add dword [0x140026374], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140026378]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000d1fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000d0c0
nop dword [rax]
xor esi, esi
jmp 0x14000d188
mov rax, qword [0x140026378]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.14000d0c0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.14000d0c0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000d7f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400263e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400263c0]
test rbx, rbx
je 0x14000d84c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000d843
test rsi, rsi
je 0x14000d843
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000d828
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000db80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14001e0f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000dba0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000dba8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000dba0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000dbfd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x14000dbf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000dba0
add rax, 0x28
cmp rax, r9
jne 0x14000dbe0
xor eax, eax
ret

Function at 0x14000dc00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001e0f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000dc1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000dc28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000dc1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000dcc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001e0f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000dcdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000dce8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1686058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.016861df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1686089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x168606f
add dl, dl
jne 0x1686096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x16860f6
xor eax, eax
add dl, dl
jne 0x16860a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x16861ad
add dl, dl
jne 0x16860b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16860c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16860d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16860dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x16860ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x168607e
mov eax, 1
add dl, dl
jne 0x1686106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1686113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x16860fb
sub eax, ebx
mov ebx, 1
jne 0x168614c
mov ecx, 1
add dl, dl
jne 0x168612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x168613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1686123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x168607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1686168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1686175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x168615d
cmp eax, 0x7d00
jae 0x168619b
cmp eax, 0x500
jb 0x1686196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x168607e
cmp eax, 0x7f
ja 0x168619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x168607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x16861d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x168607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400018e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 7], rdx
xor esi, esi
mov dword [rbp - 0x29], esi
mov dword [rbp + 0x17], 0x6f0049
mov dword [rbp + 0x1b], 0x6f0043
mov dword [rbp + 0x1f], 0x70006d
mov dword [rbp + 0x23], 0x65006c
mov dword [rbp + 0x27], 0x690074
mov dword [rbp + 0x2b], 0x6e006f
mov word [rbp + 0x2f], si
lea rax, [rbp - 0x39]
mov qword [rbp + 0xf], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
test r8, r8
je 0x14000196d
lock inc dword [r8 + 8]
lea rcx, [rbp - 0x39]
call fcn.14000215c
nop
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rsi
mov word [rbp - 0x21], si
cmp word [rbp + 0x17], si
jne 0x140001992
mov rax, rsi
jmp 0x14000199b
lea rcx, [rbp + 0x17]
call fcn.140037fac
mov r8, rax
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x21]
call fcn.1400025e8
nop
mov r9d, 0x1f0003
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.140001a18
nop
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1400019f6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1400019f6
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
mov edx, esi
lock xadd dword [rbx + 0xc], edx
add edx, esi
jne 0x1400019f6
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400336e0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140003af4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140003b47
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140003b0c
jmp 0x140003b54
cmp dword [rcx], 0x4e0
jb 0x140003b54
call fcn.140005dec
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
Function at 0x140003c9c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x1400572a0]
mov ebx, ecx
lea rcx, [rbp - 0x38]
mov dword [rbp - 0x38], 0x6c64746e
movdqu xmmword [rbp - 0x28], xmm0
mov esi, r8d
mov dword [rbp - 0x34], 0x6c642e6c
mov edi, edx
mov word [rbp - 0x30], 0x6c
mov word [rbp - 0x18], 0x6567
mov byte [rbp - 0x16], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.140004c54
lea r9, [rbp - 0x40]
mov r8b, sil
mov dl, dil
mov ecx, ebx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400336e0
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140003f5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov dword [rbp - 0x20], 0x730075
xor r12d, r12d
mov dword [rbp - 0x1c], 0x720065
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], r12w
mov r15d, r9d
mov dword [rbp - 0x18], 0x320033
mov r14, r8
mov dword [rbp - 0x14], 0x64002e
mov rsi, rdx
mov dword [rbp - 0x10], 0x6c006c
mov dword [rbp - 0x30], 0x7373654d
mov dword [rbp - 0x2c], 0x42656761
mov dword [rbp - 0x28], 0x57786f
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140004005
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003ffc
mov r9d, r15d
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call rax
jmp 0x140004007
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400336e0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140004024
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp + 0x4f], rax
movdqa xmm0, xmmword [0x140057020]
movdqu xmmword [rbp - 1], xmm0
mov eax, 0x40000000
xor ecx, ecx
cpuid
mov dword [rbp - 1], eax
mov dword [rbp + 3], ebx
mov dword [rbp + 7], ecx
mov dword [rbp + 0xb], edx
xor edx, edx
lea r8d, [rdx + 0xd]
lea rcx, [rbp + 0x3f]
call fcn.1400363a0
mov ebx, 4
mov r8d, ebx
lea rdx, [rbp + 3]
lea rcx, [rbp + 0x3f]
call fcn.140035f50
mov r8d, ebx
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x43]
call fcn.140035f50
mov r8d, ebx
lea rdx, [rbp + 0xb]
lea rcx, [rbp + 0x47]
call fcn.140035f50
xor ebx, ebx
mov byte [rbp + 0x4b], bl
mov qword [rbp - 9], 0xf
mov qword [rbp - 0x11], rbx
mov byte [rbp - 0x21], bl
cmp byte [rbp + 0x3f], bl
jne 0x1400040d0
mov eax, ebx
jmp 0x1400040d9
lea rcx, [rbp + 0x3f]
call fcn.140037fe0
mov r8, rax
lea rdx, [rbp + 0x3f]
lea rcx, [rbp - 0x21]
call fcn.1400023a8
nop
mov dword [rbp + 0x2f], 0x61774d56
mov dword [rbp + 0x33], 0x4d566572
mov dword [rbp + 0x37], 0x65726177
mov byte [rbp + 0x3b], bl
mov dword [rbp + 0x1f], 0x7263694d
mov dword [rbp + 0x23], 0x666f736f
mov dword [rbp + 0x27], 0x76482074
mov byte [rbp + 0x2b], bl
mov dword [rbp + 0xf], 0x4b4d564b
mov dword [rbp + 0x13], 0x564b4d56
mov word [rbp + 0x17], 0x4d
lea rcx, [rbp + 0x2f]
call fcn.140037fe0
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2f]
mov r8, qword [rbp - 0x11]
xor edx, edx
lea rcx, [rbp - 0x21]
call fcn.1400063f4
test eax, eax
je 0x1400041c3
cmp byte [rbp + 0x1f], bl
jne 0x14000415d
mov rax, rbx
jmp 0x140004166
lea rcx, [rbp + 0x1f]
call fcn.140037fe0
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f]
mov r8, qword [rbp - 0x11]
xor edx, edx
lea rcx, [rbp - 0x21]
call fcn.1400063f4
test eax, eax
je 0x1400041c3
cmp byte [rbp + 0xf], bl
jne 0x14000418c
mov rax, rbx
jmp 0x140004195
lea rcx, [rbp + 0xf]
call fcn.140037fe0
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf]
mov r8, qword [rbp - 0x11]
xor edx, edx
lea rcx, [rbp - 0x21]
call fcn.1400063f4
test eax, eax
je 0x1400041c3
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x21]
call fcn.1400021cc
xor al, al
jmp 0x1400041d3
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x21]
call fcn.1400021cc
mov al, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400336e0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
Function at 0x1400041f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x1400572d0]
lea rcx, [rbp - 0x50]
xor ebx, ebx
mov dword [rbp - 0x50], 0x65006b
mov word [rbp - 0x38], bx
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x16], bl
mov dword [rbp - 0x4c], 0x6e0072
mov dword [rbp - 0x48], 0x6c0065
mov dword [rbp - 0x44], 0x320033
mov dword [rbp - 0x40], 0x64002e
mov dword [rbp - 0x3c], 0x6c006c
mov dword [rbp - 0x20], 0x50726567
mov dword [rbp - 0x1c], 0x65736572
mov word [rbp - 0x18], 0x746e
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
jne 0x140004288
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne al
jmp 0x1400042c5
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400042b8
test rdi, rdi
je 0x1400042ba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call rdi
test eax, eax
je 0x1400042ba
mov bl, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400336e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400042e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov dword [rbp + 0x27], 0x6e72656b
lea rcx, [rbp + 0x27]
mov byte [rbp + 0x33], bl
mov dword [rbp + 0x2b], 0x32336c65
mov dword [rbp + 0x2f], 0x6c6c642e
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140004394
movdqa xmm0, xmmword [0x140057300]
lea rdx, [rbp + 0x37]
mov rcx, rax
mov dword [rbp + 0x47], 0x78457375
movdqu xmmword [rbp + 0x37], xmm0
mov byte [rbp + 0x4b], bl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004389
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x40
call rax
test eax, eax
je 0x140004389
movzx eax, bl
mov ecx, 0x80000000
cmp qword [rbp - 0x11], rcx
mov edx, 1
cmovb eax, edx
mov bl, al
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400336e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140004b9c
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor ebx, ebx
mov dword [rbp + 0x50], 0x7361736c
xor edx, edx
mov dword [rbp + 0x54], 0x78652e73
mov word [rbp + 0x58], 0x65
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140004c31
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140004c28
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x4c]
call fcn.1400384f4
test eax, eax
je 0x140004c24
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
jmp 0x140004bff
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400336e0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000528c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140075280]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x1400572e0]
lea rcx, [rbp - 0x60]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x60], 0x6e72656b
mov dword [rbp - 0x5c], 0x32336c65
mov dword [rbp - 0x58], 0x6c6c642e
mov byte [rbp - 0x54], 0
mov dword [rbp - 0x40], 0x64616f4c
mov dword [rbp - 0x3c], 0x7262694c
mov dword [rbp - 0x38], 0x41797261
mov byte [rbp - 0x34], 0
mov dword [rbp - 0x30], 0x50746547
mov dword [rbp - 0x2c], 0x41636f72
mov dword [rbp - 0x28], 0x65726464
mov word [rbp - 0x24], 0x7373
mov byte [rbp - 0x22], 0
mov word [rbp - 0x10], 0x4165
mov byte [rbp - 0xe], 0
mov dword [rbp - 0x50], 0x65766f4d
mov dword [rbp - 0x4c], 0x656c6946
mov word [rbp - 0x48], 0x41
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1400053df
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x30]
mov rcx, rbx
mov qword [0x140077480], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x140077480]
mov qword [0x140077488], rax
test rdx, rdx
je 0x140005400
test rax, rax
je 0x140005400
lea rcx, [rbp - 0x60]
call rdx
mov rbx, rax
test rax, rax
je 0x1400053ea
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [0x140077488]
lea rdx, [rbp - 0x50]
mov rcx, rbx
mov qword [0x140077490], rax
call qword [0x140077488]
cmp qword [0x140077490], 0
mov qword [0x140077498], rax
je 0x1400053f5
test rax, rax
je 0x1400053f5
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400336e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
mov ecx, 1
call fcn.1400388a0
int3
mov ecx, 1
call fcn.1400388a0
int3
mov ecx, 1
call fcn.1400388a0
int3
mov ecx, 1
call fcn.1400388a0
int3

Function at 0x14000540c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
and dword [rsp + 0x24], 0
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x65
mov rcx, rax
mov rsi, rax
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
and qword [r14], 0
mov rcx, r14
and qword [r14 + 8], 0
mov rdx, rax
and qword [r14 + 0x10], 0
mov r9b, byte [rsp + 0x20]
lea r8, [rax + rbx]
call fcn.140002f0c
mov rbx, qword [rsp + 0x48]
mov rax, r14
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret