joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033f50
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [rcx]
lea rax, [rcx + 0x18]
cmp rdi, rax
je 0x140033fb5
mov rax, qword [rsi + 8]
test rax, rax
je 0x140033ff5
mov rcx, rax
shr rcx, 0x3b
jne 0x140033fb1
mov rdx, rax
shl rdx, 4
lea rcx, [rdx - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
sub rbx, rdx
xor ecx, ecx
cmp rbx, 8
setae cl
lea rbx, [rcx + rax*2]
mov rax, rbx
shr rax, 0x3d
je 0x140033ffa
xor eax, eax
jmp 0x140034019
mov ecx, 0x20
call qword [sym.imp.mozglue.dll_malloc]
test rax, rax
je 0x140033fb1
mov rcx, qword [rsi + 8]
test rcx, rcx
jle 0x140033fe8
lea rcx, [rdi + rcx*8]
mov rdx, rax
mov rbx, qword [rdi]
mov qword [rdx], rbx
add rdi, 8
add rdx, 8
cmp rdi, rcx
jb 0x140033fd5
mov qword [rsi], rax
mov qword [rsi + 0x10], 4
jmp 0x140034017
mov ebx, 1
lea rdx, [rbx*8]
mov rcx, rdi
call qword [sym.imp.mozglue.dll_realloc]
test rax, rax
je 0x140033fb1
mov qword [rsi], rax
mov qword [rsi + 0x10], rbx
mov al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400358b0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r15, r9
mov r14, rdx
movzx eax, byte [r8]
movabs rdx, 0xcbf29ce484222325
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
movzx ebx, byte [r8 + 1]
xor rbx, rdx
imul rbx, rax
movzx edx, byte [r8 + 2]
xor rdx, rbx
imul rdx, rax
movzx ebx, byte [r8 + 3]
xor rbx, rdx
imul rbx, rax
and rbx, qword [rcx + 0x30]
lea r9, [rbx + rbx]
mov rax, qword [rcx + 8]
mov rsi, qword [rcx + 0x18]
shl rbx, 4
mov rdx, qword [rsi + rbx]
mov rbx, rax
cmp rdx, rax
je 0x140035937
lea rbx, [r9*8]
or rbx, 8
mov rbx, qword [rsi + rbx]
mov rbx, qword [rbx]
mov edi, dword [r8]
cmp rbx, rdx
je 0x140035970
mov rbx, qword [rbx + 8]
cmp edi, dword [rbx + 0x10]
jne 0x14003593a
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
mov qword [rdx], rax
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
mov qword [rax + 8], rdx
dec qword [rcx + 0x10]
mov rcx, r15
call fcn.140035640
mov qword [r14], rbx
xor eax, eax
jmp 0x1400359d4
mov rbx, qword [r15]
cmp rdx, rbx
je 0x1400359ad
mov rax, qword [r15 + 8]
mov qword [rax], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], r15
mov rax, qword [rdx + 8]
mov rdi, qword [rbx + 8]
mov qword [rdx + 8], rdi
mov rdi, qword [r15 + 8]
mov qword [rbx + 8], rdi
mov qword [r15 + 8], rax
mov rax, qword [rcx + 8]
mov rsi, qword [rcx + 0x18]
mov rbx, qword [rsi + r9*8]
cmp rbx, rax
jne 0x1400359e7
mov qword [rsi + r9*8], r15
shl r9, 3
mov rax, qword [rcx + 0x18]
or r9, 8
mov qword [rax + r9], r15
call fcn.140035e60
mov qword [r14], r15
mov al, 1
mov byte [r14 + 8], al
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp rbx, rdx
jne 0x1400359f2
mov qword [rsi + r9*8], r15
jmp 0x1400359ca
or r9, 1
mov rax, qword [rsi + r9*8]
mov rax, qword [rax]
mov qword [rsi + r9*8], rax
cmp rax, r15
je 0x1400359ca
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + r9*8]
mov rdx, qword [rdx + 8]
mov qword [rax + r9*8], rdx
jmp 0x1400359ca
Function at 0x140036010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, r9
mov r14, rdx
mov rdx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140036030
mov r8, qword [r8]
movabs rdi, 0xcbf29ce484222325
mov rax, rdx
add rax, rdx
je 0x140036067
xor esi, esi
movabs r9, 0x100000001b3
movzx ebx, byte [r8 + rsi]
xor rbx, rdi
imul rbx, r9
inc rsi
mov rdi, rbx
cmp rax, rsi
jne 0x14003604e
jmp 0x14003606a
mov rbx, rdi
and rbx, qword [rcx + 0x30]
lea r9, [rbx + rbx]
mov r11, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
shl rbx, 4
mov rax, qword [r10 + rbx]
mov rbx, r11
cmp rax, r11
je 0x14003609d
lea rsi, [r9*8]
or rsi, 8
mov rsi, qword [r10 + rsi]
mov rbx, qword [rsi]
cmp rbx, rax
je 0x14003611f
mov rbx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x20]
jne 0x14003609d
test rdx, rdx
je 0x1400360d7
cmp qword [rbx + 0x28], 8
jb 0x1400360be
mov rsi, qword [rbx + 0x10]
jmp 0x1400360c2
lea rsi, [rbx + 0x10]
xor edi, edi
movzx ebp, word [r8 + rdi*2]
cmp bp, word [rsi + rdi*2]
jne 0x14003609d
inc rdi
cmp rdx, rdi
jne 0x1400360c4
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
mov qword [rdx], rax
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
mov qword [rax + 8], rdx
dec qword [rcx + 0x10]
lea rcx, [r15 + 0x10]
call fcn.140006560
mov edx, 0x38
mov rcx, r15
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
mov qword [r14], rbx
xor eax, eax
mov byte [r14 + 8], al
mov rax, r14
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, qword [r15]
cmp rax, rdx
je 0x14003615f
mov rbp, qword [r15 + 8]
mov qword [rbp], rdx
mov rbp, qword [rdx + 8]
mov qword [rbp], rax
mov rbp, qword [rax + 8]
mov qword [rbp], r15
mov rbp, qword [rax + 8]
mov rbx, qword [rdx + 8]
mov qword [rax + 8], rbx
mov rbx, qword [r15 + 8]
mov qword [rdx + 8], rbx
mov qword [r15 + 8], rbp
mov r11, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov rdx, qword [r10 + r9*8]
cmp rdx, r11
jne 0x140036188
mov qword [r10 + r9*8], r15
shl r9, 3
mov rax, qword [rcx + 0x18]
or r9, 8
mov qword [rax + r9], r15
call fcn.140036250
mov qword [r14], r15
mov al, 1
jmp 0x14003610b
cmp rdx, rax
jne 0x140036193
mov qword [r10 + r9*8], r15
jmp 0x14003617c
or r9, 1
mov rax, qword [r10 + r9*8]
mov rax, qword [rax]
mov qword [r10 + r9*8], rax
cmp rax, r15
je 0x14003617c
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + r9*8]
mov rdx, qword [rdx + 8]
mov qword [rax + r9*8], rdx
jmp 0x14003617c
Function at 0x1400364b0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
mov rax, rdx
movzx edx, byte [r8]
movabs rsi, 0xcbf29ce484222325
xor rsi, rdx
movabs r9, 0x100000001b3
imul rsi, r9
movzx edx, byte [r8 + 1]
xor rdx, rsi
imul rdx, r9
movzx esi, byte [r8 + 2]
xor rsi, rdx
imul rsi, r9
movzx edx, byte [r8 + 3]
xor rdx, rsi
imul rdx, r9
and rdx, qword [rcx + 0x30]
mov r10, qword [rcx + 8]
mov r9, qword [rcx + 0x18]
lea r11, [rdx + rdx]
inc r11
shl rdx, 4
mov rcx, qword [r9 + rdx]
mov r8d, dword [r8]
mov rdx, rcx
cmp r10, rcx
je 0x140036534
mov rsi, qword [r9 + r11*8]
mov rsi, qword [rsi]
cmp rdx, rsi
je 0x14003653c
cmp dword [rdx + 0x10], r8d
je 0x140036539
mov rdx, qword [rdx]
jmp 0x140036518
mov rsi, rcx
jmp 0x140036524
mov r10, rdx
mov qword [rax], r10
pop rsi
ret

Function at 0x140036550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r14
push rsi
push rdi
push rbx
mov rax, rdx
mov r14, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140036566
mov r8, qword [r8]
movabs rbx, 0xcbf29ce484222325
mov rdx, r14
add rdx, r14
je 0x14003659d
xor edi, edi
movabs r9, 0x100000001b3
movzx esi, byte [r8 + rdi]
xor rsi, rbx
imul rsi, r9
inc rdi
mov rbx, rsi
cmp rdx, rdi
jne 0x140036584
jmp 0x1400365a0
mov rsi, rbx
and rsi, qword [rcx + 0x30]
mov r9, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov rcx, rsi
shl rcx, 4
mov r11, qword [r10 + rcx]
add rsi, rsi
inc rsi
mov rcx, r11
cmp r9, r11
je 0x1400365e4
mov rdx, qword [r10 + rsi*8]
mov rdx, qword [rdx]
cmp rcx, rdx
je 0x140036626
cmp qword [rcx + 0x20], r14
jne 0x140036609
cmp qword [rcx + 0x28], 8
jb 0x1400365e9
mov rdi, qword [rcx + 0x10]
jmp 0x1400365ed
mov rdx, r11
jmp 0x1400365cc
lea rdi, [rcx + 0x10]
test r14, r14
je 0x140036623
xor edx, edx
movzx ebx, word [rdi + rdx*2]
cmp bx, word [r8 + rdx*2]
jne 0x140036609
inc rdx
cmp r14, rdx
jne 0x1400365f4
jmp 0x14003660e
mov rcx, qword [rcx]
jmp 0x1400365c0
xor edx, edx
movzx ebx, word [r8 + rdx*2]
cmp bx, word [rdi + rdx*2]
jne 0x140036626
inc rdx
cmp r14, rdx
jne 0x140036610
mov r9, rcx
mov qword [rax], r9
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140036630
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
mov rax, rdx
movzx edx, byte [r8]
movabs rdi, 0xcbf29ce484222325
xor rdi, rdx
movabs rdx, 0x100000001b3
imul rdi, rdx
movzx esi, byte [r8 + 1]
xor rsi, rdi
imul rsi, rdx
movzx edi, byte [r8 + 2]
xor rdi, rsi
imul rdi, rdx
movzx esi, byte [r8 + 3]
xor rsi, rdi
imul rsi, rdx
and rsi, qword [rcx + 0x30]
mov r11, qword [rcx + 8]
mov r9, qword [rcx + 0x18]
lea r10, [rsi + rsi]
inc r10
shl rsi, 4
mov rdx, qword [r9 + rsi]
mov r8d, dword [r8]
mov rcx, rdx
cmp r11, rdx
je 0x1400366b5
mov rsi, qword [r9 + r10*8]
mov rsi, qword [rsi]
cmp rcx, rsi
je 0x1400366ec
cmp dword [rcx + 0x10], r8d
je 0x1400366ba
mov rcx, qword [rcx]
jmp 0x140036699
mov rsi, rdx
jmp 0x1400366a5
mov rsi, rcx
cmp r11, rdx
je 0x1400366d9
mov rdi, qword [r9 + r10*8]
mov rdi, qword [rdi]
cmp rsi, rdi
je 0x1400366de
cmp r8d, dword [rsi + 0x10]
jne 0x1400366de
mov rsi, qword [rsi]
jmp 0x1400366bd
mov rdi, rdx
jmp 0x1400366c9
cmp rcx, rsi
je 0x1400366ec
mov qword [rax], rcx
mov qword [rax + 8], rsi
jmp 0x1400366f3
mov qword [rax], r11
mov qword [rax + 8], r11
pop rdi
pop rsi
ret

