joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f760
Capabilities:
Hash data with md5

Disassembly:
jmp 0x14004f760
mov r11, rsp
push rbx
sub rsp, 0xc0
mov rax, qword [0x1400913a8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor eax, eax
mov qword [rsp + 0x40], rdx
xorps xmm0, xmm0
mov qword [rsp + 0x38], rcx
movups xmmword [rsp + 0x60], xmm0
mov rbx, r8
mov r9d, 0x40
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x28], rax
lea r8, [r11 - 0x60]
mov dword [r11 - 0x20], eax
lea rdx, [r11 - 0x78]
movups xmmword [r11 - 0x48], xmm0
lea rax, [r11 - 0x68]
mov qword [rsp + 0x30], rax
lea rcx, [fcn.14000e340]
movups xmmword [r11 - 0x38], xmm0
lea rax, [r11 - 0x64]
mov dword [rsp + 0x50], 0x67452301
mov qword [rsp + 0x28], rax
lea rax, [r11 - 0x20]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x54], 0xefcdab89
mov dword [rsp + 0x58], 0x98badcfe
mov dword [rsp + 0x5c], 0x10325476
call fcn.14004fb00
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004f830
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140077590
add rsp, 0xc0
pop rbx
ret

Function at 0x14004f920
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.140062070
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14004f920
mov r11, rsp
push rbx
sub rsp, 0xc0
mov rax, qword [0x1400913a8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor eax, eax
mov qword [rsp + 0x40], rdx
xorps xmm0, xmm0
mov qword [rsp + 0x38], rcx
movups xmmword [rsp + 0x64], xmm0
mov rbx, r8
mov r9d, 0x40
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x24], rax
lea r8, [r11 - 0x5c]
mov dword [r11 - 0x1c], eax
lea rdx, [r11 - 0x78]
movups xmmword [r11 - 0x44], xmm0
lea rax, [r11 - 0x64]
movups xmmword [r11 - 0x34], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [fcn.14000ed80]
lea rax, [r11 - 0x60]
mov dword [rsp + 0x50], 0x67452301
mov qword [rsp + 0x28], rax
lea rax, [r11 - 0x1c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x54], 0xefcdab89
mov dword [rsp + 0x58], 0x98badcfe
mov dword [rsp + 0x5c], 0x10325476
mov dword [rsp + 0x60], 0xc3d2e1f0
call fcn.14004fb00
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004fa00
mov edx, 0x60
lea rcx, [rsp + 0x50]
call fcn.1400620a0
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140077590
add rsp, 0xc0
pop rbx
ret
Function at 0x140051d40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.14002d6b0
test al, al
je 0x140051d72
mov rcx, qword [rbx]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rbx + 0x38]
and qword [rbx + 0x38], 0
test rdi, rdi
je 0x140051d90
mov rcx, rdi
call fcn.140063150
mov rcx, rdi
call fcn.140077870
lea rcx, [rbx + 0x58]
call fcn.1400515e0
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140051da8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x140051dc1
mov rcx, rdi
call fcn.140063150
mov rcx, rdi
call fcn.140077870
mov rax, qword [rbx + 0x28]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140051de1
call fcn.14002c9a0
mov rcx, qword [rbx + 0x28]
call fcn.14002d160
and qword [rbx + 0x28], 0
mov rax, qword [rbx + 0x20]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140051e01
call fcn.14002c9a0
mov rcx, qword [rbx + 0x20]
call fcn.14002d160
and qword [rbx + 0x20], 0
mov rax, qword [rbx + 0x18]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140051e21
call fcn.14002c9a0
mov rcx, qword [rbx + 0x18]
call fcn.14002d160
and qword [rbx + 0x18], 0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14002d050
Function at 0x1400525d0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14002d6b0
test al, al
je 0x1400525ed
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x20
pop rbx
ret

Function at 0x14005df70
Capabilities:
Parse pe header

Disassembly:
mov rdx, qword [rcx + 8]
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14005dfa6
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14005dfa6
mov ecx, 0xf0
cmp word [rax + rdx + 0x14], cx
jne 0x14005dfa6
mov ecx, 0x20b
cmp word [rax + rdx + 0x18], cx
jne 0x14005dfa6
mov al, 1
ret
xor al, al
ret

Function at 0x14005e300
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14005e320
mov rcx, rax
add rsp, 0x28
jmp fcn.1400417a0
Function at 0x1400619a0
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140061aa0
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov rax, qword [r14 + 8]
mov qword [rsp + 0x60], rbx
mov rbx, r14
mov qword [rsp + 0x70], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x68], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.14001d8c0
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x140061aac
cmp rbx, rbp
jne 0x140061a50
cmp qword [rsp + 0x68], r14
jne 0x140061a7b
mov qword [r15], rbx
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x140061abb
mov qword [r15], r12
mov rax, r12
jmp 0x140061ac0
mov rax, qword [rsp + 0x70]
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140061a7b
mov r13, qword [rsp + 0x78]
nop
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, r13
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.14001d8c0
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140061b48
cmp rbx, rbp
jne 0x140061b22
jmp 0x140061a78
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140061ad0
jmp 0x140061a7b
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140061e1c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140061daa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x1400619a0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x140061dea
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.14001d8c0
mov rcx, rbx
test rbx, rbx
jne 0x140061dd0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.1400276a0
add rsp, 0x20
pop rdi
ret
Function at 0x140061d70
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140061aa0
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov rax, qword [r14 + 8]
mov qword [rsp + 0x60], rbx
mov rbx, r14
mov qword [rsp + 0x70], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x68], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.14001d8c0
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x140061aac
cmp rbx, rbp
jne 0x140061a50
cmp qword [rsp + 0x68], r14
jne 0x140061a7b
mov qword [r15], rbx
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x140061abb
mov qword [r15], r12
mov rax, r12
jmp 0x140061ac0
mov rax, qword [rsp + 0x70]
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140061a7b
mov r13, qword [rsp + 0x78]
nop
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, r13
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.14001d8c0
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140061b48
cmp rbx, rbp
jne 0x140061b22
jmp 0x140061a78
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140061ad0
jmp 0x140061a7b
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140061e1c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140061daa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x1400619a0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x140061dea
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.14001d8c0
mov rcx, rbx
test rbx, rbx
jne 0x140061dd0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.1400276a0
add rsp, 0x20
pop rdi
ret
Function at 0x140066690
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
lea rax, [r11 - 0x18]
mov rbx, r8
mov qword [r11 - 0x28], rax
mov r8, rdi
mov r9d, 8
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14006671e
lea rax, [rsp + 0x38]
mov r9, rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400666f6
cmp rdi, qword [rsp + 0x38]
jne 0x1400666f6
mov bl, 1
jmp 0x1400666f8
xor bl, bl
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14006671e
mov al, bl
jmp 0x140066720
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140068210
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1400913a8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov ebx, 1
test dl, dl
jne 0x140068251
cmp qword [rcx + 0x10], 0
jne 0x1400682a1
xor eax, eax
jmp 0x1400683c6
and dword [rsp + 0x28], 0
lea rax, str.TargetNtMapViewOfSection64
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtMapViewOfSection
lea rdx, [0x140083630]
call fcn.140067900
lea rax, str.TargetNtUnmapViewOfSection64
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtUnmapViewOfSection
mov rcx, rdi
lea rdx, [0x140083630]
call fcn.140067900
mov rax, qword [rdi]
xor edx, edx
mov r9d, 0x2000
mov dword [rsp + 0x20], ebx
mov r8d, 0x10000
mov rbp, qword [rax]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, qword [rdi + 0x10]
mov rbx, rax
shl rsi, 6
add rsi, 0x60
mov rcx, rsi
call fcn.140067cb0
mov r14, rax
mov dword [rsp + 0x20], 0x40
mov rdx, rax
lea r8, [rsi + 0xfff]
mov rax, 0xfffffffffffff000
mov r9d, 0x1000
and rdx, rax
and r8, rax
add rdx, rbx
mov rcx, rbp
and r14d, 0xfff
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x14006831a
int3
and dword [rsp + 0x58], 0
lea rbx, [r14 + rax]
mov r14d, 0x20
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x48], r14
mov r8d, 0xd8
lea rcx, [sym.QtWebEngineProcess.exe_g_originals]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140067f00
test eax, eax
jne 0x1400683c6
lea rax, [rsp + 0x38]
mov r9d, r14d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400683c1
cmp qword [rsp + 0x38], r14
jne 0x1400683c1
lea rax, [rsp + 0x30]
mov r9d, r14d
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi]
lea r8, [sym.QtWebEngineProcess.exe_g_originals]
mov r9d, 0xd8
lea rdx, str.g_originals
call fcn.140052600
jmp 0x1400683c6
mov eax, 0x2a
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140077590
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14006b2e0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x98]
mov r11d, r9d
mov r10, r8
or qword [rbx], 0xffffffffffffffff
cmp ecx, 3
jne 0x14006b3a9
cmp qword [r8 + 0x18], 8
jb 0x14006b314
mov r10, qword [r8]
and qword [rsp + 0x38], 0
mov rcx, r10
mov eax, dword [rsp + 0x90]
mov rsi, qword [rdx]
mov edx, r11d
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14006b3a5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
lea r9, [rsp + 0x98]
and dword [rsp + 0x28], 0
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14006b3a5
mov rax, qword [rsp + 0x98]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14006b3a9
xor eax, eax
jmp 0x14006b3ae
or qword [rbx], 0xffffffffffffffff
mov eax, 5
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140070c40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret

Function at 0x140077140
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x78]
mov rbx, rcx
mov rdi, qword [rsp + 0x80]
mov qword [r11 - 0x18], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], eax
and qword [rdi], 0
mov rcx, qword [rcx]
mov qword [r11 - 0x28], r9
mov r9, r8
mov r8, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x140077195
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400771cb
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
mov r9, rdi
and dword [rsp + 0x28], 0
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
sbb eax, eax
not eax
and eax, 5
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140078a40
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x140078a7d
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.1400774f0
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140078b7c
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.1400774f0
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x140078af0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140019ec0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x140078bbb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x140078bbb
call fcn.14001d8c0
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x140078ba2
mov rcx, r14
call fcn.14001d8c0
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x1400026b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1400e9d64], 0
lea rdi, [0x1400e9d60]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002788
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400026e0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400027be
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400027a0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400027ff
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400027e3
cmp byte [r8], r9b
jne 0x1400027e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400027d0
not eax
pop rdi
ret
Function at 0x1400029e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x1400029f9
mov qword [r8], 0
lea rdx, [0x140043938]
call fcn.140002810
mov rbx, rax
test rax, rax
jne 0x140002a18
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002ad8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002ad8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002ad8
mov rax, qword [0x1400e9a90]
mov rbp, rsi
test rax, rax
je 0x140002a75
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002ad8
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140002ac5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400e9a90]
test rax, rax
je 0x140002aba
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002ae1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002ad3
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002ae3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400123d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400e9a90]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x1400124ea
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001242a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140013400
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001243e
mov edx, 8
mov rcx, rbx
call fcn.140013400
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x14001248a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140012460
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140012499
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14004393c]
test rax, rax
movsxd rsi, esi
lea rdi, [0x1400e9a88]
mov rcx, r15
cmovne rdi, rax
call fcn.140002810
mov rbx, rax
test rax, rax
je 0x1400124e5
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret