joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d204
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, [0x14003e4c0]
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 0x14001d25b
cmp word [rdx], r13w
jne 0x14001d25b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001d260
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001d385
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001d3a6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001d299
mov rdx, r9
mov word [rbx], cx
jmp 0x14001d2c0
cmp r9, r8
jae 0x14001d2d0
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 0x14001d27a
jmp 0x14001d385
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 0x14001d37a
cmp dword [rsp + 0x80], esi
je 0x14001d37a
lea r8, [0x14003e4c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001d352
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001d322
mov word [rbx], r13w
jmp 0x14001d382
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 0x14001d32f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001d382
cmp word [rsp + 0x70], r13w
jne 0x14001d35f
cmp rbx, r14
je 0x14001d31c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001de6c
cmp word [rsp + 0x70], r13w
je 0x14001d385
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, [0x14003e4c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001d37f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001d385
Function at 0x140021fd4
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 0x140022004
xor eax, eax
jmp 0x1400220c7
mov rbp, rbx
cmp word [rax], si
je 0x140022029
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140022010
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002200c
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.1400205d4
movsxd r14, eax
test eax, eax
jne 0x140022067
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140021ffd
mov rcx, r14
call fcn.14001e0d0
mov rdi, rax
test rax, rax
jne 0x140022080
xor ecx, ecx
call fcn.14001a844
jmp 0x14002205c
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.1400205d4
test eax, eax
jne 0x1400220b1
mov rcx, rdi
call fcn.14001a844
jmp 0x1400220bb
xor ecx, ecx
call fcn.14001a844
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 0x140024f90
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001a4e4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140025031
cmp ebx, dword [rsp + 0x30]
je 0x14002502a
test esi, esi
je 0x14002502a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140025005
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140025012
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140024fef
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140025016
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140025033
mov eax, 1
jmp 0x140025033
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400279b4
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.140013e94
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140027a3e
cmp byte [rbp - 0x21], r15b
je 0x140027a39
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140027a74
call fcn.14001abc0
test eax, eax
jne 0x140027a60
cmp byte [rbp - 0x21], r15b
je 0x140027a58
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140027a74
cmp byte [rbp - 0x21], r15b
je 0x140027a71
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.140016588
test eax, eax
jne 0x140027b14
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140013e94
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140027ab3
cmp byte [rbp - 0x21], r15b
je 0x140027ae8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140027ae8
call fcn.14001abc0
test eax, eax
jne 0x140027ad4
cmp byte [rbp - 0x21], r15b
je 0x140027acd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140027ae8
cmp byte [rbp - 0x21], r15b
je 0x140027ae5
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.140016588
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027b14
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027b17
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140027b25
mov rcx, rdi
call fcn.14001a844
cmp byte [rbp + 0x3f], r15b
je 0x140027b34
mov rcx, qword [rbp + 0x27]
call fcn.14001a844
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 0x140028180
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.14001de6c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001de6c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400282d0
cmp rax, 0xffffffffffffffff
je 0x1400282d0
xor edi, edi
test rbp, rbp
jle 0x14002827b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001a880
mov rbx, rax
test rax, rax
jne 0x140028208
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028271
mov edx, 0x8000
mov ecx, r14d
call fcn.140017810
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.14001c5bc
cmp eax, 0xffffffff
je 0x140028251
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028218
mov edx, r15d
mov ecx, r14d
call fcn.140017810
jmp 0x140028271
cmp byte [rsi + 0x38], dil
je 0x140028268
cmp dword [rsi + 0x34], 5
jne 0x140028268
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028271
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a844
jmp 0x1400282e4
jns 0x1400282e4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001de6c
cmp rax, 0xffffffffffffffff
jne 0x14002829c
cmp byte [rsi + 0x30], dil
je 0x1400282e4
mov edi, dword [rsi + 0x2c]
jmp 0x1400282e4
mov ecx, r14d
call fcn.140022a3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400282e4
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 0x1400282e4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400282dd
mov eax, dword [rsi + 0x2c]
jmp 0x1400282e2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001de6c
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 0x140004db8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004f00
Function at 0x14000ceb4
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 0x14000cee4
xor eax, eax
jmp 0x14000cfa7
mov rbp, rbx
cmp word [rax], si
je 0x14000cf09
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000cef0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000ceec
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.14000cdd4
movsxd r14, eax
test eax, eax
jne 0x14000cf47
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000cedd
mov rcx, r14
call fcn.14000905c
mov rdi, rax
test rax, rax
jne 0x14000cf60
xor ecx, ecx
call fcn.1400080c4
jmp 0x14000cf3c
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.14000cdd4
test eax, eax
jne 0x14000cf91
mov rcx, rdi
call fcn.1400080c4
jmp 0x14000cf9b
xor ecx, ecx
call fcn.1400080c4
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 0x140010d48
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140010d5e
mov al, 1
jmp 0x140010dbe
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140010d6f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140010dbc
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000d40c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140010dbc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140010dbc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140010dbc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140010dbe
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400131c4
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.140007570
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001324e
cmp byte [rbp - 0x21], r15b
je 0x140013249
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140013284
call fcn.1400065a8
test eax, eax
jne 0x140013270
cmp byte [rbp - 0x21], r15b
je 0x140013268
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140013284
cmp byte [rbp - 0x21], r15b
je 0x140013281
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.14000c284
test eax, eax
jne 0x140013324
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140007570
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400132c3
cmp byte [rbp - 0x21], r15b
je 0x1400132f8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400132f8
call fcn.1400065a8
test eax, eax
jne 0x1400132e4
cmp byte [rbp - 0x21], r15b
je 0x1400132dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400132f8
cmp byte [rbp - 0x21], r15b
je 0x1400132f5
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.14000c284
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140013324
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140013327
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013335
mov rcx, rdi
call fcn.1400080c4
cmp byte [rbp + 0x3f], r15b
je 0x140013344
mov rcx, qword [rbp + 0x27]
call fcn.1400080c4
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 0x140001020
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x14001a008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, str.NtAllocateVirtualMemory
mov rcx, qword [0x14001bc08]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, str.NtCreateThreadEx
mov rcx, qword [0x14001bc08]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, qword [0x14001bc08]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x90], 0xd5
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x98], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [rsp + 0x68]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 1
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call qword [rsp + 0x70]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x88]
call qword [rsp + 0x78]
mov dword [rsp + 0x60], eax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400011b0
add rsp, 0xb8
ret

Function at 0x140001bac
Capabilities:
Parse pe header

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

Function at 0x140005da4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005ba0
Function at 0x140008e6c
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 0x140008e9c
xor eax, eax
jmp 0x140008f5f
mov rbp, rbx
cmp word [rax], si
je 0x140008ec1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008ea8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008ea4
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.140008d8c
movsxd r14, eax
test eax, eax
jne 0x140008eff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008e95
mov rcx, r14
call fcn.140009d48
mov rdi, rax
test rax, rax
jne 0x140008f18
xor ecx, ecx
call fcn.1400073ec
jmp 0x140008ef4
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.140008d8c
test eax, eax
jne 0x140008f49
mov rcx, rdi
call fcn.1400073ec
jmp 0x140008f53
xor ecx, ecx
call fcn.1400073ec
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 0x14000c450
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.140007e5c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c4da
cmp byte [rbp - 0x21], r15b
je 0x14000c4d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c510
call fcn.14000a558
test eax, eax
jne 0x14000c4fc
cmp byte [rbp - 0x21], r15b
je 0x14000c4f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c510
cmp byte [rbp - 0x21], r15b
je 0x14000c50d
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.14000743c
test eax, eax
jne 0x14000c5b0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140007e5c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c54f
cmp byte [rbp - 0x21], r15b
je 0x14000c584
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c584
call fcn.14000a558
test eax, eax
jne 0x14000c570
cmp byte [rbp - 0x21], r15b
je 0x14000c569
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c584
cmp byte [rbp - 0x21], r15b
je 0x14000c581
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.14000743c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c5b0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c5b3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c5c1
mov rcx, rdi
call fcn.1400073ec
cmp byte [rbp + 0x3f], r15b
je 0x14000c5d0
mov rcx, qword [rbp + 0x27]
call fcn.1400073ec
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 0x14000f400
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f428
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f428
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400110e4
Capabilities:
Get file version info

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
movsxd rax, dword [rsp + 0x60]
mov ecx, 0xc712ede1
cmp rax, rcx
jne 0x1400111c5
mov dword [rsp + 0x40], 0
xor edx, edx
lea rcx, [0x1400d70f0]
call qword [sym.imp.SensApi.dll_IsDestinationReachableA]
xor ecx, ecx
call qword [sym.imp.SensApi.dll_IsNetworkAlive]
xor edx, edx
lea rcx, [0x1400d8204]
call qword [sym.imp.SensApi.dll_IsDestinationReachableW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400d70f0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d70f0]
xor ecx, ecx
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf0
mov dword [rsp + 0x20], 0x140
xor r9d, r9d
xor r8d, r8d
mov edx, 0xcf0000
lea rcx, [0x1400d70f0]
call qword [sym.imp.AVICAP32.dll_capCreateCaptureWindowA]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetShareEnum]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140011440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400e5b60]
test rax, rax
je 0x140011462
call rax
mov al, 1
jmp 0x1400115be
xor r9d, r9d
mov dword [rbp - 0x30], 0xad21ff64
mov cl, 0x64
mov dword [rbp - 0x2c], 0x3ea5c96f
mov dword [rbp - 0x28], 0x8e738f
movabs rbx, 0x8080808080808081
lea r10d, [r9 + 0xa]
movsx eax, cl
inc eax
movsxd r8, eax
lea rax, [r9 + 0xa]
imul r8, rax
mov rax, rbx
mul r8
shr rdx, 7
imul rax, rdx, 0xff
movsx rdx, cl
sub r8, rax
mov al, r9b
and al, 7
shl al, 3
mov cl, al
mov rax, rbx
sar rdx, cl
mov rcx, r10
xor r8b, dl
mul r10
add r10, 0xa
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor byte [rbp + r9 - 0x2f], r8b
inc r9
cmp r10, 0x6e
jae 0x1400114f3
mov cl, byte [rbp - 0x30]
jmp 0x14001148a
lea rcx, [rbp - 0x2f]
mov byte [rbp - 0x25], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
je 0x1400115bc
movdqa xmm0, xmmword [0x1400d82c0]
xor eax, eax
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0xaeebc938
xor r10d, r10d
mov word [rbp - 0xc], 0xeb05
lea r11d, [rax + 0x15]
mov byte [rbp - 0xa], al
movsx eax, byte [rbp - 0x20]
mov cl, r10b
inc eax
and cl, 7
movsxd r8, eax
lea rax, [r10 + 0x15]
imul r8, rax
shl cl, 3
mov rax, rbx
mul r8
shr rdx, 7
imul rax, rdx, 0xff
movsx rdx, byte [rbp - 0x20]
sub r8, rax
sar rdx, cl
xor r8b, dl
mov rcx, r11
mov rax, rbx
mul r11
add r11, 0x15
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor byte [rbp + r10 - 0x1f], r8b
inc r10
cmp r11, 0x1ce
jb 0x140011533
lea rdx, [rbp - 0x1f]
mov byte [rbp - 0xa], 0
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e5b60], rax
test rax, rax
jne 0x140011459
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret