joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2598
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 [0x1405f8008]
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 0x1400b26e9
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x1400b2772
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
call fcn.1400cf628
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 0x1400b2770
call fcn.1400cf628
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 0x1400b2777
mov ecx, eax
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14001af80
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b3184
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1405f8008]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x20]
call fcn.1400b2d54
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.systemroot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [0x1406004d8]
mov ebx, eax
lea rcx, [0x1404d12ae]
call fcn.140005090
test ebx, ebx
jne 0x1400b3205
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1405feac0]
mov ebx, eax
lea rcx, [0x1404af49e]
call fcn.140004d20
mov ecx, ebx
call fcn.14003de94
mov ebx, eax
mov ecx, eax
jmp 0x1400b32d9
lea rdx, [rsp + 0x30]
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1400b3267
lea rdx, [0x1405fdefc]
lea rcx, [0x1403d8edc]
call fcn.140004640
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1405fb0c0]
mov ebx, eax
lea rcx, [0x14051c590]
call fcn.140003980
mov ecx, ebx
call fcn.14003de94
lea rcx, [0x14043f26b]
mov ebx, eax
lea rdx, [0x1405fa0b8]
call fcn.140003cb0
jmp 0x1400b32d7
lea rcx, [rsp + 0x20]
call fcn.1400b305c
lea rdx, [0x1405fefe8]
mov ebx, eax
lea rcx, [0x1403f1062]
call fcn.1400049d0
test ebx, ebx
jns 0x1400b32a6
mov ecx, ebx
call fcn.14003e510
lea rdx, [0x1406007e0]
lea rcx, [0x140424c4e]
call fcn.140003610
jmp 0x1400b32de
call fcn.1400b3980
lea rdx, [0x1405fbcec]
mov ebx, eax
lea rcx, [0x14045f879]
call fcn.140005400
test ebx, ebx
jns 0x1400b32de
lea rdx, [0x1405fe318]
lea rcx, [0x14057044e]
call fcn.1400042e0
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x20]
call fcn.1400b2dbc
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001af80
add rsp, 0x250
pop rbx
ret

