joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f9d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r13, r9
mov r12, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x3c], r14d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x10], r14
mov dword [rbp - 0x3c], 1
mov r15, qword [r8 + 8]
mov rsi, qword [r8]
mov rax, qword [rbp - 0x18]
cmp rsi, r15
je 0x14005faa7
nop dword [rax + rax]
mov rdi, rsi
cmp qword [rsi + 0x18], 8
jb 0x14005fa3d
mov rdi, qword [rsi]
mov rdx, rsi
jb 0x14005fa45
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop dword [rax]
lea rcx, [rcx + 1]
cmp word [rdx + rcx*2], 0
jne 0x14005fa50
lea r14, [rcx + 1]
lea r14, [rdi + r14*2]
cmp rdi, r14
je 0x14005fa9b
cmp rax, qword [rbp - 0x10]
je 0x14005fa80
movzx ecx, byte [rdi]
mov byte [rax], cl
mov rax, qword [rbp - 0x18]
inc rax
mov qword [rbp - 0x18], rax
jmp 0x14005fa93
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400604b0
mov rax, qword [rbp - 0x18]
inc rdi
cmp rdi, r14
jne 0x14005fa68
add rsi, 0x20
cmp rsi, r15
jne 0x14005fa30
xor r14d, r14d
mov edi, 2
nop dword [rax]
mov byte [rbp - 0x40], 0
cmp rax, qword [rbp - 0x10]
je 0x14005faca
mov byte [rax], 0
mov rax, qword [rbp - 0x18]
inc rax
mov qword [rbp - 0x18], rax
jmp 0x14005fade
lea r8, [rbp - 0x40]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400604b0
mov rax, qword [rbp - 0x18]
sub rdi, 1
jne 0x14005fab0
mov dword [rbp - 0x38], r14d
lea rcx, str.P__f_
mov qword [rbp - 0x30], rcx
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r13], xmm0
mov r8, qword [rbp - 0x20]
sub rax, r8
mov ecx, eax
cmp rcx, rax
jne 0x14005fbb3
cmp qword [r12 + 0x18], 8
jb 0x14005fb1a
mov r12, qword [r12]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 7
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x14005fb53
call fcn.140078f20
mov dword [rbp - 0x38], ebx
mov qword [rbp - 0x30], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r13], xmm0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14005fb89
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fb84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fbad
call fcn.140079480
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140086b94
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x38]
call fcn.140017900
lea rdx, [0x1400e29d8]
lea rcx, [rbp - 0x38]
call fcn.14007f918
int3
Function at 0x1400608a0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov ecx, 8
call fcn.140079488
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400634e0]
xor edx, edx
xor ecx, ecx
call fcn.140090cd8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140060927
cmp dword [rbx + 0x128], 0
jne 0x140060921
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x120], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140079460
add rsp, 0x50
pop rbx
ret
call fcn.14008e9cc
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.14007d13c
int3
Function at 0x140076bb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x140076d12
cmp byte [rdx + 4], 0
je 0x140076bee
mov eax, dword [rcx]
cmp dword [rdx], eax
jl 0x140076d12
mov r9, r8
mov r8, rdx
lea rdx, str._H:_M:_S
lea rcx, [rbp + 0xf]
call fcn.140076670
nop
mov dword [rbp + 7], 0
cmp byte [rbx + 0x10], 0
je 0x140076cb1
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rax, qword [rbp + 0xf]
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x1f]
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x2f]
call fcn.1400784e0
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 7]
mov r8d, dword [rbp + 0x3f]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140076cdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076caa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076d35
call fcn.140079480
jmp 0x140076cdb
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdx, qword [rbp + 0xf]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 7]
mov r8d, dword [rbp + 0x1f]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x140076d12
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076d0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076d2f
call fcn.140079480
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rbp
ret
call fcn.140086b94
nop
call fcn.140086b94
nop
int3
Function at 0x1400776e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, qword [r8]
mov r14, r9
mov rbp, qword [rsp + 0xe0]
mov rsi, rdx
mov r15, qword [rsp + 0xe8]
mov rbx, rcx
mov r12, qword [rsp + 0xf0]
test rdi, rdi
je 0x1400777e6
cmp qword [rdi + 8], 0xffffffffffffffff
je 0x1400777e6
cmp byte [rcx + 4], 0
je 0x140077749
mov eax, dword [rdi]
cmp dword [rcx], eax
jl 0x1400777e6
mov r9, rsi
lea rdx, str._FT_T
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.140076670
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
xor eax, eax
mov qword [rsp + 0x68], 0xffffffffffffffff
cmp qword [rsp + 0x50], 0x10
mov dword [rsp + 0x30], eax
cmovae rdx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400777e6
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400777e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007782e
call fcn.140079480
mov rcx, qword [r14]
test rcx, rcx
je 0x1400777f9
mov r8, rsi
mov rdx, rbx
call fcn.140076930
mov r9, r15
mov qword [rsp + 0x20], r12
mov r8, rbp
mov rdx, rsi
mov rcx, rbx
call fcn.140077fe0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140079460
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140086b94
int3
Function at 0x14009f1a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14009f1d2
call fcn.140089230
mov dword [rax], 0x16
call fcn.140086b74
jmp 0x14009f2f1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14009f2f1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14009f2f1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14009f201
lock or dword [rcx + 0x14], 0x10
jmp 0x14009f2f1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14009f215
call fcn.14009f958
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140097ee8
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14009fe70
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14009f2df
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14009f2aa
mov rcx, rsi
call fcn.140097ee8
cmp eax, edi
je 0x14009f295
mov rcx, rsi
call fcn.140097ee8
cmp eax, 0xfffffffe
je 0x14009f295
mov rcx, rsi
call fcn.140097ee8
movsxd rbx, eax
lea r14, [0x1400ec590]
mov rcx, rsi
sar rbx, 6
call fcn.140097ee8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14009f29c
lea rdx, [0x1400e5400]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14009f2aa
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14009f2ce
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14009f2ce
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14009f2ce
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14009f2f4
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14009f30c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14009f02e
call fcn.140089230
mov dword [rax], 0x16
call fcn.140086b74
jmp 0x14009f17e
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14009f17e
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14009f17e
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14009f05d
lock or dword [rcx + 0x14], 0x10
jmp 0x14009f17e
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14009f071
call fcn.14009f958
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x14009f081
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x14009f084
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.140097ee8
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14009fe70
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14009f16c
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14009f117
mov rcx, rbx
call fcn.140097ee8
cmp eax, 0xffffffff
je 0x14009f102
mov rcx, rbx
call fcn.140097ee8
cmp eax, 0xfffffffe
je 0x14009f102
mov rcx, rbx
call fcn.140097ee8
movsxd rdi, eax
lea rsi, [0x1400ec590]
mov rcx, rbx
sar rdi, 6
call fcn.140097ee8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14009f109
lea rdx, [0x1400e5400]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14009f117
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14009f13b
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14009f13b
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14009f13b
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x14009f159
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x14009f164
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x14009f183
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14009eff8
Function at 0x14009f6d8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400a9080
sub rsp, rax
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140097ee8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14009f727
mov rax, rbp
jmp 0x14009f82f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xec590]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400a0648
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xec590]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14009f82b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009f82b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400a0648
test rax, rax
js 0x14009f82b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14009f82b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14009f81d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14009f81d
cmp byte [rcx], 0xd
jne 0x14009f803
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14009f812
cmp byte [rcx + 1], 0xa
jne 0x14009f812
inc rcx
jmp 0x14009f812
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xe59a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14009f7e5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14009f82f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009f9c4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400ec590]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14009fa22
cmp word [rdx], r12w
jne 0x14009fa22
or byte [rax + r8*8 + 0x38], cl
jmp 0x14009fa28
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14009fb83
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14009fb5e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14009fa61
mov rcx, r9
jmp 0x14009fa84
cmp r9, rdx
jae 0x14009fa9b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14009fa45
jmp 0x14009fb83
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009fb58
cmp dword [rsp + 0x80], edi
je 0x14009fb58
mov rdx, r14
lea r11, [0x1400ec590]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14009fb31
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14009fb04
mov word [rbx], r12w
jmp 0x14009fb7f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14009fb0d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14009fb7f
cmp word [rsp + 0x70], r12w
jne 0x14009fb3e
cmp rbx, rsi
je 0x14009fafe
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400a0650
cmp word [rsp + 0x70], r12w
je 0x14009fb83
mov word [rbx], r13w
jmp 0x14009fb7f
lea r11, [0x1400ec590]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14009fb7b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14009fb83
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a2898
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400a291f
mov rsi, rbx
cmp word [rax], bp
je 0x1400a28de
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400a28c8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400a28c4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140096b38
mov rdi, rax
test rax, rax
je 0x1400a290c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14007fbc0
mov rbp, rdi
xor ecx, ecx
call fcn.140096afc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a8250
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400a0650
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400a0650
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400a83a0
cmp rax, 0xffffffffffffffff
je 0x1400a83a0
xor edi, edi
test rbp, rbp
jle 0x1400a834b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140096a84
mov rbx, rax
test rax, rax
jne 0x1400a82d8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400a8341
mov edx, 0x8000
mov ecx, r14d
call fcn.140092a2c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14009eb48
cmp eax, 0xffffffff
je 0x1400a8321
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400a82e8
mov edx, r15d
mov ecx, r14d
call fcn.140092a2c
jmp 0x1400a8341
cmp byte [rsi + 0x38], dil
je 0x1400a8338
cmp dword [rsi + 0x34], 5
jne 0x1400a8338
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400a8341
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140096afc
jmp 0x1400a83b4
jns 0x1400a83b4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400a0650
cmp rax, 0xffffffffffffffff
jne 0x1400a836c
cmp byte [rsi + 0x30], dil
je 0x1400a83b4
mov edi, dword [rsi + 0x2c]
jmp 0x1400a83b4
mov ecx, r14d
call fcn.1400a227c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400a83b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400a83b4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400a83ad
mov eax, dword [rsi + 0x2c]
jmp 0x1400a83b2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400a0650
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001000
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x170], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001163
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x140001080
mov rcx, rbx
jmp 0x14000115d
lea rdx, str.chrome.exe
lea rcx, [rsp + 0x6c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400010a5
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14000106d
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140001163
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x14000115a
mov r9d, 0xa
mov qword [rsp + 0x20], 0
lea r8, str.steam.dll
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000115a
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor edx, edx
mov dword [rsp + 0x28], 0
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140001168
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400011a0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret

Function at 0x140001a7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac8
xor al, al
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004410]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004420]
mov dword [rax], 1
mov rax, qword [0x140004430]
mov dword [rax], 1
mov rax, qword [0x1400043d0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004400]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400044e0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004380]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a