joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b27f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov dword [rsp + 0x40], 0x370035
mov r14d, r8d
mov dword [rsp + 0x44], 0x390042
xor r8d, r8d
mov dword [rsp + 0x48], 0x320044
mov dword [rsp + 0x4c], 0x370035
mov esi, r9d
mov dword [rsp + 0x50], 0x34002d
mov dword [rsp + 0x54], 0x360035
mov dword [rsp + 0x58], 0x2d0030
mov dword [rbp - 0x7d], 0x460034
mov dword [rbp - 0x79], 0x420044
mov dword [rbp - 0x75], 0x39002d
mov dword [rbp - 0x71], 0x430030
mov dword [rbp - 0x6d], 0x2d0036
mov dword [rbp - 0x69], 0x410042
mov dword [rbp - 0x65], 0x330034
mov dword [rbp - 0x61], 0x360046
mov dword [rbp - 0x5d], 0x440043
mov dword [rbp - 0x59], 0x440046
mov dword [rbp - 0x55], 0x450045
mov word [rbp - 0x51], r8w
mov dword [rbp - 0x49], 0x340038
mov dword [rbp - 0x45], 0x300039
mov dword [rbp - 0x41], 0x350045
mov dword [rbp - 0x3d], 0x350041
mov dword [rbp - 0x39], 0x34002d
mov dword [rbp - 0x35], 0x360044
mov dword [rbp - 0x31], 0x2d0030
mov dword [rbp - 0x2d], 0x390034
mov dword [rbp - 0x29], 0x410043
mov dword [rbp - 0x25], 0x42002d
mov dword [rbp - 0x21], 0x310042
mov dword [rbp - 0x1d], 0x2d0030
mov dword [rbp - 0x19], 0x440046
mov dword [rbp - 0x15], 0x450033
mov dword [rbp - 0x11], 0x450041
mov dword [rbp - 0xd], 0x380044
mov dword [rbp - 9], 0x390044
mov dword [rbp - 5], 0x320030
mov word [rbp - 1], r13w
test rcx, rcx
jne 0x1400b2941
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x1400b29ca
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
call fcn.1400d0538
mov rdi, rax
mov rax, qword [rax]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403358c8]
mov r15d, 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], r15d
lea rdx, [rsp + 0x30]
mov r9d, r14d
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rbx
mov ebx, eax
test eax, eax
js 0x1400b29c8
call fcn.1400d0538
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
mov rcx, rbx
call qword [0x1403358c8]
mov r9d, esi
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x49]
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
jns 0x1400b29cf
mov ecx, eax
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14001af10
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b3384
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x20]
call fcn.1400b2f64
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.systemroot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [0x1406024d8]
mov ebx, eax
lea rcx, [0x1404d805e]
call fcn.140004a20
test ebx, ebx
jne 0x1400b3405
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140600ac0]
mov ebx, eax
lea rcx, [0x1404afd5e]
call fcn.1400050c0
mov ecx, ebx
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
jmp 0x1400b34d9
lea rdx, [rsp + 0x30]
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1400b3467
lea rdx, [0x1405ffefc]
lea rcx, [0x1403dd5dc]
call fcn.140003610
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1405fd0c0]
mov ebx, eax
lea rcx, [0x14052b250]
call fcn.140004690
mov ecx, ebx
call fcn.14003de7c
lea rcx, [0x14043df5b]
mov ebx, eax
lea rdx, [0x1405fc0b8]
call fcn.140004330
jmp 0x1400b34d7
lea rcx, [rsp + 0x20]
call fcn.1400b325c
lea rdx, [0x140600fe8]
mov ebx, eax
lea rcx, [0x1403f1cf2]
call fcn.140003990
test ebx, ebx
jns 0x1400b34a6
mov ecx, ebx
call fcn.14003e600
lea rdx, [0x1406027e0]
lea rcx, [0x14042ba8e]
call fcn.140003cd0
jmp 0x1400b34de
call fcn.1400b3b80
lea rdx, [0x1405fdcec]
mov ebx, eax
lea rcx, [0x1404614e9]
call fcn.140004000
test ebx, ebx
jns 0x1400b34de
lea rdx, [0x140600318]
lea rcx, [0x14057195e]
call fcn.140005430
mov ecx, ebx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rsp + 0x20]
call fcn.1400b2fbc
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001af10
add rsp, 0x250
pop rbx
ret

Function at 0x1400b43dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call fcn.1400b4204
lea rdx, [0x140602cdc]
lea rcx, [0x140505004]
call fcn.140004690
call fcn.1400b3384
lea rdx, [0x1405ffe24]
mov ebp, eax
lea rcx, [0x140497911]
call fcn.140004d70
lea rdx, [0x1405fe660]
lea rcx, [0x1405462f4]
call fcn.140003cd0
call fcn.1400b42d8
lea rdx, [0x1405ffddc]
lea rcx, [0x1404203a7]
call fcn.1400050c0
xor esi, esi
test ebp, ebp
jns 0x1400b446f
mov ecx, ebp
call fcn.14003e600
lea rdx, [0x1405fb008]
lea rcx, [0x1405b5198]
call fcn.140004000
jmp 0x1400b44ca
mov ebx, dword [0x140605fb8]
lea rdx, [0x1406004a8]
lea rcx, [0x1403e5473]
call fcn.140004a20
test ebx, ebx
lea rdx, [0x1405fd8c8]
mov edi, esi
lea rcx, [0x140534310]
sete dil
call fcn.140004330
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [0x1405fe7b8]
mov rbx, rax
lea rcx, [0x1404741a9]
call fcn.140003610
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebp
call fcn.14006a86c
lea rdx, [0x1405fc690]
lea rcx, [0x1404449d0]
call fcn.140005430
mov rbx, qword [rsp + 0x30]
test ebp, ebp
mov rbp, qword [rsp + 0x38]
sets sil
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b78f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov eax, dword [0x14033b600]
lea rcx, [rsp + 0x60]
and qword [rsp + 0x30], 0
mov rdi, rdx
and qword [rsp + 0x38], 0
mov ebx, 0x104
and qword [rsp + 0x40], 0
mov edx, ebx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], eax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400b7973
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
call fcn.14003e600
jmp 0x1400b7a12
lea r8, [rsp + 0x48]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14007a710
mov ebx, eax
test eax, eax
js 0x1400b7967
mov rdx, qword [rsp + 0x48]
mov eax, 0x5c
cmp ax, word [rsp + rdx*2 + 0x5e]
je 0x1400b79a8
mov eax, 0x2f
cmp ax, word [rsp + rdx*2 + 0x5e]
jne 0x1400b79ab
dec rdx
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140077b8c
mov ebx, eax
test eax, eax
js 0x1400b7967
lea rdx, [rsp + 0x40]
lea rcx, str.kernel32.dll
call fcn.14003f3c8
mov ebx, eax
test eax, eax
js 0x1400b7967
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x54]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov edx, 3
mov qword [rsp + 0x20], rax
call fcn.140077c58
mov ebx, eax
test eax, eax
js 0x1400b7967
mov rax, qword [rsp + 0x30]
and qword [rsp + 0x30], 0
mov qword [rdi], rax
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rsp + 0x40]
call fcn.14003b968
lea rcx, [rsp + 0x38]
call fcn.14003b968
lea rcx, [rsp + 0x30]
call fcn.14003b968
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14001af10
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400b9f68
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400b9fb2
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b9f9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
jmp 0x1400b9fb9
test al, 1
je 0x1400b9fbe
and eax, 0xfffffffe
mov rcx, rdi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400b9fbe
jmp 0x1400b9f87
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400baf7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov ebx, ecx
mov rsi, r8
lea rcx, [rbp - 0x39]
mov rdi, rdx
call fcn.140109868
xor r14d, r14d
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r14
test ebx, ebx
je 0x1400bb044
cmp ebx, 1
je 0x1400bafcb
mov ebx, 0x80070057
jmp 0x1400bb0dc
mov dword [rbp - 0x29], 0x660032
mov dword [rbp - 0x25], 0x320030
mov dword [rbp - 0x21], 0x300030
mov dword [rbp - 0x1d], 0x340030
mov dword [rbp - 0x19], 0x30002d
mov dword [rbp - 0x15], 0x310039
mov dword [rbp - 0x11], 0x2d0062
mov dword [rbp - 0xd], 0x350034
mov dword [rbp - 9], 0x650030
mov dword [rbp - 1], 0x300032
mov dword [rbp + 3], 0x2d0065
mov dword [rbp + 7], 0x330038
mov dword [rbp + 0xb], 0x650037
mov dword [rbp + 0xf], 0x380063
mov dword [rbp + 0x13], 0x300063
mov dword [rbp + 0x17], 0x380066
mov dword [rbp + 0x1b], 0x660035
jmp 0x1400bb0bb
mov dword [rbp - 0x29], 0x320036
mov dword [rbp - 0x25], 0x380031
mov dword [rbp - 0x21], 0x660033
mov dword [rbp - 0x1d], 0x370038
mov dword [rbp - 0x19], 0x65002d
mov dword [rbp - 0x15], 0x390034
mov dword [rbp - 0x11], 0x2d0035
mov dword [rbp - 0xd], 0x610034
mov dword [rbp - 9], 0x640063
mov dword [rbp - 1], 0x390064
mov dword [rbp + 3], 0x2d0038
mov dword [rbp + 7], 0x310033
mov dword [rbp + 0xb], 0x360062
mov dword [rbp + 0xf], 0x370035
mov dword [rbp + 0x13], 0x370036
mov dword [rbp + 0x17], 0x340037
mov dword [rbp + 0x1b], 0x300033
mov r8d, 0x7fffffff
mov dword [rbp - 5], 0x61002d
lea rdx, [rbp - 0x49]
mov word [rbp + 0x1f], r14w
lea rcx, [rbp - 0x29]
call fcn.14003cb8c
mov ebx, eax
test ebx, ebx
jns 0x1400bb0e4
mov ecx, ebx
jmp 0x1400bb136
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.1400688e0
mov ebx, eax
test eax, eax
js 0x1400bb134
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.14003f504
mov ebx, eax
test eax, eax
js 0x1400bb134
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x39]
call fcn.14003c820
mov ebx, eax
test eax, eax
js 0x1400bb134
mov rcx, qword [rbp - 0x39]
mov r8d, 0x7fffffff
mov rdx, rsi
call fcn.14003cb8c
mov ebx, eax
test eax, eax
jns 0x1400bb13b
mov ecx, eax
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x41]
call fcn.1400b645c
lea rcx, [rbp - 0x49]
call fcn.1400b645c
lea rcx, [rbp - 0x39]
call fcn.1400b66b8
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bbc5c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov r12, rdx
lea r8, [rsp + 0x20]
mov edx, 0x104
mov r11, rcx
call fcn.14007a710
xor r13d, r13d
mov ebx, eax
test eax, eax
js 0x1400bbe51
mov r14d, 0x105
lea rcx, [rsp + 0x30]
mov edx, r14d
mov r8, r11
call fcn.14007a6d4
mov ebx, eax
test eax, eax
js 0x1400bbe51
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
lea edx, [r13 + 1]
call fcn.1400afa88
mov ebx, eax
test eax, eax
js 0x1400bbe51
mov rax, qword [rsp + 0x20]
lea ecx, [r13 + 0x5c]
add rax, rax
cmp word [rsp + rax + 0x30], cx
jne 0x1400bbd10
cmp rax, 0x20a
jae 0x1400bbe94
mov word [rsp + rax + 0x30], r13w
cmp word [rsp + 0x30], cx
lea rax, [rsp + 0x30]
lea rdi, [rsp + 0x32]
mov word [rbp + 0x140], r13w
cmovne rdi, rax
mov r15d, r13d
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
mov r8, rdi
lea rcx, [rbp + 0x350]
mov rsi, rax
test rax, rax
jne 0x1400bbd63
mov rdx, r14
call fcn.14007a6d4
mov ebx, eax
test eax, eax
js 0x1400bbe51
lea r15d, [rsi + 1]
jmp 0x1400bbdab
mov r14, rax
mov edx, 0x105
sub r14, rdi
sar r14, 1
mov r9, r14
call fcn.1402c78d0
mov ebx, eax
test eax, eax
js 0x1400bbe51
cmp rsi, rdi
jb 0x1400bbe8b
add r14, r14
cmp r14, 0x20a
jae 0x1400bbe9a
mov word [rbp + r14 + 0x350], r13w
mov r14d, 0x105
lea r8, [rbp + 0x350]
mov rdx, r14
lea rcx, [rbp + 0x140]
call fcn.1400dfdfc
mov ebx, eax
test eax, eax
js 0x1400bbe51
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400bbde1
test al, 0x10
jne 0x1400bbe0f
mov eax, r15d
lea rcx, [rbp + 0x140]
neg eax
sbb rdx, rdx
and rdx, r12
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400bbe42
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400bbe42
test rsi, rsi
je 0x1400bbe34
lea r8, [0x14033b600]
mov rdx, r14
lea rcx, [rbp + 0x140]
lea rdi, [rsi + 2]
call fcn.1400dfdfc
mov ebx, eax
test eax, eax
js 0x1400bbe51
test r15d, r15d
jne 0x1400bbe58
lea ecx, [r15 + 0x5c]
jmp 0x1400bbd2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
mov eax, ebx
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14001af10
mov rbx, qword [rsp + 0x6c0]
add rsp, 0x670
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, 0x80070216
mov ecx, ebx
jmp 0x1400bbe53
call fcn.14001b1b8
int3
call fcn.14001b1b8
int3
Function at 0x1400c35d8
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp dword [0x1406067f0], 1
je 0x1400c35f2
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x1400c3617
mov r8, rcx
mov rcx, qword [0x1406052c8]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1400c361c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400cef6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov dword [rbp - 0x38], 0x73006d
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], r14
mov r8, rcx
mov word [rbp - 0xc], r14w
sub r8, rax
mov dword [rbp - 0x34], 0x740066
mov rdi, rdx
mov dword [rbp - 0x30], 0x73003a
mov r9, rcx
mov dword [rbp - 0x2c], 0x700070
mov dword [rbp - 0x28], 0x63002f
mov dword [rbp - 0x24], 0x630061
mov dword [rbp - 0x20], 0x650068
mov dword [rbp - 0x1c], 0x740073
mov dword [rbp - 0x18], 0x72006f
mov dword [rbp - 0x14], 0x2f0065
mov dword [rbp - 0x10], 0x730025
mov dword [rbp - 0x48], 0x6d0048
mov dword [rbp - 0x44], 0x630061
mov dword [rbp - 0x40], 0x65004b
mov dword [rbp - 0x3c], 0x79
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x1400cf028
add rax, 2
test edx, edx
jne 0x1400cf014
test ecx, ecx
jne 0x1400cf03a
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14003e600
jmp 0x1400cf05f
mov r8, r9
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call fcn.140077bf4
mov ebx, eax
test eax, eax
jns 0x1400cf054
mov ecx, eax
jmp 0x1400cf033
mov rax, qword [rbp - 0x50]
mov qword [rdi], rax
mov qword [rbp - 0x50], r14
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x50]
call fcn.14003b968
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001af10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400d7e1c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x90
call fcn.14001ba6e
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1400d7e81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ecx, eax
mov ebx, eax
call fcn.14003e600
jmp 0x1400d7ea2
cmp dword [rsp + 0x30], 2
jne 0x1400d7e9e
cmp dword [rsp + 0x24], 5
ja 0x1400d7e97
jne 0x1400d7e9e
cmp dword [rsp + 0x28], ebx
jbe 0x1400d7e9e
mov eax, 1
jmp 0x1400d7ea0
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.14006a86c
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001af10
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x1400d8850
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
or qword [rbp - 0x10], 0xffffffffffffffff
xor ebx, ebx
mov qword [rbp - 8], rbx
mov r14, r8
mov r15, rdx
test rcx, rcx
jne 0x1400d888a
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14003e600
jmp 0x1400d896f
test rdx, rdx
je 0x1400d8879
test r8, r8
je 0x1400d8879
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14003bd88
cmp qword [rbp - 0x10], 0xffffffffffffffff
jne 0x1400d88e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ebx, eax
mov ecx, eax
jmp 0x1400d8880
lea rcx, [rbp - 0x10]
call fcn.140039774
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
je 0x1400d88ce
cmp dword [rbp + 0x30], ebx
jne 0x1400d8879
mov ecx, edi
call fcn.14011ea0c
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.1400b69c4
mov rsi, qword [rbp - 8]
test rsi, rsi
jne 0x1400d892d
mov ecx, 0x8007000e
jmp 0x1400d887e
lea rcx, [rbp - 0x10]
call fcn.140039774
mov rdx, rsi
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r9, [rbp + 0x48]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d88ce
cmp dword [rbp + 0x48], edi
je 0x1400d8965
mov ecx, 0x8000ffff
jmp 0x1400d887e
mov dword [r15], edi
mov qword [rbp - 8], rbx
mov qword [r14], rsi
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 8]
call fcn.1401bd27c
lea rcx, [rbp - 0x10]
call fcn.1402c23fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d9574
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x50
movzx ebp, dx
xor ebx, ebx
test rcx, rcx
mov qword [rax + 8], rbx
lea rdx, str.Software_Protection_Platform_Service
movzx edi, r9w
cmovne rdx, rcx
mov esi, r8d
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400b6ce0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400d9607
mov rax, qword [rsp + 0x90]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov r9d, esi
mov rax, qword [rsp + 0x88]
movzx edx, bp
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov word [rsp + 0x28], di
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x1400d961d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de7c
mov ecx, eax
mov ebx, eax
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rsp + 0x60]
call fcn.1400b66d0
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400df550
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 8], 0
mov r14, r8
and qword [rbp - 0x10], 0
mov rsi, rdx
and qword [rbp - 0x18], 0
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400df5ac
lea rdx, [rbp - 0x10]
call fcn.1400c9890
mov ebx, eax
test eax, eax
jns 0x1400df5a1
mov ecx, eax
jmp 0x1400df625
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rdi, rax
lea r9, [rbp - 8]
mov r8d, 2
mov rdx, rsi
mov rcx, rdi
call fcn.14003a0bc
mov ebx, eax
test eax, eax
js 0x1400df59a
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.140077ee8
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400df59a
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400df5ef
mov ecx, dword [rbp + 0x40]
lea rax, [rbp + 0x38]
jmp 0x1400df5f2
mov ecx, dword [rbp - 0x20]
mov dword [rsp + 0x28], ecx
mov r9d, 4
mov rcx, qword [rbp - 8]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.14003dfe4
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x1400df62a
mov ecx, ebx
call fcn.14003e600
mov ecx, ebx
call fcn.14006a86c
lea rcx, [rbp - 0x18]
call fcn.14019c76c
lea rcx, [rbp - 0x10]
call fcn.14003b9a8
lea rcx, [rbp - 8]
call fcn.14003b9a8
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400e113c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov dword [rbp - 0x39], 0x73006d
mov rsi, rcx
mov qword [rbp - 0x61], r14
mov dword [rbp - 0x35], 0x740066
mov dword [rbp - 0x31], 0x73003a
mov dword [rbp - 0x2d], 0x700070
mov dword [rbp - 0x29], 0x63002f
mov dword [rbp - 0x25], 0x630061
mov dword [rbp - 0x21], 0x650068
mov dword [rbp - 0x1d], 0x740073
mov dword [rbp - 0x19], 0x72006f
mov dword [rbp - 0x15], 0x2f0065
mov dword [rbp - 0x11], 0x730025
mov word [rbp - 0xd], r14w
mov dword [rbp - 0x49], 0x6d0048
mov dword [rbp - 0x45], 0x630061
mov dword [rbp - 0x41], 0x65004b
mov dword [rbp - 0x3d], 0x79
mov qword [rbp - 0x69], r14
cmp dword [rcx + 0x88], r14d
jne 0x1400e131e
cmp dword [rcx + 0x78], r14d
je 0x1400e131e
lea r15d, [r14 + 0x40]
mov edx, r15d
lea rcx, [rbp - 9]
call fcn.1400c35d8
mov edi, eax
test eax, eax
jns 0x1400e1219
mov ecx, eax
jmp 0x1400e1323
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.140077bf4
mov edi, eax
test eax, eax
js 0x1400e1212
lea rax, str.__Global__
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x59], rax
call fcn.1400d0538
mov rbx, rax
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
mov rcx, rdi
call qword [0x1403358c8]
mov r8, qword [rbp - 0x61]
lea r9, [rbp - 9]
mov dword [rsp + 0x30], 1
lea rdx, [rbp - 0x59]
mov dword [rsp + 0x28], r14d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call rdi
mov edi, eax
test eax, eax
js 0x1400e1212
call fcn.1400d04e0
mov rbx, rax
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov rcx, rdi
call qword [0x1403358c8]
lea r8, [rbp - 0x69]
mov edx, r15d
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x1400e1212
mov rdi, qword [rbp - 0x69]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x1403358c8]
mov r9d, r15d
lea r8, [rbp - 9]
xor edx, edx
mov rcx, rdi
call rbx
mov edi, eax
test eax, eax
js 0x1400e1212
xor eax, eax
lea rdi, [rbp - 9]
mov rcx, r15
rep stosb byte [rdi], al
lea rcx, [rsi + 0x70]
call fcn.14007cb1c
mov rdx, qword [rbp - 0x69]
lea rcx, [rsi + 0x70]
mov qword [rbp - 0x69], r14
call fcn.14003cdb4
mov rcx, rsi
mov dword [rsi + 0x78], r14d
call fcn.1400dd604
mov edi, eax
test eax, eax
js 0x1400e1212
mov dword [rsi + 0x7c], 1
jmp 0x1400e1328
mov edi, r14d
xor ecx, ecx
call fcn.14003e600
mov ecx, edi
call fcn.14006a86c
lea rcx, [rbp - 0x69]
call fcn.140109cb4
lea rcx, [rbp - 0x61]
call fcn.14003b968
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001af10
lea r11, [rsp + 0xf0]
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