Function at 0x1400b41dc
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.1400b4004
lea rdx, [0x140600cdc]
lea rcx, [0x1404f9a84]
call fcn.140003980
call fcn.1400b3184
lea rdx, [0x1405fde24]
mov ebp, eax
lea rcx, [0x140492ca6]
call fcn.140003fd0
lea rdx, [0x1405fc660]
lea rcx, [0x14053e04f]
call fcn.140003610
call fcn.1400b40d8
lea rdx, [0x1405fdddc]
lea rcx, [0x14041bcd7]
call fcn.140004d20
xor esi, esi
test ebp, ebp
jns 0x1400b426f
mov ecx, ebp
call fcn.14003e510
lea rdx, [0x1405f9008]
lea rcx, [0x1405b14e8]
call fcn.140005400
jmp 0x1400b42ca
mov ebx, dword [0x140603fb8]
lea rdx, [0x1405fe4a8]
lea rcx, [0x1403e18e3]
call fcn.140005090
test ebx, ebx
lea rdx, [0x1405fb8c8]
mov edi, esi
lea rcx, [0x140524fe0]
sete dil
call fcn.140003cb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [0x1405fc7b8]
mov rbx, rax
lea rcx, [0x14046d5b9]
call fcn.140004640
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebp
call fcn.14006a5bc
lea rdx, [0x1405fa690]
lea rcx, [0x140446630]
call fcn.1400042e0
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 0x1400b7670
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 [0x1405f8008]
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 0x1400b76f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
call fcn.14003e510
jmp 0x1400b7792
lea r8, [rsp + 0x48]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140079f10
mov ebx, eax
test eax, eax
js 0x1400b76e7
mov rdx, qword [rsp + 0x48]
mov eax, 0x5c
cmp ax, word [rsp + rdx*2 + 0x5e]
je 0x1400b7728
mov eax, 0x2f
cmp ax, word [rsp + rdx*2 + 0x5e]
jne 0x1400b772b
dec rdx
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140077698
mov ebx, eax
test eax, eax
js 0x1400b76e7
lea rdx, [rsp + 0x40]
lea rcx, str.kernel32.dll
call fcn.14003f2d8
mov ebx, eax
test eax, eax
js 0x1400b76e7
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.140077764
mov ebx, eax
test eax, eax
js 0x1400b76e7
mov rax, qword [rsp + 0x30]
and qword [rsp + 0x30], 0
mov qword [rdi], rax
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x40]
call fcn.14003ba98
lea rcx, [rsp + 0x38]
call fcn.14003ba98
lea rcx, [rsp + 0x30]
call fcn.14003ba98
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14001af80
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400b9d60
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 0x1400b9daa
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b9d92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
jmp 0x1400b9db1
test al, 1
je 0x1400b9db6
and eax, 0xfffffffe
mov rcx, rdi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400b9db6
jmp 0x1400b9d7f
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bad5c
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.140108b74
xor r14d, r14d
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r14
test ebx, ebx
je 0x1400bae24
cmp ebx, 1
je 0x1400badab
mov ebx, 0x80070057
jmp 0x1400baebc
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 0x1400bae9b
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.14003ccbc
mov ebx, eax
test ebx, ebx
jns 0x1400baec4
mov ecx, ebx
jmp 0x1400baf16
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.140068660
mov ebx, eax
test eax, eax
js 0x1400baf14
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.14003f414
mov ebx, eax
test eax, eax
js 0x1400baf14
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x39]
call fcn.14003c944
mov ebx, eax
test eax, eax
js 0x1400baf14
mov rcx, qword [rbp - 0x39]
mov r8d, 0x7fffffff
mov rdx, rsi
call fcn.14003ccbc
mov ebx, eax
test eax, eax
jns 0x1400baf1b
mov ecx, eax
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x41]
call fcn.14003b788
lea rcx, [rbp - 0x49]
call fcn.14003b788
lea rcx, [rbp - 0x39]
call fcn.14003b3a0
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 0x1400bba8c
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 [0x1405f8008]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov r12, rdx
lea r8, [rsp + 0x20]
mov edx, 0x104
mov r11, rcx
call fcn.140079f10
xor r13d, r13d
mov ebx, eax
test eax, eax
js 0x1400bbc81
mov r14d, 0x105
lea rcx, [rsp + 0x30]
mov edx, r14d
mov r8, r11
call fcn.140079ed4
mov ebx, eax
test eax, eax
js 0x1400bbc81
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
lea edx, [r13 + 1]
call fcn.1400af738
mov ebx, eax
test eax, eax
js 0x1400bbc81
mov rax, qword [rsp + 0x20]
lea ecx, [r13 + 0x5c]
add rax, rax
cmp word [rsp + rax + 0x30], cx
jne 0x1400bbb40
cmp rax, 0x20a
jae 0x1400bbcc4
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 0x1400bbb93
mov rdx, r14
call fcn.140079ed4
mov ebx, eax
test eax, eax
js 0x1400bbc81
lea r15d, [rsi + 1]
jmp 0x1400bbbdb
mov r14, rax
mov edx, 0x105
sub r14, rdi
sar r14, 1
mov r9, r14
call fcn.1400deff0
mov ebx, eax
test eax, eax
js 0x1400bbc81
cmp rsi, rdi
jb 0x1400bbcbb
add r14, r14
cmp r14, 0x20a
jae 0x1400bbcca
mov word [rbp + r14 + 0x350], r13w
mov r14d, 0x105
lea r8, [rbp + 0x350]
mov rdx, r14
lea rcx, [rbp + 0x140]
call fcn.1400def9c
mov ebx, eax
test eax, eax
js 0x1400bbc81
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400bbc11
test al, 0x10
jne 0x1400bbc3f
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 0x1400bbc72
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400bbc72
test rsi, rsi
je 0x1400bbc64
lea r8, [0x14033b600]
mov rdx, r14
lea rcx, [rbp + 0x140]
lea rdi, [rsi + 2]
call fcn.1400def9c
mov ebx, eax
test eax, eax
js 0x1400bbc81
test r15d, r15d
jne 0x1400bbc88
lea ecx, [r15 + 0x5c]
jmp 0x1400bbb5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
mov eax, ebx
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14001af80
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 0x1400bbc83
call fcn.14001b228
int3
call fcn.14001b228
int3
Function at 0x1400c30e8
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp dword [0x1406047f0], 1
je 0x1400c3102
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x1400c3127
mov r8, rcx
mov rcx, qword [0x1406032c8]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1400c312c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400ce0cc
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 [0x1405f8008]
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 0x1400ce188
add rax, 2
test edx, edx
jne 0x1400ce174
test ecx, ecx
jne 0x1400ce19a
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14003e510
jmp 0x1400ce1bf
mov r8, r9
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call fcn.140077700
mov ebx, eax
test eax, eax
jns 0x1400ce1b4
mov ecx, eax
jmp 0x1400ce193
mov rax, qword [rbp - 0x50]
mov qword [rdi], rax
mov qword [rbp - 0x50], r14
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x50]
call fcn.14003ba98
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001af80
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 0x1400d6f28
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1405f8008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x90
call fcn.14001bade
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1400d6f8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ecx, eax
mov ebx, eax
call fcn.14003e510
jmp 0x1400d6fae
cmp dword [rsp + 0x30], 2
jne 0x1400d6faa
cmp dword [rsp + 0x24], 5
ja 0x1400d6fa3
jne 0x1400d6faa
cmp dword [rsp + 0x28], ebx
jbe 0x1400d6faa
mov eax, 1
jmp 0x1400d6fac
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.14006a5bc
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001af80
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x1400d7920
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 0x1400d795a
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14003e510
jmp 0x1400d7a3f
test rdx, rdx
je 0x1400d7949
test r8, r8
je 0x1400d7949
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.14003bf24
cmp qword [rbp - 0x10], 0xffffffffffffffff
jne 0x1400d79b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ebx, eax
mov ecx, eax
jmp 0x1400d7950
lea rcx, [rbp - 0x10]
call fcn.140039858
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
je 0x1400d799e
cmp dword [rbp + 0x30], ebx
jne 0x1400d7949
mov ecx, edi
call fcn.1400b74d4
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140199b84
mov rsi, qword [rbp - 8]
test rsi, rsi
jne 0x1400d79fd
mov ecx, 0x8007000e
jmp 0x1400d794e
lea rcx, [rbp - 0x10]
call fcn.140039858
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 0x1400d799e
cmp dword [rbp + 0x48], edi
je 0x1400d7a35
mov ecx, 0x8000ffff
jmp 0x1400d794e
mov dword [r15], edi
mov qword [rbp - 8], rbx
mov qword [r14], rsi
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 8]
call fcn.140109010
lea rcx, [rbp - 0x10]
call fcn.14003baa4
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d8644
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.1400b6a1c
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400d86d7
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 0x1400d86ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003de94
mov ecx, eax
mov ebx, eax
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rsp + 0x60]
call fcn.1400b63e8
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 0x1400de6f8
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 0x1400de754
lea rdx, [rbp - 0x10]
call fcn.14007b060
mov ebx, eax
test eax, eax
jns 0x1400de749
mov ecx, eax
jmp 0x1400de7cd
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.14003a1c8
mov ebx, eax
test eax, eax
js 0x1400de742
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.140077a20
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400de742
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400de797
mov ecx, dword [rbp + 0x40]
lea rax, [rbp + 0x38]
jmp 0x1400de79a
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.14003dffc
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x1400de7d2
mov ecx, ebx
call fcn.14003e510
mov ecx, ebx
call fcn.14006a5bc
lea rcx, [rbp - 0x18]
call fcn.14003b77c
lea rcx, [rbp - 0x10]
call fcn.14003bae4
lea rcx, [rbp - 8]
call fcn.14003bae4
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 0x1400e02bc
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 [0x1405f8008]
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 0x1400e049e
cmp dword [rcx + 0x78], r14d
je 0x1400e049e
lea r15d, [r14 + 0x40]
mov edx, r15d
lea rcx, [rbp - 9]
call fcn.1400c30e8
mov edi, eax
test eax, eax
jns 0x1400e0399
mov ecx, eax
jmp 0x1400e04a3
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.140077700
mov edi, eax
test eax, eax
js 0x1400e0392
lea rax, str.__Global__
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x59], rax
call fcn.1400cf628
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 0x1400e0392
call fcn.1400cf5d0
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 0x1400e0392
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 0x1400e0392
xor eax, eax
lea rdi, [rbp - 9]
mov rcx, r15
rep stosb byte [rdi], al
lea rcx, [rsi + 0x70]
call fcn.1401091b8
mov rdx, qword [rbp - 0x69]
lea rcx, [rsi + 0x70]
mov qword [rbp - 0x69], r14
call fcn.1401bd338
mov rcx, rsi
mov dword [rsi + 0x78], r14d
call fcn.1400dc6b4
mov edi, eax
test eax, eax
js 0x1400e0392
mov dword [rsi + 0x7c], 1
jmp 0x1400e04a8
mov edi, r14d
xor ecx, ecx
call fcn.14003e510
mov ecx, edi
call fcn.14006a5bc
lea rcx, [rbp - 0x69]
call fcn.1400b60fc
lea rcx, [rbp - 0x61]
call fcn.14003ba98
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001af80
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