joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1410f11a9
Capabilities:
Encode data using xor

Disassembly:
test r11, r11
jmp 0x14110b30d
lea rsp, [rsp + 0x10]
je 0x14110b36c
push rbx
lea rax, [0x141107720]
mov ebx, 0x79b0190
or ebx, 0x3118823
or bx, bx
movzx ebx, byte [r8 + rbx*2 - 0xf371366]
push 0xffffffffe5851239
xor ebx, edx
mov qword [rsp], 0xffffffffeb01f31a
and ebx, 0xff
mov ebx, dword [rax + rbx*4]
shr edx, 8
xor edx, ebx
inc r8
xor edx, 0x939109a9
dec r11
lea rsp, [rsp + 8]
jne 0x14110b320
pop rbx
call fcn.1410e4a34

Function at 0x141106ccf
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
mov qword [rsp], 0x1a2b1d08
test rsi, rsi
push 0x1808b491
lea rsp, [rsp + 0x10]
je 0x1410cbc06
mov ecx, 0x598c4d2e
lea rcx, [0x1410d9a00]
movzx eax, byte [rbp + riz]
xor eax, r11d
push 0x47a36228
and eax, 0xff
dec byte [rsp + 1]
mov eax, dword [rcx + rax*4]
shr r11d, 8
sar byte [rsp], 0xe5
xor r11d, eax
inc rbp
xor r11d, 0x7f23642a
dec rsi
lea rsp, [rsp + 8]
jne 0x1410cbbca
call fcn.1410dfba3
mov r10d, 0xd1bc773b
mov r10, r11
jmp 0x141104ba6
push 0x22bebe2b
sub r11, 4
mov dword [r11], r10d
call fcn.1410e208e
jmp 0x141107377
add r10, 0xc
jmp 0x1410cbba0

Function at 0x141108531
Capabilities:
Encode data using xor

Disassembly:
add rax, rax
mov rax, qword [rbp + rbx*8 + 0x20]
jge 0x1410edabd
call fcn.14110050d
mov eax, 0xb9c12f
jmp 0x1410d8b12
lea rsp, [rsp + 0x10]
jne 0x141101fc5
mov r9, rax
jmp 0x141100511
Function at 0x141000058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410001df
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 0x141000089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14100006f
add dl, dl
jne 0x141000096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410000f6
xor eax, eax
add dl, dl
jne 0x1410000a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410001ad
add dl, dl
jne 0x1410000b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410000c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410000d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410000dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410000ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14100007e
mov eax, 1
add dl, dl
jne 0x141000106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141000113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410000fb
sub eax, ebx
mov ebx, 1
jne 0x14100014c
mov ecx, 1
add dl, dl
jne 0x14100012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14100013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141000123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14100007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141000168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141000175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14100015d
cmp eax, 0x7d00
jae 0x14100019b
cmp eax, 0x500
jb 0x141000196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14100007e
cmp eax, 0x7f
ja 0x14100019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14100007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410001d2
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 0x14100007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400369e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
test rax, rax
je 0x140036a0f
lea r8d, [rdx + 1]
nop dword [rax]
mov ecx, dword [rax + 0xc8]
mov edx, r8d
xor edx, ecx
and edx, 3
xor edx, ecx
mov dword [rax + 0xc8], edx
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400369f0
ret
Function at 0x1400770e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0x98]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x1400772f2
mov qword [rsp + 0x70], r12
xor r9d, r9d
mov qword [rsp + 0x78], r13
lea r12, [rdi + 0x88]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x68], rbp
nop word [rax + rax]
movsxd r14, dword [rsi + 0x10]
mov r15d, dword [rsi + 0x14]
shl r14, 5
add r14, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140077150
inc dword [rbx + 0x38]
mov ebp, dword [rbx + 0x38]
jmp 0x140077166
dec al
lea r12, [rdi + 0x88]
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0xd8]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x140077193
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.140031b70
jmp 0x1400771be
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [r14 + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.1400763f0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400771fd
mov rcx, rdi
call fcn.140031a30
test eax, eax
jne 0x1400772d9
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rax, [rax + rcx*8]
mov ecx, dword [rdi + 0x90]
mov dword [rax + 0xc], r9d
add ecx, 2
mov dword [rax + 8], ecx
mov byte [rax + 1], r9b
mov qword [rax + 0x10], r9
mov word [rax + 2], r9w
mov qword [rax + 0x18], 0x7f
mov qword [rax + 0x20], r9
mov qword [rax + 0x28], r9
mov qword [rax + 0x30], 0x61
mov qword [rax + 0x38], 2
mov qword [rax + 0x40], r9
mov qword [rax + 0x48], 0x80
mov qword [rax + 0x50], r9
mov qword [rax + 0x58], r9
mov qword [rax + 0x60], 0x7a
mov qword [rax + 0x68], r9
mov qword [rax + 0x70], r9
add dword [rdi + 0x90], 5
test rax, rax
je 0x1400772d9
mov dword [rax + 0x3c], ebp
lea edx, [r15 + 1]
mov dword [rax + 4], edx
lea ecx, [r15 - 1]
mov dword [rax + 0x20], edx
mov dword [rax + 0x34], ecx
mov dword [rax + 0x54], edx
mov dword [rax + 0x50], ebp
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x1400772c7
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400772c7
mov dword [rbx + rax*4 + 0xd8], ebp
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
je 0x1400772d9
mov rax, qword [rsp + 0x60]
jmp 0x140077130
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d0c00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140159040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov qword [rsp + 0x48], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x1400d0deb
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400d0deb
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400d0de2
mov r10d, 0xffffffd4
lea r9d, [r10 - 0x23]
lea r8d, [r10 - 0x28]
lea edx, [r10 + 0x26]
mov ecx, 0xd40a8cd4
mov rdi, qword [0x14015f390]
mov r14, qword [0x14015f398]
cmp rdi, r14
je 0x1400d0c76
movd xmm2, ecx
movd xmm0, edx
vpxor xmm1, xmm0, xmm2
movd r15d, xmm1
movd xmm0, r8d
vpxor xmm1, xmm0, xmm2
movd r12d, xmm1
movd xmm0, r9d
vpxor xmm1, xmm0, xmm2
movd esi, xmm1
movd xmm0, r10d
vpxor xmm1, xmm0, xmm2
movd r13d, xmm1
nop
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400d1460
mov byte [rsp + 0x70], r15b
mov byte [rsp + 0x71], sil
mov byte [rsp + 0x72], r12b
mov byte [rsp + 0x73], sil
mov byte [rsp + 0x74], r13b
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400d0d22
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp - 0x78]
sub rax, rdx
cmp rax, rcx
jb 0x1400d0e1d
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova r9, qword [rsp + 0x78]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x50]
call fcn.1400d1810
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x34]
sub rdx, rax
nop dword [rax + rax]
movzx ebx, byte [rax]
movzx ecx, byte [rax + rdx]
sub ebx, ecx
jne 0x1400d0da2
inc rax
test ecx, ecx
jne 0x1400d0d90
lea rcx, [rsp + 0x50]
call fcn.1400d1610
lea rcx, [rsp + 0x78]
test ebx, ebx
je 0x1400d0dd1
call fcn.1400d1610
add rdi, 0x20
cmp rdi, r14
jne 0x1400d0cf0
mov rbx, qword [rsp + 0x40]
jmp 0x1400d0c76
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
call fcn.1400d1610
mov al, 1
jmp 0x1400d0ded
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400fbcf0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400d0be0
int3
Function at 0x1400d97f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400d9812
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400d988c
mov rdi, r14
mov rcx, rbx
call fcn.1400dc1f0
test rax, rax
jle 0x1400d9864
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1401253f0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400d987c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400d9884
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400d9826
sub r14, rdi
jmp 0x1400d996f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400d98a3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400d98a5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400d98d7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1401253f0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400d996c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400d9912
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400d994d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14010d2d8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400d996c
cmp rbp, rax
ja 0x1400d9920
test rbp, rbp
je 0x1400d996c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14010d2d8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400ecad0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400ecb04
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400ecaf0
ret
Function at 0x1400f1bd0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400f1c9c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400f1c9c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400f1cb5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400f1c8c
cmp byte [rax], 0x5c
jne 0x1400f1c86
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400f1c86
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400f1c72
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400f1c83
test r8b, 0x10
jne 0x1400f1c86
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400f1c86
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400edbb0
test edi, edi
jne 0x1400f1bf0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400edba0
int3
Function at 0x1400f5190
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140159040]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
call fcn.14010d744
lea ecx, [rax - 0x41]
cmp ecx, 0x19
jbe 0x1400f51d2
lea ecx, [rax - 0x30]
cmp ecx, 9
jbe 0x1400f51d2
lea ecx, [rax - 0x61]
cmp ecx, 0x19
ja 0x1400f51b5
mov byte [rbp + rbx - 0x28], al
inc rbx
cmp rbx, 0x1f
jl 0x1400f51b5
mov byte [rbp - 9], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x28]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400f5200
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x60]
call fcn.1400d16c0
mov rdx, qword [0x14015d000]
cmp rdx, 0xf
jbe 0x1400f5258
mov rcx, qword [0x14015cfe8]
inc rdx
cmp rdx, 0x1000
jb 0x1400f5253
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f53fb
mov rcx, r8
call fcn.1400fc2f8
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [0x14015cfe8], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [0x14015cff8], xmm1
movdqa xmm0, xmmword [0x1401433a0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.1400d1610
mov r8d, 4
lea rdx, str..txt
lea rcx, [0x14015cfe8]
call fcn.1400d3e90
nop
xor ebx, ebx
call fcn.14010d744
lea ecx, [rax - 0x41]
cmp ecx, 0x19
jbe 0x1400f52c1
lea ecx, [rax - 0x30]
cmp ecx, 9
jbe 0x1400f52c1
lea ecx, [rax - 0x61]
cmp ecx, 0x19
ja 0x1400f52a4
mov byte [rbp + rbx - 0x28], al
inc rbx
cmp rbx, 0x1f
jl 0x1400f52a4
mov byte [rbp - 9], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x28]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400f52e5
mov r8, rdi
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x60]
call fcn.1400d16c0
mov rdx, qword [0x14015cfe0]
cmp rdx, 0xf
jbe 0x1400f533f
inc rdx
mov rcx, qword [0x14015cfc8]
cmp rdx, 0x1000
jb 0x1400f533a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f53fb
mov rcx, r8
call fcn.1400fc2f8
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [0x14015cfc8], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [0x14015cfd8], xmm1
movdqa xmm0, xmmword [0x1401433a0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.1400d1610
mov r8d, 4
lea rdx, str..ps1
lea rcx, [0x14015cfc8]
call fcn.1400d3e90
mov dword [rbp - 0x40], 0x18
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x38], 0
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [0x14015f968]
lea rcx, [0x14015f960]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400f53d8
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [0x14015f960]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
setne al
jmp 0x1400f53da
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400fbcf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140105498
int3
Function at 0x1400f90f0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140159040]
xor rax, rsp
mov qword [rbp + 0x47], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call fcn.14010da14
mov rcx, rax
call fcn.14010d770
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.1400d0c00
test al, al
jne 0x1400f9153
call fcn.1400d0e30
test al, al
jne 0x1400f9153
lea rcx, [rbp - 0x69]
call fcn.1400d0e50
cmp byte [rbp - 0x69], 0
jne 0x1400f9284
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.1400d32c0
test al, al
jne 0x1400f920d
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jne 0x1400f91f7
lea ecx, [rax + 0x4e]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, eax
mov rcx, qword [0x14015f3f0]
mov rdx, qword [0x14015f3f8]
cmp rcx, rdx
je 0x1400f933b
cmp dword [rcx], ebx
je 0x1400f91c4
add rcx, 4
cmp rcx, rdx
jne 0x1400f91b2
jmp 0x1400f9284
mov rax, qword [0x14015f3d8]
mov rcx, qword [0x14015f3e0]
cmp rax, rcx
je 0x1400f933b
nop dword [rax + rax]
cmp dword [rax], r8d
je 0x1400f91f3
add rax, 4
cmp rax, rcx
jne 0x1400f91e0
jmp 0x1400f9284
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.1400d3540
test al, al
jne 0x1400f920d
lea rcx, [rbp - 0x69]
call fcn.1400d3800
cmp byte [rbp - 0x69], 0
jne 0x1400f9284
call fcn.1400f5190
test al, al
je 0x1400f9284
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x39]
call fcn.1400f5410
cmp qword [rbp + 0x2f], 0
je 0x1400f9268
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x61]
call fcn.1400d1460
nop
lea rcx, [rbp - 0x61]
call fcn.1400f9350
lea rcx, [rbp + 0x1f]
call fcn.1400d1610
lea rcx, [rbp + 7]
call fcn.1400d1580
lea rcx, [rbp - 0x39]
call fcn.1400f5aa0
nop
mov rcx, qword [0x14015f960]
test rcx, rcx
je 0x1400f9296
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14015f968]
test rcx, rcx
je 0x1400f92a8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [0x14015cfe8]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400d1460
mov rcx, rax
call fcn.1400fb870
test al, al
je 0x1400f92df
cmp qword [0x14015d000], 0xf
cmova rbx, qword [0x14015cfe8]
mov rcx, rbx
call fcn.1401096cc
lea rbx, [0x14015cfc8]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400d1460
mov rcx, rax
call fcn.1400fb870
test al, al
je 0x1400f9317
cmp qword [0x14015cfe0], 0xf
cmova rbx, qword [0x14015cfc8]
mov rcx, rbx
call fcn.1401096cc
nop
call fcn.1400f9fc0
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400fbcf0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
mov byte [rbp - 0x69], 1
jmp 0x1400f9284
Function at 0x1400fba30
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x200
mov rax, qword [0x140159040]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbx, rdx
lea rcx, [rsp + 0xe0]
xor edx, edx
mov r8d, 0x104
call fcn.140125030
lea rdx, [rsp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rax, qword [0x14015f968]
xorps xmm0, xmm0
mov qword [rsp + 0xd0], rax
xor ecx, ecx
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xc8], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0xac], 0x101
movups xmmword [rsp + 0x80], xmm0
mov word [rsp + 0xb0], cx
movups xmmword [rsp + 0x90], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400fbb49
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400fbb4b
xor al, al
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400fbcf0
add rsp, 0x200
pop rbx
ret

Function at 0x1400fc8f0
Capabilities:
Parse pe header

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

Function at 0x1400fcf40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400fcf7a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400fcf7f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400fcfc8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140128d60]
cmp byte [rcx + rax], 0
je 0x1400fcfc8
dec r8
sub rdx, 1
jne 0x1400fcfae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140104728
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14010475f
call fcn.14010ad58
mov dword [rax], 0x16
call fcn.140105478
xor eax, eax
jmp 0x1401047ed
mov rdx, r9
mov rcx, r8
call fcn.1401046c4
mov rbx, rax
test rax, rax
je 0x1401047ea
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401045f0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401047d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010accc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401047be
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401047cd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140111e7c
jmp 0x1401047ea
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401047e7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14010dfc0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14010ddbc

Function at 0x1401142cc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401142e2
mov al, 1
jmp 0x140114342
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401142f3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140114340
mov ecx, dword [rcx + 0x18]
nop
call fcn.14011b1f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140114340
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140114340
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140114340
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140114342
xor al, al
add rsp, 0x20
pop rbx
ret