Function at 0x1400367e0
Capabilities:
Hash data using fnv

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
movzx eax, byte [r8 + 0x10]
movabs rbx, 0xcbf29ce484222325
xor rbx, rax
movabs rax, 0x100000001b3
imul rbx, rax
movzx edi, byte [r8 + 0x11]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [r8 + 0x12]
xor rbx, rdi
imul rbx, rax
movzx esi, byte [r8 + 0x13]
xor rsi, rbx
imul rsi, rax
and rsi, qword [rcx + 0x30]
mov r14, rdx
lea rdx, [rsi + rsi]
mov rdi, qword [rcx + 0x18]
mov rbx, rsi
shl rbx, 4
lea rax, [rdi + rbx]
mov rbx, qword [rdi + rbx]
cmp qword [rdi + rdx*8 + 8], r8
jne 0x140036873
cmp rbx, r8
jne 0x14003687d
mov rdx, qword [rcx + 8]
mov qword [rax], rdx
lea rax, [rsi + rsi]
inc rax
lea rdx, [rcx + 8]
shl rax, 3
add rax, qword [rcx + 0x18]
jmp 0x140036889
cmp rbx, r8
jne 0x14003688f
mov rdx, r8
jmp 0x140036889
lea rax, [rdi + rdx*8]
add rax, 8
lea rdx, [r8 + 8]
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rsi, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rax], rsi
mov rax, qword [r8]
mov rdx, qword [r8 + 8]
mov qword [rax + 8], rdx
dec qword [rcx + 0x10]
mov rcx, r8
call fcn.140035640
mov qword [r14], rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140037b30
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r9
mov rdi, r8
mov ebx, edx
mov rsi, rcx
call fcn.140037df0
test rdi, rdi
je 0x140037b94
test al, al
je 0x140037b94
movsxd rax, ebx
mov rdx, rax
sar rdx, 0x3f
add rax, rdi
adc rdx, 0
mov ecx, edx
and ecx, 1
neg rcx
xor rdx, rcx
jne 0x140037b94
test rcx, rcx
js 0x140037b94
cmp qword [rsi + 0x10], rax
jb 0x140037b94
mov rcx, rsi
mov edx, ebx
mov r8, rdi
mov r9, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140037e00
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140037e00
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov r14, r9
mov r15, r8
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
cmp dword [rcx + 8], 0
setne al
mov ebp, edx
sar ebp, 0x1f
lea r12d, [rax + rax]
add r12d, 4
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r8
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [r14], rax
test rax, rax
je 0x140037eb5
mov rdi, qword [rsp + 0xc0]
lea rsi, [rsp + 0x28]
mov r8d, 0x30
mov rcx, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rsi + 0x18]
sub rcx, rbx
add rcx, qword [rsi + 8]
test rax, rax
cmove rcx, rax
mov qword [rdi], rcx
mov sil, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140027a90
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r15
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [r14], rax
test rax, rax
jne 0x140037e60
xor esi, esi
jmp 0x140037e97
Function at 0x14003a3d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [rcx]
mov rax, qword [rbp + 8]
cmp byte [rax + 0x19], 0
je 0x14003a44c
mov qword [rsp + 0x58], rbp
mov rdi, rbp
cmp rdi, qword [rbp]
jne 0x14003a59d
mov qword [rsp + 0x20], r9
mov sil, 1
mov rdx, rbx
mov r8b, 1
mov r9, rdi
call fcn.140002d90
mov byte [rbx + 8], sil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140027a90
mov rax, rbx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], rbx
mov rcx, qword [r8]
mov r13, qword [r8 + 0x10]
mov rdx, qword [r8 + 0x18]
mov qword [rsp + 0x48], rdx
cmp rdx, 0x10
mov qword [rsp + 0x40], r8
mov rdi, r8
mov qword [rsp + 0x50], rcx
cmovae rdi, rcx
mov rsi, rax
lea rbx, [rax + 0x20]
mov r12, qword [rax + 0x20]
mov r14, qword [rax + 0x38]
cmp r14, 0x10
mov rdx, rbx
cmovae rdx, r12
mov r15, qword [rax + 0x30]
cmp r15, r13
mov r8, r13
cmovb r8, r15
mov rcx, rdi
call sub.ntdll.dll_memcmp
xor ecx, ecx
cmp r13, r15
setb cl
xor edx, edx
test eax, eax
sets dl
cmovne ecx, edx
mov eax, ecx
xor al, 1
movzx eax, al
shl rax, 4
mov rax, qword [rsi + rax]
cmp byte [rax + 0x19], 0
je 0x14003a480
mov qword [rsp + 0x58], rsi
test cl, cl
je 0x14003a4fc
mov rdi, rsi
mov rbx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
jmp 0x14003a407
xor ebp, ebp
mov rdi, rsi
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp rcx, 0x10
cmovae rdx, rax
cmp r14, 0x10
cmovae rbx, r12
cmp r13, r15
mov r8, r15
cmovb r8, r13
mov rcx, rbx
call sub.ntdll.dll_memcmp
xor ecx, ecx
cmp r15, r13
setb cl
xor edx, edx
test eax, eax
sets dl
cmovne ecx, edx
cmp cl, 1
jne 0x14003a573
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
mov r8d, ebp
mov r9, rdi
call fcn.140002d90
mov sil, 1
jmp 0x14003a427
mov rdi, qword [rsp + 0x28]
lea rcx, [rdi + 0x20]
call fcn.1400267a0
mov edx, 0x48
mov rcx, rdi
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
mov rbx, qword [rsp + 0x30]
mov qword [rbx], rsi
xor esi, esi
jmp 0x14003a427
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov rsi, r8
call fcn.14003a620
mov rdx, rsi
mov rsi, qword [rbx]
mov rax, qword [rdx]
mov r13, qword [rdx + 0x10]
mov rcx, qword [rdx + 0x18]
lea rbx, [rsi + 0x20]
mov r12, qword [rsi + 0x20]
mov r15, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
mov bpl, 1
jmp 0x14003a510
Function at 0x14003ab80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14005f070]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003abb0
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14003abb0
mov rax, qword [rax + rcx]
jmp 0x14003abb2
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x140042e30
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, qword [rsp + 0xc8]
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r14], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x140042f0d
mov edi, dword [rsp + 0xc0]
mov ebx, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xa0]
cmp qword [r8 + 0x18], 8
jb 0x140042e93
mov r8, qword [r8]
mov rsi, qword [rdx]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, eax
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x140042f26
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 3
lea rbx, [rsp + 0x48]
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rax, rax
or rax, qword [rbx]
mov qword [r14], rax
xor ecx, ecx
cmp rax, 0xffffffffffffffff
sete cl
lea esi, [rcx + rcx*4]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140027a90
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rax, 0xffffffffffffffff
jmp 0x140042efe

Function at 0x140045ba0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rsi
mov rdx, rax
call fcn.140003400
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140045c0a
mov eax, edi
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140048410
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, ecx
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea eax, [rdi - 7]
mov ebp, 5
cmp eax, 0xfffffffe
jae 0x14004846a
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140027a90
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, r8
mov r15, rdx
mov rbp, qword [rsp + 0x130]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [rsp + 0xb0], r12
mov dword [rsp + 0x50], 0x68
cmp qword [r9 + 0x18], 8
jb 0x1400484bf
mov r9, qword [r9]
mov rcx, r9
call qword [sym.imp.mozglue.dll__wcsdup]
mov r14, rax
mov rax, qword [rbp + 0x10]
cmp qword [rbp + 0x18], 8
jb 0x1400484da
mov rbp, qword [rbp]
mov rbx, qword [rsp + 0x138]
test rax, rax
cmove rbp, rax
cmp qword [rsi + 0x18], 8
jb 0x1400484f3
mov rsi, qword [rsi]
mov r15, qword [r15]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x1400485c7
cmp edi, 6
mov r12d, 0x1fffff
mov esi, 0x101c01
cmove esi, r12d
mov r13, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, r13
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400485de
cmp edi, 6
mov edi, 0x100c43
cmove edi, r12d
mov rsi, qword [rbx + 8]
add rbx, 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rsi
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
test r14, r14
je 0x140048444
mov rcx, r14
call qword [sym.imp.mozglue.dll_free]
jmp 0x140048444
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400485c7
Function at 0x1400485f0
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140048688
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x14004e4f0
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140007a10
test al, al
je 0x14004e512
mov rcx, qword [rsi]
xor edx, edx
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x20
pop rsi
ret

Function at 0x14004fa40
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x14005fd2c]
mov ecx, dword [0x14005f488]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004fae6
mov rbx, qword [rsi + 0x10]
test rbx, rbx
jne 0x14004faad
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140027a90
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [rsi + 8]
shl rbx, 4
add rbx, rdi
mov r15d, dword [0x14005fd28]
lea r14, [rsp + 0x20]
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rdi]
mov rcx, qword [rdi + 8]
mov rdx, r15
mov r9, r14
call r12
add rdi, 0x10
cmp rdi, rbx
je 0x14004fa89
jmp 0x14004facb
lea rcx, [0x14005fd2c]
call fcn.14002687c
cmp dword [0x14005fd2c], 0xffffffff
jne 0x14004fa80
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x14005fd28], eax
lea rcx, [0x14005fd2c]
call fcn.14002681c
jmp 0x14004fa80
Function at 0x1800024e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002587
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002587
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x2ea6774e
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002582
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002560
cmp r8d, 0x56678568
je 0x18000258c
test r9d, r9d
jne 0x180002540
mov rax, qword [rax]
jmp 0x180002510
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
mov rcx, rbp
add rax, r10
call rax
mov rcx, 0xffffffffffffffff
lea rsi, [rax + 1]
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.180010eb0
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002655
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002655
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0xb5b4c35d
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002650
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x180002630
cmp edx, 0x6243459d
je 0x18000265a
test r9d, r9d
jne 0x180002610
mov rcx, qword [rcx]
jmp 0x1800025e0
mov ecx, dword [r11 + 0x24]
mov r8, rsi
add rcx, r10
mov rdx, rbp
movzx r9d, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + r9*4]
mov rcx, rdi
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret