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

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, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x180033e5a
mov rsi, r8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rsi, [rsi + rax*2]
lea ebx, [rbx + rax*2]
cmp eax, 1
jne 0x180033e0c
mov rcx, qword [r14]
lea r9d, [rax + 6]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov ecx, 0x80004005
call fcn.18001756c
int3

Function at 0x180034fcc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10268
call fcn.180043900
sub rsp, rax
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x10250], rax
mov r14, qword [rsp + 0x102d0]
mov r13, rcx
mov rcx, qword [rsp + 0x102d8]
xor ebx, ebx
xor sil, sil
mov ebp, r9d
mov r15, r8
mov r12, rdx
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800350bc
lea rdi, [rbp + 0x29]
cmp rdi, 0x10200
jbe 0x18003504c
mov rcx, rdi
call fcn.180053730
mov rbx, rax
test rax, rax
jne 0x180035051
lea edi, [rax + 8]
jmp 0x1800350fc
lea rbx, [rsp + 0x50]
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, edi
mov dword [rsp + 0x28], edi
mov r8, rbx
mov edx, 0x9c40e404
mov qword [rsp + 0x20], rbx
mov rcx, r13
mov dword [rbx], 0xc
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], ebp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1800350d9
mov edi, dword [rbx + 4]
test edi, edi
jne 0x1800350e1
test r14, r14
je 0x1800350a1
mov eax, dword [rbx + 0x14]
mov dword [r14], eax
cmp dword [rbx + 0x14], 0
je 0x1800350b7
mov r8d, dword [rbx + 0x14]
lea rdx, [rbx + 0x18]
mov rcx, r15
call fcn.180045f30
mov sil, 1
jmp 0x1800350e1
mov qword [rsp + 0x20], rcx
mov r9, r14
mov rcx, r12
mov r8d, ebp
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test al, al
jne 0x180035104
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rbx, rbx
je 0x1800350f8
lea rax, [rsp + 0x50]
cmp rbx, rax
je 0x1800350f8
mov rcx, rbx
call fcn.180053728
test edi, edi
je 0x180035104
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, sil
mov rcx, qword [rsp + 0x10250]
xor rcx, rsp
call fcn.180043830
add rsp, 0x10268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180035ddc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, r9
lea rax, [rsp + 0x30]
mov rdi, r8
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180035e3f
mov rax, qword [rsp + 0x70]
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x180035e32
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180035e4c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
and qword [r11 - 0x28], 0
lea rax, [r11 - 0x18]
and qword [r11 - 0x18], 0
mov edi, r9d
mov qword [r11 - 0x30], rax
mov rsi, r8
and qword [r11 - 0x38], 0
xor r9d, r9d
mov eax, dword [rsp + 0xa0]
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x180035ecc
mov eax, dword [rsp + 0x98]
mov r9d, edi
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180035edc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1800362b4
Capabilities:
Create service

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, 0x70
mov r14, r8
mov rbp, r9
mov r8d, 0xf01ff
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
test rax, rax
jne 0x18003635d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x424
jne 0x180036366
mov eax, dword [rsp + 0xa8]
xor ebx, ebx
and qword [rsp + 0x60], rbx
mov r9d, 0x200f01ff
and qword [rsp + 0x58], rbx
mov r8, r14
and qword [rsp + 0x50], rbx
mov rdx, rdi
and qword [rsp + 0x48], rbx
mov rcx, rsi
and qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
test rax, rax
jne 0x18003635d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180036366
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180036384
Capabilities:
Create service

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov eax, dword [rbp + 0x418]
mov r15, r8
mov r13d, dword [rbp + 0x410]
mov rsi, rdx
mov rdi, qword [rbp + 0x420]
mov r14, rcx
xor edx, edx
mov dword [rsp + 0x78], eax
mov r8d, 0x20a
lea rcx, [rbp - 0x80]
mov r12, r9
call fcn.180046390
mov r8d, 0xf01ff
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r8, rsi
lea rdx, str.SYSTEMCurrentControlSetServices_s
lea rcx, [rbp + 0x190]
mov rbx, rax
call fcn.180014cf4
test rbx, rbx
jne 0x18003648c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x424
jne 0x18003656b
xor eax, eax
mov r9d, 0x200f01ff
mov qword [rsp + 0x60], rax
mov r8, r15
mov qword [rsp + 0x58], rax
mov rdx, rsi
mov qword [rsp + 0x50], rax
mov rcx, r14
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x78]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x180036560
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18003656b
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x78]
mov r9d, 4
lea r8, str.Start
mov dword [rsp + 0x28], r9d
lea rdx, [rbp + 0x190]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call fcn.180035e4c
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], 0x20a
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r8, str.ImagePath
mov rcx, 0xffffffff80000002
lea rdx, [rbp + 0x190]
call fcn.180035ddc
lea rdx, [0x1800abcc4]
lea rcx, [rbp - 0x80]
call fcn.18006bbf8
test eax, eax
jne 0x180036560
mov r8d, 0x105
mov dword [rsp + 0x70], 0x20a
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x80]
call fcn.18005380c
and dword [rsp + 0x30], 0
lea r8, str.ImagePath
mov r9d, 2
lea rdx, [rbp + 0x190]
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rbp - 0x80]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call fcn.180035e4c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
test ebx, ebx
jne 0x1800365b2
test rdi, rdi
je 0x1800365b2
mov rcx, rdi
call fcn.18005380c
and dword [rsp + 0x30], ebx
lea r9d, [rbx + 1]
lea r8, str.Group
mov rcx, 0xffffffff80000002
lea edx, [rax*2 + 2]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x70], edx
lea rdx, [rbp + 0x190]
mov qword [rsp + 0x20], rdi
call fcn.180035e4c
mov eax, ebx
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.180043830
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800365d8
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
xor ebx, ebx
lea r8d, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
test rax, rax
je 0x18003661f
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18003661f
mov eax, dword [rsp + 0x24]
mov dword [rdi], eax
jmp 0x180036627
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180043830
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x180036644
Capabilities:
Query service status

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, r8
xor ebx, ebx
lea r8d, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x18003668c
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18003668c
mov eax, dword [rsp + 0x24]
mov dword [rsi], eax
jmp 0x180036694
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test rdi, rdi
je 0x1800366a2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180043830
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800366bc
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8d, 0xf01ff
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x180036713
lea r8, [rsp + 0x20]
mov rcx, rax
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180036708
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18003671b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180043830
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x180036738
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8d, 0xf01ff
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x18003678f
lea r8, [rsp + 0x20]
mov rcx, rax
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180036784
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180036797
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180043830
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180037b5c
Capabilities:
Enumerate pe sections

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, 0x20
mov eax, dword [rcx + 0x14]
mov rsi, rcx
mov r10d, eax
mov edi, r8d
shr r10d, 3
mov r14, rdx
and r10d, 0x3f
lea r9d, [rax + r8*8]
mov eax, r8d
shl eax, 3
mov dword [rcx + 0x14], r9d
mov ecx, dword [rcx + 0x18]
cmp r9d, eax
jae 0x180037ba4
inc ecx
mov eax, edi
shr eax, 0x1d
add eax, ecx
mov dword [rsi + 0x18], eax
lea eax, [r10 + r8]
cmp eax, 0x3f
jbe 0x180037bfe
mov eax, r10d
lea rcx, [rsi + 0x1c]
mov ebx, 0x40
add rcx, rax
sub ebx, r10d
mov r8d, ebx
call fcn.180045f30
lea rdx, [rsi + 0x1c]
mov rcx, rsi
call fcn.1800369c8
lea ebp, [rbx + 0x3f]
jmp 0x180037bf5
mov edx, ebx
mov rcx, rsi
add rdx, r14
call fcn.1800369c8
add ebx, 0x40
add ebp, 0x40
cmp ebp, edi
jb 0x180037be2
xor r10d, r10d
jmp 0x180037c00
xor ebx, ebx
sub edi, ebx
mov eax, r10d
mov edx, ebx
lea rcx, [rsi + 0x1c]
mov r8d, edi
add rdx, r14
add rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.180045f30

Function at 0x180037c34
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rbp + 0x47], rax
and dword [rbp - 0x29], 0
mov rbx, r8
and dword [rbp - 0x25], 0
mov r8d, edx
mov rdx, rcx
mov dword [rbp - 0x21], 0x6a09e667
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x1d], 0xbb67ae85
mov dword [rbp - 0x19], 0x3c6ef372
mov dword [rbp - 0x15], 0xa54ff53a
mov dword [rbp - 0x11], 0x510e527f
mov dword [rbp - 0xd], 0x9b05688c
mov dword [rbp - 9], 0x1f83d9ab
mov dword [rbp - 5], 0x5be0cd19
call fcn.18003a4a0
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.180037cd0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180043830
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rbp
ret
Function at 0x18003a460
Capabilities:
Hash data using sha256

Disassembly:
and dword [rcx], 0
and dword [rcx + 4], 0
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
mov dword [rcx + 0x24], 0x5be0cd19
ret

Function at 0x18003e360
Capabilities:
Check os version

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x168
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1800d49a4]
mov rbp, r9
mov r14, qword [rsp + 0x1c0]
mov rsi, r8
mov r15, qword [rsp + 0x1c8]
mov rbx, rdx
mov edi, ecx
cmp eax, 0xffffffff
jne 0x18003e3fc
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x11c
call fcn.180046390
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x18003e3f2
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and eax, dword [rsp + 0x34]
mov dword [rsp + 0x34], eax
jmp 0x18003e3f6
mov eax, dword [rsp + 0x34]
mov dword [0x1800d49a4], eax
mov edx, 0x1000
cmp eax, 5
mov ecx, 0x410
mov r8d, edi
cmovne ecx, edx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x18003e429
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18003e44f
mov qword [rsp + 0x28], r15
mov r9, rbp
mov r8, rsi
mov qword [rsp + 0x20], r14
mov rdx, rbx
mov rcx, rdi
call fcn.18003e574
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180043830
add rsp, 0x168
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18003e7dc
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa60
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0xa50], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x44], 0x800
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x250]
lea rax, [rsp + 0x50]
mov rdx, rcx
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test al, al
je 0x18003e897
xor r8d, r8d
lea rcx, [rsp + 0x250]
xor edx, edx
call fcn.18003dfc0
mov edi, eax
lea rcx, [rdi + rdi]
call fcn.180053730
mov rbx, rax
test rax, rax
je 0x18003e89d
lea r8, [0x1800abcc4]
mov edx, edi
mov rcx, rax
call fcn.1800537a4
mov r8d, edi
lea rcx, [rsp + 0x250]
mov rdx, rbx
call fcn.18003dfc0
jmp 0x18003e89d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, rbx
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.180043830
lea r11, [rsp + 0xa60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18003f248
Capabilities:
Get file version info

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
lea rdx, [rsp + 0x60]
mov rsi, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test eax, eax
je 0x18003f2d9
mov ecx, edi
call fcn.180044814
mov rbx, rax
test rax, rax
je 0x18003f2d9
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x18003f2d9
lea r9, [rsp + 0x58]
mov rcx, rbx
lea r8, [rsp + 0x20]
lea rdx, [0x1800af144]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x18003f2cc
cmp dword [rsp + 0x58], 0
je 0x18003f2cc
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 8]
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx + 0xc]
mov rcx, rbx
mov dword [rsp + 0x68], eax
call fcn.18004481c
mov rax, qword [rsp + 0x68]
jmp 0x18003f2db
mov edx, 1
mov rcx, rbx
call fcn.1800439c8
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x18003f42c
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rdx, [rsp + 0x60]
mov rbp, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeW
xor ebx, ebx
mov esi, eax
test eax, eax
je 0x18003f4b8
mov ecx, esi
call fcn.180044814
mov rdi, rax
test rax, rax
je 0x18003f4b8
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x18003f4b8
lea r9, [rsp + 0x58]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [0x1800aedec]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18003f4ab
cmp dword [rsp + 0x58], ebx
je 0x18003f4ab
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 8]
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x68], eax
mov rbx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.18004481c
mov rax, rbx
jmp 0x18003f4ba
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x18003f69c
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1050
call fcn.180043900
sub rsp, rax
mov rax, qword [0x1800d4ad8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rdx, [rsp + 0x30]
mov rbp, rcx
lea rbx, [rsp + 0x40]
xor esi, esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x18003f6f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18003f776
cmp edi, 0x1000
jbe 0x18003f708
mov rcx, rdi
call fcn.180044814
mov rbx, rax
test rax, rax
je 0x18003f776
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x18003f724
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18003f75f
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x38]
lea rdx, [0x1800aedec]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18003f71c
cmp dword [rsp + 0x20], esi
je 0x18003f75f
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x2c], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x28], eax
mov rsi, qword [rsp + 0x28]
test rbx, rbx
je 0x18003f776
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x18003f776
mov rcx, rbx
call fcn.18004481c
mov rax, rsi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180043830
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800413dc
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rdx, [0x1800abcc4]
lea rcx, [0x1800dd3e0]
call fcn.18006bbf8
test eax, eax
jne 0x180041411
mov r8d, 0x105
lea rdx, [0x1800dd3e0]
lea rcx, str._systemroot__system32driverswhitelist2.sa
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rax, [0x1800dd3e0]
add rsp, 0x28
ret
Function at 0x14000ca40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140086040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx edi, r8b
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140002b30
mov byte [rsp + 0x78], dil
mov qword [rsp + 0x80], rsi
lea ecx, [rbp + 0x30]
call fcn.1400379f8
test rax, rax
je 0x14000cacc
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rax + 0x10], xmm1
movdqa xmm0, xmmword [0x140065b10]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], bpl
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rsi
jmp 0x14000cacf
mov rax, rbp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140008b30]
xor edx, edx
xor ecx, ecx
call fcn.140045dbc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000cbe6
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000cb40
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cbf5
call fcn.140037a34
cmp dword [rsp + 0x38], 0
je 0x14000cbdb
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140039ae0
test eax, eax
jne 0x14000cbdb
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000cba3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000cb9e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cbfb
mov rcx, r8
call fcn.140037a34
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140037b50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call fcn.140039ea8
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140039ea8
nop
call fcn.1400404c0
nop
call fcn.1400404c0
int3

Function at 0x14000cc10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x140087bd0]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.140039b80
test eax, eax
jne 0x14000cc9e
cmp dword [0x140087c1c], 0x7fffffff
je 0x14000cc89
lea edx, [rax + 2]
mov rcx, rbx
call fcn.1400110b0
mov eax, dword [rbx + 0x60]
mov dword [rsp + 0x50], eax
xor eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140039b88
mov dword [0x140087c1c], 0x7ffffffe
mov ecx, 6
call fcn.140039ea8
int3
mov ecx, 5
call fcn.140039ea8
int3