joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400423b9
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x1400425c6
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [r11 - 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
xor bpl, bpl
mov qword [r11 - 0x68], r14
lea rdx, [rcx + 0x18]
lea rcx, [r11 - 0x68]
call fcn.140011c6c
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x140042436
cmp rdi, qword [rax]
je 0x140042423
add rax, 0x18
cmp rax, rcx
jne 0x140042413
jmp 0x140042436
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rsi
call fcn.1400425d0
movzx ebp, al
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140042453
mov rcx, qword [rcx]
test rcx, rcx
je 0x14004244e
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x58]
call fcn.140011c6c
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x14004258a
cmp rdi, qword [rbx]
je 0x14004248a
add rbx, 0x18
cmp rbx, rax
jne 0x140042477
jmp 0x14004258a
test bpl, bpl
je 0x140042559
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1400b0cec
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140042559
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x70]
call fcn.14003d060
nop
lea rcx, [rsp + 0x70]
call fcn.140002300
test al, al
jne 0x14004254f
lea rcx, [rsp + 0x70]
call fcn.140002310
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14004254f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
mov r8d, 8
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x70]
call fcn.140002320
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140042576
mov rcx, qword [rax]
test rcx, rcx
je 0x140042571
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x58], r14
mov rcx, rdi
test bpl, bpl
je 0x140042582
mov dl, 1
jmp 0x140042584
xor edx, edx
call fcn.14003cc60
nop
lea rcx, [rsp + 0x58]
call fcn.140011c94
nop
lea rcx, [rsp + 0x50]
call fcn.140011c94
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140043900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, r8
mov rbx, rdx
mov r10, rcx
call fcn.1400088a0
test al, al
jne 0x140043afd
mov rdx, qword [rdx]
call fcn.140014d74
cmp rdx, rax
jae 0x140043afd
call fcn.140014d74
lea rcx, [rdx + 5]
cmp rcx, rax
ja 0x140043afd
lea r8, [rdx + 1]
mov rcx, r10
mov qword [rbx], r8
call fcn.140002370
mov r11, rax
mov rcx, qword [rax]
cmp byte [rdx + rcx], 2
jne 0x140043afd
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov rcx, qword [rax]
movzx r9d, byte [rcx + r8]
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rcx, qword [rax]
shl r9d, 0x18
movzx edx, byte [rcx + rdx]
shl edx, 0x10
or r9d, edx
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov rax, qword [rax]
movzx ecx, byte [rax + r8]
lea r8, [rdx + 1]
shl ecx, 8
or r9d, ecx
mov qword [rbx], r8
mov rax, qword [r11]
movzx ecx, byte [rax + rdx]
or r9d, ecx
cmp r9d, 0xa
jne 0x140043afd
mov rcx, r10
call fcn.140014d74
lea rcx, [r8 + 5]
cmp rcx, rax
ja 0x140043afd
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov rax, qword [r11]
cmp byte [r8 + rax], 2
jne 0x140043afd
lea rcx, [rdx + 1]
mov qword [rbx], rcx
lea r8, [rcx + 1]
mov rax, qword [r11]
lea r9, [r8 + 1]
movzx edi, byte [rdx + rax]
mov qword [rbx], r8
mov rax, qword [r11]
shl edi, 0x18
movzx edx, byte [rcx + rax]
mov rcx, r10
mov qword [rbx], r9
mov rax, qword [r11]
shl edx, 0x10
or edi, edx
movzx edx, byte [r8 + rax]
lea r8, [r9 + 1]
mov qword [rbx], r8
mov rax, qword [r11]
shl edx, 8
or edi, edx
movzx edx, byte [r9 + rax]
or edi, edx
mov ebp, edi
call fcn.140014d74
sub rax, r8
cmp rbp, rax
ja 0x140043afd
movdqa xmm2, xmmword [0x1400fd210]
mov ecx, 1
mov dword [rsp + 0x20], 0x2d2d4352
xor eax, eax
mov dword [rsp + 0x24], 0xf7babac9
mov dword [rsp + 0x28], 0x61726f43
movd xmm3, ecx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x2c], 0x776f7242
mov dword [rsp + 0x30], 0x2d756e45
mov dword [rsp + 0x34], 0x61746144
mov dword [rsp + 0x38], 0x37313630
mov dword [rsp + 0x3c], 0x30313032
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
movd xmm1, eax
add eax, 4
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp eax, 8
jl 0x140043ab0
mov rcx, rsi
call fcn.140014d7c
mov rdx, qword [r11]
lea rcx, [rsp + 0x20]
add rdx, qword [rbx]
mov r9, rsi
mov r8d, edi
call fcn.1400388d0
add qword [rbx], rbp
jmp 0x140043aff
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140077a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.1400116bc
mov rcx, qword [rbx]
test rcx, rcx
je 0x140077c98
lea rdx, [0x1400f96c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.RegEnumKeyExW
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, [0x1400f96e0]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rdi, rdi
je 0x140077c98
test r12, r12
je 0x140077c98
test rax, rax
je 0x140077c98
mov dword [rsp + 0x78], 0x6f0053
mov dword [rsp + 0x7c], 0x740066
mov dword [rbp - 0x80], 0x610077
mov dword [rbp - 0x7c], 0x650072
mov dword [rbp - 0x78], 0x4d005c
mov dword [rbp - 0x74], 0x630069
mov dword [rbp - 0x70], 0x6f0072
mov dword [rbp - 0x6c], 0x6f0073
mov dword [rbp - 0x68], 0x740066
mov dword [rbp - 0x64], 0x43005c
mov dword [rbp - 0x60], 0x460054
mov dword [rbp - 0x5c], 0x54005c
mov dword [rbp - 0x58], 0x500049
xor eax, eax
mov word [rbp - 0x54], ax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, 0xffffffff80000002
call rdi
test eax, eax
jne 0x140077c98
xor edi, edi
mov esi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1400a7960
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call r12
test eax, eax
jne 0x140077c90
lea rcx, [rsp + 0x48]
call fcn.140002370
mov r15, rax
mov rcx, r14
call fcn.140008ea0
mov rbx, rax
nop dword [rax]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x48]
call fcn.140002330
nop
mov rcx, r14
call fcn.140009010
mov rcx, r15
test al, al
je 0x140077c39
call fcn.140002370
mov rcx, rax
call fcn.140002370
mov rdi, rax
mov rdx, qword [rbx]
mov ecx, 0x20
call fcn.140002080
mov r8, rax
mov rcx, rdi
call fcn.140002370
mov rdx, rax
mov rcx, r8
call fcn.140008aa0
add qword [rbx], 0x20
xor edi, edi
jmp 0x140077c4d
call fcn.140002370
mov r8, rax
mov rdx, qword [rbx]
mov rcx, r14
call fcn.140009cd0
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
inc esi
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x50]
mov edx, esi
mov rcx, qword [rsp + 0x68]
call r12
test eax, eax
je 0x140077be0
mov rcx, qword [rsp + 0x68]
call r13
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
xor ebx, ebx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140078620
lea rdx, [0x1400f96c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, [0x1400f96f0]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, [0x1400f96e0]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r15, r15
je 0x140078620
test r14, r14
je 0x140078620
test rax, rax
je 0x140078620
mov dword [rbp - 9], 0x65004b
mov dword [rbp - 5], 0x620079
mov dword [rbp - 1], 0x61006f
mov dword [rbp + 3], 0x640072
mov dword [rbp + 7], 0x4c0020
mov dword [rbp + 0xb], 0x790061
mov dword [rbp + 0xf], 0x75006f
mov dword [rbp + 0x13], 0x5c0074
mov dword [rbp + 0x17], 0x720050
mov dword [rbp + 0x1b], 0x6c0065
mov dword [rbp + 0x1f], 0x61006f
mov dword [rbp + 0x23], 0x64
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov edx, 0x20019
lea rcx, [rbp - 0x29]
call fcn.1400936c0
mov rcx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 9]
call r15
test eax, eax
jne 0x1400785fa
xor eax, eax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
mov dword [rbp - 0x11], 0x14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400fb540]
mov rcx, qword [rbp - 0x19]
call r14
test eax, eax
jne 0x1400785f4
xor edx, edx
lea r8d, [rbx + 0x10]
lea rcx, [rbp + 0x27]
call fcn.1400b297c
mov ebx, eax
mov rcx, qword [rbp - 0x19]
call rsi
lea rcx, [rbp - 0x29]
call fcn.140093800
test ebx, ebx
je 0x140078613
mov edx, ebx
mov rcx, rdi
call fcn.140078650
mov ebx, eax
lea rcx, [rbp - 0x29]
call fcn.140093800
mov eax, ebx
jmp 0x140078622
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140078650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14007880e
lea rdx, [0x1400f96c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, [0x1400f96f0]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x1400f96e0]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r14, r14
je 0x14007880e
test rsi, rsi
je 0x14007880e
test rax, rax
je 0x14007880e
mov dword [rbp - 0x19], 0x65004b
mov dword [rbp - 0x15], 0x620079
mov dword [rbp - 0x11], 0x61006f
mov dword [rbp - 0xd], 0x640072
mov dword [rbp - 9], 0x4c0020
mov dword [rbp - 5], 0x790061
mov dword [rbp - 1], 0x75006f
mov dword [rbp + 3], 0x5c0074
mov dword [rbp + 7], 0x750053
mov dword [rbp + 0xb], 0x730062
mov dword [rbp + 0xf], 0x690074
mov dword [rbp + 0x13], 0x750074
mov dword [rbp + 0x17], 0x650074
mov dword [rbp + 0x1b], 0x73
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rax
mov edx, 0x20019
lea rcx, [rbp - 0x59]
call fcn.1400936c0
mov rcx, rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x19]
call r14
test eax, eax
je 0x140078805
lea rcx, [rbp - 0x39]
call fcn.140008ad0
nop
mov r8d, ebx
lea rdx, str._08x
lea rcx, [rbp - 0x39]
call fcn.14001fc80
xor eax, eax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x2f], eax
mov dword [rbp - 0x41], 0x14
lea rcx, [rbp - 0x39]
call fcn.140002310
mov rdx, rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x49]
call rsi
test eax, eax
jne 0x1400787f4
xor edx, edx
lea r8d, [rax + 0x10]
lea rcx, [rbp + 0x1f]
call fcn.1400b297c
mov ebx, eax
mov rcx, qword [rbp - 0x49]
call rdi
nop
lea rcx, [rbp - 0x39]
call fcn.140002320
nop
lea rcx, [rbp - 0x59]
call fcn.140093800
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140078840
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x114
mov r8d, 0x110
lea rcx, [rsp + 0x24]
call fcn.1400a7960
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400788a3
cmp dword [rsp + 0x24], 6
jb 0x1400788a3
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a5660
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a5660
add rsp, 0x158
ret
Function at 0x140079219
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test rdx, rdx
je 0x1400793a5
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rcx, qword [rcx]
mov rsi, r9
mov r14, r8
mov rdi, rdx
test rcx, rcx
je 0x14007938a
lea rdx, [0x1400f96f0]
mov qword [rsp + 0x280], rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140079382
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1400a7960
mov rcx, r14
mov dword [rsp + 0x30], 0x208
call fcn.140002310
mov rdx, rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call rbx
lea rcx, [rsp + 0x60]
call fcn.140002620
lea rcx, [rsi + 0x50]
mov r8, rax
lea rdx, [rsp + 0x60]
call fcn.140002400
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea rdx, str.Profile
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call rbx
lea rcx, [rsp + 0x60]
call fcn.140002620
lea rcx, [rsi + 0x70]
mov r8, rax
lea rdx, [rsp + 0x60]
call fcn.140002400
xor eax, eax
mov dword [rsp + 0x38], 0x65004b
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], 0x620079
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov dword [rsp + 0x40], 0x61006f
mov dword [rsp + 0x44], 0x640072
mov dword [rsp + 0x48], 0x61004c
mov dword [rsp + 0x4c], 0x6f0079
mov dword [rsp + 0x50], 0x740075
mov dword [rsp + 0x30], 4
call rbx
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a5660
add rsp, 0x288
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007a640
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x28], 0
mov ecx, 1
call fcn.1400a568c
mov qword [rsp + 0x28], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x34]
call fcn.1400a7960
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14007a6c2
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.140026180
test al, al
je 0x14007a6ea
lea rcx, [rsp + 0x28]
call fcn.140025ab0
test al, al
jne 0x14007a6ea
xor bl, bl
jmp 0x14007a758
lea rdx, [rbx + 8]
xor ecx, ecx
call fcn.140028e80
test al, al
jne 0x14007a702
lea rcx, [rbx + 8]
call fcn.140011748
lea rdx, [rbx + 0x28]
mov ecx, 0x1a
call fcn.140028e80
test al, al
jne 0x14007a71d
lea rcx, [rbx + 0x28]
call fcn.140011748
lea rdx, [rbx + 0x48]
mov ecx, 2
call fcn.140028e80
test al, al
jne 0x14007a738
lea rcx, [rbx + 0x48]
call fcn.140011748
lea rdx, [rbx + 0x68]
mov ecx, 0xb
call fcn.140028e80
test al, al
jne 0x14007a753
lea rcx, [rbx + 0x68]
call fcn.140011748
mov byte [rbx], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.1400253d0
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x14007a850
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rdi, rdx
mov qword [r11 - 0x58], rdx
xor r15d, r15d
mov dword [r11 - 0x68], r15d
lea edx, [r15 + 0x25]
xor r8d, r8d
mov rcx, rsi
call fcn.140011704
mov rdx, rsi
cmp rax, 0xffffffffffffffff
jne 0x14007a8b8
mov rcx, rdi
call fcn.140008af0
nop
mov dword [rsp + 0x20], 1
jmp 0x14007a973
lea rcx, [rsp + 0x38]
call fcn.140008af0
nop
mov rcx, rsi
call fcn.140002310
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
jne 0x14007a8ec
mov rdx, rsi
mov rcx, rdi
call fcn.140008af0
jmp 0x14007a961
lea ecx, [rax + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a5f88
mov r14, rax
mov rcx, rsi
call fcn.140002310
mov rcx, rax
lea r8d, [rbp + 1]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14007a94c
cmp eax, ebp
ja 0x14007a94c
mov eax, eax
mov word [r14 + rax*2], r15w
mov rcx, r14
call fcn.140002620
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140002400
mov rcx, r14
call fcn.1400a5a4c
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140008aa0
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x38]
call fcn.140002320
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007b590
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, rdx
mov dword [rbp - 0x40], 0x61004d
mov dword [rbp - 0x3c], 0x720063
mov dword [rbp - 0x38], 0x6d006f
mov dword [rbp - 0x34], 0x640065
mov dword [rbp - 0x30], 0x46005c
mov dword [rbp - 0x2c], 0x61006c
mov dword [rbp - 0x28], 0x680073
mov dword [rbp - 0x24], 0x46005c
mov dword [rbp - 0x20], 0x61006c
mov dword [rbp - 0x1c], 0x680073
mov dword [rbp - 0x18], 0x650048
mov dword [rbp - 0x14], 0x70006c
mov dword [rbp - 0x10], 0x720065
mov dword [rbp - 0xc], 0x650053
mov dword [rbp - 8], 0x760072
mov dword [rbp - 4], 0x630069
mov dword [rbp], 0x2e0065
mov dword [rbp + 4], 0x780065
mov dword [rbp + 8], 0x65
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.1400a7960
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140002330
nop
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140002330
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.14001ede0
nop
lea rcx, [rsp + 0x38]
call fcn.140002320
nop
lea rcx, [rsp + 0x58]
call fcn.140002320
lea rcx, [rbp - 0x68]
call fcn.1400206a0
test al, al
jne 0x14007b6d4
xor bl, bl
jmp 0x14007b734
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140032ce0
nop
lea rcx, [rsp + 0x78]
call fcn.140002300
test al, al
je 0x14007b6f5
xor bl, bl
jmp 0x14007b729
lea rcx, [rsp + 0x78]
call fcn.140002370
cmp rbx, rax
je 0x14007b727
lea rcx, [rsp + 0x78]
call fcn.140002370
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14007b71b
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rbx
call fcn.140002400
mov bl, 1
lea rcx, [rsp + 0x78]
call fcn.140002320
nop
lea rcx, [rbp - 0x68]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400983d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
lea r12, [r8 - 1]
mov r13, r9
mov rbp, r12
mov r14, r8
sar rbp, 1
mov rbx, rdx
mov rsi, rcx
mov r15, rdx
mov rdi, rdx
cmp rdx, rbp
jge 0x14009844d
add rdi, rdi
lea rcx, [rdi + 2]
shl rcx, 5
add rcx, rsi
lea rdx, [rcx - 0x20]
call fcn.140015e50
movzx eax, al
xor rax, 1
inc rax
add rdi, rax
mov rcx, rdi
shl rcx, 5
add rcx, rsi
call fcn.140002370
shl rbx, 5
mov rdx, rax
lea rcx, [rsi + rbx]
call fcn.140008a50
mov rbx, rdi
cmp rdi, rbp
jl 0x140098402
cmp rdi, rbp
jne 0x14009847b
test r14b, 1
jne 0x14009847b
shl r14, 5
lea rcx, [rsi - 0x20]
add rcx, r14
call fcn.140002370
shl rbx, 5
mov rdx, rax
lea rcx, [rsi + rbx]
call fcn.140008a50
mov rbx, r12
mov rcx, r13
call fcn.140002370
mov r14, rax
cmp r15, rbx
jge 0x1400984d0
nop dword [rax + rax]
lea rdi, [rbx - 1]
mov rdx, r14
sar rdi, 1
mov rbp, rdi
shl rbp, 5
add rbp, rsi
mov rcx, rbp
call fcn.140015e50
test al, al
je 0x1400984d0
mov rcx, rbp
call fcn.140002370
shl rbx, 5
mov rdx, rax
lea rcx, [rsi + rbx]
call fcn.140008a50
mov rbx, rdi
cmp r15, rdi
jl 0x140098490
mov rcx, r14
call fcn.140002370
shl rbx, 5
mov rdx, rax
lea rcx, [rsi + rbx]
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140008a50

Function at 0x140099de0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rsi
xor ebx, ebx
cmp qword [rcx + 0x20], 0xffffffffffffffff
mov r14, r9
mov qword [rsp + 0x50], rdi
mov rsi, rdx
mov qword [rsp + 0x40], r15
mov edi, r8d
mov r15, rcx
mov ebp, ebx
jne 0x140099e25
mov ebx, 1
jmp 0x140099e76
mov qword [rsp + 0x48], r12
mov r12d, 0x100000
mov rcx, qword [r15 + 0x20]
lea r9, [rsp + 0x30]
mov r8d, edi
mov dword [rsp + 0x30], ebx
cmp edi, r12d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
cmova r8d, r12d
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x30]
add ebp, ecx
test eax, eax
je 0x140099e6c
test ecx, ecx
je 0x140099e71
add rsi, rcx
sub edi, ecx
jne 0x140099e30
jmp 0x140099e71
mov ebx, 1
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov eax, ebx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
test r14, r14
je 0x140099e8f
mov dword [r14], ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a5660
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret

Function at 0x14009a810
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x14009a84b
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14009a84b
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x20]
call fcn.1400a07c0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret