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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
test rcx, rcx
je 0x1400791ad
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.14008cbc0
inc eax
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400791b6
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], r8d
test rcx, rcx
je 0x1400791f7
mov rcx, qword [rcx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007d5e0
nop
add rsp, 0x48
ret

Function at 0x1400792ff
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x1400793d7
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
lea r15, [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
xor esi, esi
lea r9, [rsp + 0x34]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400793d9
cmp dword [rsp + 0x34], 1
jne 0x1400793d9
mov r14d, dword [rsp + 0x30]
inc r14d
mov edx, 1
mov rcx, r14
xor r8d, r8d
call fcn.140011830
mov rsi, rax
mov rcx, qword [rbx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400793cf
cmp dword [rsp + 0x34], 1
jne 0x1400793cf
mov eax, dword [rsp + 0x30]
cmp eax, r14d
jb 0x1400793c7
lea rcx, str.size___allocsize
lea rdx, str..._windows_winstore.c
mov r8d, 0x92
call fcn.140088ff4
mov eax, dword [rsp + 0x30]
mov eax, eax
mov byte [rsi + rax], 0
jmp 0x1400793d9
mov rcx, rsi
call fcn.1400118b0
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007d5e0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400793f5
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov esi, r8d
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], 4
test rcx, rcx
je 0x140079459
mov rcx, qword [rcx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140079459
mov eax, 4
mov ecx, dword [rsp + 0x3c]
xor ecx, eax
xor eax, dword [rsp + 0x44]
or eax, ecx
jne 0x140079459
mov esi, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14007d5e0
mov eax, esi
add rsp, 0x50
pop rsi
ret
Function at 0x140079578
Capabilities:
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8, qword [r8]
call fcn.140079170
lea rdx, str.IsBold
mov rcx, rbx
xor r8d, r8d
call fcn.14005f256
mov rdi, rax
movzx eax, byte [r14 + 8]
mov dword [rsp + 0x3c], eax
test rsi, rsi
je 0x1400795eb
mov rcx, qword [rsi]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
mov rdx, rdi
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rdi
call fcn.1400118b0
lea rdx, str.CharSet
mov rcx, rbx
xor r8d, r8d
call fcn.14005f256
mov rdi, rax
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x3c], eax
test rsi, rsi
je 0x14007963c
mov rcx, qword [rsi]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
mov rdx, rdi
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rdi
call fcn.1400118b0
lea rdx, [0x1400af73f]
mov rcx, rbx
xor r8d, r8d
call fcn.14005f256
mov rdi, rax
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x3c], eax
test rsi, rsi
je 0x14007968d
mov rcx, qword [rsi]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
mov rdx, rdi
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rdi
call fcn.1400118b0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007d5e0
nop
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140079713
Capabilities:
Delete registry key

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rdx, str.SoftwareSimonTathamPuTTYSessions
lea r8, [rsp + 0x28]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140079784
call fcn.14005f59f
mov rdi, rax
mov rcx, rsi
mov rdx, rax
call fcn.1400740e0
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, rdi
call fcn.14005f61a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.140073605
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007d5e0
nop
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x14007980d
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x105
mov edi, 0x105
mov ecx, 0x105
mov edx, 1
xor r8d, r8d
call fcn.140011830
mov rbx, rax
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov r8, rax
mov r9d, 0x105
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0xea
jne 0x1400798bf
lea r15, [rsp + 0x30]
mov r12, qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r8d, 1
mov rcx, rbx
mov rdx, r15
mov r9, rdi
call fcn.1400118ba
mov rbx, rax
mov r9d, dword [rsp + 0x30]
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
mov r8, rax
call r12
cmp eax, 0xea
jne 0x1400798bf
mov rdi, qword [rsp + 0x30]
jmp 0x14007987b
mov ebp, eax
test eax, eax
jne 0x1400798d0
mov rcx, rbx
mov rdx, r14
call fcn.140074176
test ebp, ebp
sete dil
inc dword [rsi + 8]
mov rcx, rbx
call fcn.1400118b0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007d5e0
mov eax, edi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14007a077
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1400ca0f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 2
call fcn.140079da5
cmp rax, 0xffffffffffffffff
je 0x14007a0cb
mov rbx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov rcx, rax
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007d5e0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007a0e1
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rdx, rcx
xor r8d, r8d
jmp fcn.14007a0ec
Function at 0x14007a615
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, r8
mov rdi, rcx
test edx, edx
je 0x14007a674
xor eax, eax
xor ecx, ecx
cmp edx, 2
setne al
sete cl
lea r8d, [rax + rax*2]
mov eax, 0x40000000
mov edx, 0x80000000
cmove edx, eax
mov eax, ecx
shl eax, 7
xor ecx, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x30], 0
mov rcx, rdi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
setne al
jmp 0x14007a6b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14007a6ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14007a6ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140073df0
lea rcx, str.Unable_to_delete__s:__s
mov rdx, rdi
mov r8, rax
call fcn.14006cb4c
mov qword [rsi], 0xffffffffffffffff
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140013150
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400144a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400144c0
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400144d3
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400144fd
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014511
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014523
xor al, al
jmp 0x140014541
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001453f
xor al, al
jmp 0x140014541
mov al, 1
add rsp, 0x38
ret
Function at 0x140008700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x40
mov rax, qword [0x140034008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, dword [0x140035cc8]
mov rsi, rcx
movsd xmm0, qword [str.zxcvbnmw]
movzx eax, byte [0x140030b70]
movsd qword [rsp + 0x20], xmm0
mov byte [rsp + 0x28], al
test ebx, ebx
je 0x1400088c7
test rcx, rcx
je 0x1400088c7
lea eax, [rbx + 5]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
mov ecx, eax
mov qword [rsp + 0x60], r14
mov edi, eax
call fcn.1400090d4
mov ecx, edi
mov rbp, rax
call fcn.1400090d4
mov r8d, edi
xor edx, edx
mov rcx, rbp
mov r14, rax
call fcn.14000a110
mov r8d, edi
xor edx, edx
mov rcx, r14
call fcn.14000a110
mov rdi, qword [rsp + 0x58]
test bl, 1
je 0x14000879d
mov byte [rbx + r14], 0x36
xor r10d, r10d
mov edx, r10d
test ebx, ebx
je 0x14000888d
nop dword [rax + rax]
movzx eax, byte [rsi]
lea rsi, [rsi + 1]
mov ecx, ebx
sub ecx, edx
inc edx
dec ecx
mov byte [rcx + rbp], al
cmp edx, ebx
jb 0x1400087b0
mov r8d, r10d
mov r9, rbp
nop dword [rax]
mov eax, 0x38e38e39
lea r9, [r9 + 1]
mul r8d
mov ecx, r8d
inc r8d
shr edx, 1
lea eax, [rdx + rdx*8]
sub ecx, eax
movsxd rax, ecx
movzx ecx, byte [rsp + rax + 0x20]
xor cl, byte [r9 - 1]
xor cl, 0x18
mov byte [r9 - 1], cl
cmp r8d, ebx
jb 0x1400087d0
cmp ebx, 0x40
jb 0x140008869
movdqa xmm2, xmmword [str._n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_n_]
lea rax, [rbp + 0x20]
mov ecx, ebx
and ecx, 0xffffffc0
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add r10d, 0x40
movdqa xmm1, xmm2
paddb xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqu xmm0, xmmword [rax - 0x50]
paddb xmm0, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
paddb xmm1, xmm2
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
paddb xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
cmp r10d, ecx
jb 0x140008820
cmp r10d, ebx
jae 0x14000888d
movsxd rcx, r10d
mov edx, ebx
add rcx, rbp
sub edx, r10d
nop dword [rax]
add byte [rcx], 0xa
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140008880
sub ebx, 1
movsxd rcx, ebx
js 0x1400088b0
mov rdx, r14
nop dword [rax + rax]
movzx eax, byte [rcx + rbp]
sub rcx, 1
mov byte [rdx], al
lea rdx, [rdx + 1]
jns 0x1400088a0
mov rcx, rbp
call fcn.140008e30
mov rbp, qword [rsp + 0x50]
mov rax, r14
mov r14, qword [rsp + 0x60]
jmp 0x1400088c9
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140008e10
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret
Function at 0x140009858
Capabilities:
Parse pe header

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

Function at 0x14000d168
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000cfd3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cfd3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cfd3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cfd3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cfd3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cfd3
cmp dword [rcx + 0xf8], 0
je 0x14000cfd3
mov ecx, ebx
call fcn.14000d084
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000ce60
nop
cmp dword [rbp + 0x20], 0
je 0x14000d021
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000d02c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000cf64
Function at 0x1400156fc
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001572c
xor eax, eax
jmp 0x1400157ef
mov rbp, rbx
cmp word [rax], si
je 0x140015751
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140015738
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140015734
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001561c
movsxd r14, eax
test eax, eax
jne 0x14001578f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140015725
mov rcx, r14
call fcn.140010f3c
mov rdi, rax
test rax, rax
jne 0x1400157a8
xor ecx, ecx
call fcn.140011130
jmp 0x140015784
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001561c
test eax, eax
jne 0x1400157d9
mov rcx, rdi
call fcn.140011130
jmp 0x1400157e3
xor ecx, ecx
call fcn.140011130
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001997c
Capabilities:
Get file size

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

Function at 0x140019b24
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140035830]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140019b7b
cmp word [rdx], r13w
jne 0x140019b7b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140019b80
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140019ca5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140019cc6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140019bb9
mov rdx, r9
mov word [rbx], cx
jmp 0x140019be0
cmp r9, r8
jae 0x140019bf0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140019b9a
jmp 0x140019ca5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140019c9a
cmp dword [rsp + 0x80], esi
je 0x140019c9a
lea r8, [0x140035830]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140019c72
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140019c42
mov word [rbx], r13w
jmp 0x140019ca2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140019c4f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140019ca2
cmp word [rsp + 0x70], r13w
jne 0x140019c7f
cmp rbx, r14
je 0x140019c3c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001bbc4
cmp word [rsp + 0x70], r13w
je 0x140019ca5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140035830]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140019c9f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140019ca5
Function at 0x14001b490
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400146ec
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001b51a
cmp byte [rbp - 0x21], r15b
je 0x14001b515
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001b550
call fcn.140011380
test eax, eax
jne 0x14001b53c
cmp byte [rbp - 0x21], r15b
je 0x14001b534
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001b550
cmp byte [rbp - 0x21], r15b
je 0x14001b54d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140013ccc
test eax, eax
jne 0x14001b5f0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400146ec
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001b58f
cmp byte [rbp - 0x21], r15b
je 0x14001b5c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001b5c4
call fcn.140011380
test eax, eax
jne 0x14001b5b0
cmp byte [rbp - 0x21], r15b
je 0x14001b5a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001b5c4
cmp byte [rbp - 0x21], r15b
je 0x14001b5c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140013ccc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001b5f0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001b5f3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001b601
mov rcx, rdi
call fcn.140011130
cmp byte [rbp + 0x3f], r15b
je 0x14001b610
mov rcx, qword [rbp + 0x27]
call fcn.140011130
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001dbc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001dbe8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001dbe8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000d444
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
movabs rax, 0x143f23367
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], eax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.14006f700
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000d497
xor eax, eax
jmp 0x14000d5e8
mov byte [rsp + 0x60], 0xf
mov byte [rsp + 0x61], 0x28
mov byte [rsp + 0x62], 0x40
mov byte [rsp + 0x63], 0x60
mov byte [rsp + 0x64], 0xf
mov byte [rsp + 0x65], 0x11
mov byte [rsp + 0x66], 0x81
mov byte [rsp + 0x67], 0xc0
mov byte [rsp + 0x68], 6
mov byte [rsp + 0x69], 0
mov byte [rsp + 0x6a], 0
mov byte [rsp + 0x6b], 0xf
mov byte [rsp + 0x6c], 0x28
mov byte [rsp + 0x6d], 0x40
mov byte [rsp + 0x6e], 0x70
mov byte [rsp + 0x6f], 0xf
mov byte [rsp + 0x70], 0x11
mov byte [rsp + 0x71], 0x81
mov byte [rsp + 0x72], 0xd0
mov byte [rsp + 0x73], 6
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 0
mov byte [rsp + 0x48], 0xc7
mov byte [rsp + 0x49], 0x40
mov byte [rsp + 0x4a], 0x60
mov byte [rsp + 0x4b], 0
mov byte [rsp + 0x4c], 0
mov byte [rsp + 0x4d], 0
mov byte [rsp + 0x4e], 0
mov byte [rsp + 0x4f], 0xc7
mov byte [rsp + 0x50], 0x40
mov byte [rsp + 0x51], 0x64
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x53], 0
mov byte [rsp + 0x54], 0x90
mov byte [rsp + 0x55], 0x41
mov byte [rsp + 0x56], 0xc7
mov byte [rsp + 0x57], 0x40
mov byte [rsp + 0x58], 0x68
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x5a], 0
mov byte [rsp + 0x5b], pe_nt_image_headers64
mov byte [rsp + 0x5c], 0x3f
mov byte [rsp + 0x5d], 0x90
mov r9d, 0x40
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.14006faac
cmp dword [rsp + 0x98], 0
je 0x14000d5bf
mov qword [rsp + 0x20], 0x16
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.14006f9d4
jmp 0x14000d5e3
mov qword [rsp + 0x20], 0x16
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.14006f9d4
mov eax, 1
add rsp, 0x88
ret