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

Disassembly:
cld
pop r11
jmp 0x1400744dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400744ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400744d5
lea eax, [rcx + 1]
jmp 0x1400744fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007450e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400744f4
sub eax, 3
jb 0x14007452e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007457d
sar eax, 1
movsxd rbp, eax
jb 0x140074564
jmp 0x14007453c
add ebx, ebx
jne 0x14007453a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140074564
inc ecx
add ebx, ebx
jne 0x14007454a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140074564
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14007455d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14007454c
add ecx, 2
jmp 0x140074569
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140074492
jmp 0x1400744dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29c00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400745c9
cmp rsi, rcx
jae 0x1400745d1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400745b0
cmp al, 0x8f
ja 0x1400745b0
cmp byte [rsi - 2], 0xf
je 0x1400745b6
sub al, 0xe8
cmp al, 1
ja 0x14007459a
cmp rsi, rcx
jae 0x1400745d1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400745a0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400745d1
lodsb al, byte [rsi]
jmp 0x1400745b0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x72000]
mov eax, dword [rdi]
or eax, eax
je 0x14007463a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9f974]
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 0x1400745de
jns 0x140074613
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14007461d
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 0x140074634
mov qword [rbx], rax
add rbx, 8
jmp 0x1400745fe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140074674
cmp al, 0xef
ja 0x140074666
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140074646
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140074655
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 0x1400746c8
sub rsp, 0xffffffffffffff80
jmp 0x14000c260
Function at 0x140001070
Capabilities:
Execute command

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov eax, dword [0x140003280]
lea rcx, str.Welcome_to_the_CyberSecurity_Password_Manager__n
movups xmm0, xmmword [str.Password_Ot60Z4UaLH7]
mov dword [rbp - 9], eax
movzx eax, byte [0x140003284]
movups xmmword [rbp - 0x19], xmm0
mov byte [rbp - 5], al
mov dword [rbp + 0xb], 0x59353433
mov byte [rbp + 0xf], 0
mov dword [rbp + 3], 0x31723735
mov byte [rbp + 7], 0
mov dword [rbp - 1], 0x35364e
call fcn.140001010
lea rcx, str.Enter_the_admin_password:
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, 0x32
lea rcx, [rbp + 0x17]
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
lea rdx, [0x1400032d4]
lea rcx, [rbp + 0x17]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcspn]
cmp rax, 0x32
jae 0x14000118b
mov byte [rbp + rax + 0x17], 0
lea r8, [rbp + 0x17]
lea rax, [rbp - 0x19]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001133
inc rax
test ecx, ecx
jne 0x140001120
test edx, edx
jne 0x140001167
lea rcx, str.Welcome_Admin__n
call fcn.140001010
lea rcx, str.Heres_The_Acess_Code__n
call fcn.140001010
lea r9, [rbp - 1]
lea r8, [rbp + 3]
lea rdx, [rbp + 0xb]
lea rcx, str.flag_s__s_s_n
call fcn.140001010
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400011b0
add rsp, 0x90
pop rbp
ret
call fcn.1400012d8
int3

Function at 0x140001ba4
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.1400048e0
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.1400048e0
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 0x140002d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140002e40
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002d5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002de5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002d40
mov rcx, rbx
call fcn.140003760
mov rdi, rax
test rax, rax
je 0x140002e62
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400038a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002e47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002dde
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002df0
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002dde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002ca0
nop dword [rax]
xor esi, esi
jmp 0x140002d68
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002ca0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002ca0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400033d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x14000342c
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 0x140003423
test rsi, rsi
je 0x140003423
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003408
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 0x140003760
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006ac0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003780
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003788
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003780
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400037dd
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]
mov rdx, r8
cmp rcx, r8
jb 0x1400037d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003780
add rax, 0x28
cmp rax, r9
jne 0x1400037c0
xor eax, eax
ret

Function at 0x1400037e0
Capabilities:
Parse pe header

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

Function at 0x1400038a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ac0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400038bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400038c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140005c70
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1040
call fcn.140019a90
sub rsp, rax
mov rax, qword [0x140060060]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov qword [rsp + 0x20], r9
mov r13, r8
mov r12, rcx
test r8, r8
je 0x140005e88
mov r9d, 0x1000
lea rdx, [rsp + 0x30]
call fcn.140003f30
test al, al
jne 0x140005cd3
lea rdx, str.____Cant_read_module_headers
jmp 0x140005e74
mov rsi, 0xffffffffffffffff
lea rdx, str.PAGE
mov rdi, rsi
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140005ce4
movsxd rax, dword [rsp + 0x6c]
lea rcx, [rsp + 0x30]
add rcx, rax
xor ebp, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x140005e6d
nop word [rax + rax]
lea rcx, [rbp*4]
mov r8, rdi
add rcx, rbp
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call fcn.14001b9b0
test eax, eax
jne 0x140005d4f
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x140005d41
cmp rdi, rax
je 0x140005d63
inc ebp
cmp ebp, r14d
jae 0x140005e6d
lea rdx, str.PAGE
jmp 0x140005d20
mov eax, dword [rbx + 0xc]
lea rdx, [rsp + 0x30]
mov ecx, dword [rbx + 8]
add rdx, rax
je 0x140005e6d
test ecx, ecx
je 0x140005e6d
lea rax, [rsp + 0x30]
mov edi, ecx
sub r13, rax
add r13, rdx
je 0x140005e88
cmp rcx, 0x40000000
jbe 0x140005da7
lea rdx, str.____Cant_find_pattern__Too_big_section
jmp 0x140005e8f
call fcn.1400196d0
mov r9, rdi
mov r8, r13
mov rdx, rax
mov rcx, r12
mov rbp, rax
call fcn.140003f30
mov r9, qword [rsp + 0x10a0]
nop dword [rax + rax]
inc rsi
cmp byte [r9 + rsi], 0
jne 0x140005dd0
mov ebx, 0
sub rdi, rsi
je 0x140005e31
mov rax, qword [rsp + 0x20]
mov r11, rbp
movzx r10d, byte [r9]
sub r11, rax
mov rdx, r9
test r10b, r10b
je 0x140005e1f
movzx ecx, r10b
lea r8, [r11 + rbx]
cmp cl, 0x78
jne 0x140005e11
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
jne 0x140005e24
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x140005e03
cmp byte [rdx], 0
je 0x140005e56
mov rax, qword [rsp + 0x20]
inc rbx
cmp rbx, rdi
jb 0x140005df3
lea rdx, str.____Cant_find_pattern
lea rcx, [0x1403b5b20]
call fcn.14000a920
mov rcx, rax
call fcn.14000ab90
mov rcx, rbp
call fcn.140018f00
jmp 0x140005ea3
lea rax, [rbx + rbp]
test rax, rax
je 0x140005e31
mov rcx, rbp
call fcn.140018f00
lea rax, [rbx + r13]
jmp 0x140005ea5
lea rdx, str.____Cant_find_section
lea rcx, [0x1403b5b20]
call fcn.14000a920
mov rcx, rax
call fcn.14000ab90
lea rdx, str.____No_module_address_to_find_pattern
lea rcx, [0x1403b5b20]
call fcn.14000a920
mov rcx, rax
call fcn.14000ab90
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140018ee0
mov rbx, qword [rsp + 0x1088]
add rsp, 0x1040
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400069a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400069c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140006a3c
mov rdi, r14
mov rcx, rbx
call fcn.140008ff0
test rax, rax
jle 0x140006a14
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14001b0c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140006a2c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140006a34
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400069d6
sub r14, rdi
jmp 0x140006b29
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140006a53
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006a55
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006a8a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14001b0c0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140006b26
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140006ac5
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140006b01
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14002451c
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140006b3f
cmp rbp, rax
ja 0x140006ad1
mov r8, rdi
test rdi, rdi
je 0x140006b26
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14002451c
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140006b29
Function at 0x140013b10
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140060060]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140013c2c
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140013c2c
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edx, edx
mov qword [rsp + 0x50], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x140013b88
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
jmp 0x140013c39
lea rbx, [rsi + rcx]
mov ebp, dword [rax + rsi + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x140013c1a
mov r8d, eax
cmp r8, rbp
jae 0x140013c1a
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x140013c1a
lea rax, [r8 + rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r9 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, rdx
je 0x140013bf2
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x48], rcx
jmp 0x140013c0e
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140014250
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x140013ba1
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x140013c39
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140018ee0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140015d20
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x140060060]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140015da9
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140015d60
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
test eax, eax
js 0x140015e83
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140015e83
nop word [rax + rax]
mov ebp, edi
lea rdx, [rbx + 0x30]
imul rax, rbp, 0x128
mov qword [rsp + 0x28], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], r14b
jne 0x140015e02
lea rcx, [rsp + 0x28]
call fcn.140009390
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x140015e22
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call fcn.140023f30
test eax, eax
je 0x140015eb9
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140015e79
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015e74
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015f14
call fcn.140018f00
inc edi
cmp edi, dword [rbx]
jb 0x140015dd0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140018ee0
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
imul rax, rbp, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rdi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140015f0f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015f0a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015f14
call fcn.140018f00
mov rax, rdi
jmp 0x140015e96
call fcn.1400226a0
int3

Function at 0x140029558
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140029354
Function at 0x14002f42c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002f442
mov al, 1
jmp 0x14002f4a2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002f453
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002f4a0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140036d00
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002f4a0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002f4a0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002f4a0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002f4a2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400308bc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400308dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140024dd4
or eax, 0xffffffff
jmp 0x1400308de
xor eax, eax
add rsp, 0x28
ret

Function at 0x140030f10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140019a90
sub rsp, rax
mov rax, qword [0x140060060]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002e9cc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140030f5f
mov rax, rbp
jmp 0x140031067
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3b6df0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140032974
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3b6df0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140031063
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140031063
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140032974
test rax, rax
js 0x140031063
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140031063
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140031055
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140031055
cmp byte [rcx], 0xd
jne 0x14003103b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14003104a
cmp byte [rcx + 1], 0xa
jne 0x14003104a
inc rcx
jmp 0x14003104a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x60450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14003101d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140031067
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140018ee0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret