joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f420
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1400e0180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x30], rsp
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r15, rax
test rax, rax
je 0x14003f646
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14003f646
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xea
jne 0x14003f646
mov ecx, dword [rsp + 0x80]
call fcn.140097260
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14003f646
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14003f51e
lea rdx, [0x14003f646]
mov rcx, rsp
call fcn.1400b3a58
xor edi, edi
mov dword [rsp + 0x38], edi
cmp edi, dword [rsp + 0x84]
jae 0x14003f63e
lea rcx, [rdi + rdi*2]
add rcx, rcx
movups xmm0, xmmword [r14 + rcx*8 + 0x10]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14 + rcx*8 + 0x20]
movups xmmword [rsp + 0x70], xmm1
mov r8d, 0x24
mov rdx, qword [r14 + rcx*8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14003f580
lea rdx, [0x14003f646]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
nop
lea r8, [rsp + 0x88]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14003f5b0
lea rdx, [0x14003f646]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
nop dword [rax + rax]
cmp dword [rsp + 0x8c], 1
je 0x14003f62e
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_Sleep]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14003f602
lea rdx, [0x14003f646]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
cmp dword [rsp + 0x8c], 1
je 0x14003f62e
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, esi
cmp eax, 0x7530
jbe 0x14003f62c
lea rdx, [0x14003f646]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
jmp 0x14003f5b0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc edi
jmp 0x14003f520
mov rcx, r14
call fcn.140096b50
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14005ff30
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14003f670
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400e0180]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rsp
mov rbx, rcx
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, eax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003f8b1
cmp qword [rbx + 0x18], 7
jbe 0x14003f6d2
mov rbx, qword [rbx]
mov r8d, 0x2c
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003f8a8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14003f72a
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
mov eax, dword [rsp + 0x54]
cmp eax, 1
jne 0x14003f744
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
mov r14d, 0x2710
nop word [rax + rax]
cmp eax, 3
jne 0x14003f7f9
mov eax, 0xcccccccd
mul dword [rsp + 0x68]
shr edx, 3
cmp edx, 0x3e8
jae 0x14003f774
mov edx, 0x3e8
jmp 0x14003f77b
cmp edx, r14d
cmova edx, r14d
mov ecx, edx
call qword [sym.imp.KERNEL32.DLL_Sleep]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14003f7b8
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
cmp dword [rsp + 0x54], 1
jne 0x14003f7d0
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, edi
cmp eax, 0x7530
jbe 0x14003f7f0
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
mov eax, dword [rsp + 0x54]
jmp 0x14003f750
mov rcx, rbx
call fcn.14003f420
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14003f830
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
nop dword [rax]
cmp dword [rsp + 0x54], 1
je 0x14003f89f
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_Sleep]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14003f876
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
cmp dword [rsp + 0x54], 1
je 0x14003f89f
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, edi
cmp eax, 0x7530
jbe 0x14003f89d
lea rdx, [0x14003f8b1]
mov rcx, qword [rsp + 0x30]
call fcn.1400b3a58
jmp 0x14003f830
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005ff30
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140058c00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x140058da4
cmp r9, 4
jb 0x140058c4a
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x140058c30
xor r11d, r11d
test r9, r9
je 0x140058da4
cmp r9, 8
jb 0x140058d7e
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x140058c7c
cmp rdx, r8
jae 0x140058d7e
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x140058c91
cmp rdx, r10
jae 0x140058d7e
mov rdx, r10
mov qword [rsp + 0x10], rbx
sub rdx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x140058d3b
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rbx, rcx
lea rax, [r8 + 0x10]
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rsi
jb 0x140058cd0
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x140058d70
mov rbx, r9
and rbx, 0xfffffffffffffff8
mov rdi, rcx
lea rax, [r11 + r8]
sub rdi, r8
nop dword [rax]
movq xmm1, qword [rax + rdx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
pxor xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r11, rbx
jb 0x140058d50
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x140058da4
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
nop dword [rax + rax]
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x140058d90
add rsp, 8
ret

Function at 0x140060e60
Capabilities:
Parse pe header

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

Function at 0x140084218
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.14009c9b4
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14008426a
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14008426a
sub ecx, 1
je 0x140084263
cmp ecx, 1
je 0x14008425c
xor eax, eax
jmp 0x14008426f
mov eax, 3
jmp 0x14008426f
mov eax, 1
jmp 0x14008426f
mov eax, 2
add rsp, 0x28
ret
Function at 0x140097150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140097187
call fcn.1400973a8
mov dword [rax], 0x16
call fcn.140091b24
xor eax, eax
jmp 0x140097219
mov rdx, r9
mov rcx, r8
call fcn.1400970ec
mov rbx, rax
test rax, rax
je 0x140097216
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x140097020]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140097203
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140097338
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400971ea
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400971f9
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov rcx, rbx
call fcn.1400a4a20
jmp 0x140097216
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140097213
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140099a10
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140099a7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140099a7f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140099a7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140099a7f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140099a7f
cmp dword [rcx + 0x84], 0xe
jbe 0x140099a7f
cmp dword [rcx + 0xf8], 0
je 0x140099a7f
mov ecx, ebx
call fcn.140099b24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140099918
nop
cmp dword [rbp + 0x20], 0
jne 0x140099ae0
call fcn.1400a7fd4
cmp eax, 1
jne 0x140099ad0
xor dl, dl
jmp 0x140099ada
call fcn.1400a86f4
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140099aeb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140099af4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140099a10

Function at 0x140099bf8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140099a10
Function at 0x1400a7880
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400fe050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1400a78e5
test rax, rax
jne 0x1400a78d3
lea r9, [0x1400c8370]
lea r8, [0x1400c8368]
lea rdx, [0x1400c8370]
lea ecx, [rax + 0xa]
call fcn.1400a736c
test rax, rax
je 0x1400a78e5
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.1400b3d30
jmp 0x1400a78ff
xor edx, edx
mov rcx, rbp
call fcn.1400a7c28
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a9d98
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 0x1400a9dc8
xor eax, eax
jmp 0x1400a9e8b
mov rbp, rbx
cmp word [rax], si
je 0x1400a9ded
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a9dd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a9dd0
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.1400a8248
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1400a9e2e
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
jmp 0x1400a9dc1
call fcn.1400a4a80
mov rdi, rax
test rax, rax
jne 0x1400a9e44
xor ecx, ecx
call fcn.1400a4a20
jmp 0x1400a9e23
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.1400a8248
test eax, eax
jne 0x1400a9e75
mov rcx, rdi
call fcn.1400a4a20
jmp 0x1400a9e7f
xor ecx, ecx
call fcn.1400a4a20
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 0x1400a9ea8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400a9f2f
mov rsi, rbx
cmp word [rax], bp
je 0x1400a9eee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400a9ed8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400a9ed4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400a4a80
mov rdi, rax
test rax, rax
je 0x1400a9f1c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400b3d70
mov rbp, rdi
xor ecx, ecx
call fcn.1400a4a20
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ad658
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1400ad6cb
cmp word [rcx], si
je 0x1400ad6cb
lea rdx, [0x1400cad08]
call fcn.1400b21cc
test eax, eax
je 0x1400ad6cb
lea rdx, [0x1400cad20]
mov rcx, rbx
call fcn.1400b21cc
test eax, eax
jne 0x1400ad6c1
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x1400ad6e8
mov eax, dword [rsp + 0x30]
jmp 0x1400ad6fa
mov rcx, rbx
call fcn.1400a4228
jmp 0x1400ad6fa
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
jne 0x1400ad6ec
xor eax, eax
jmp 0x1400ad6fa
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400ad6fa
call qword [sym.imp.KERNEL32.DLL_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ad70c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1400a47e4
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x1400ad7af
cmp edi, dword [rsp + 0x30]
je 0x1400ad7a8
test ebp, ebp
je 0x1400ad7a8
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1400ad784
sub dx, 0x61
cmp dx, 0x19
ja 0x1400ad790
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1400ad771
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1400ad794
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1400ad7b1
mov eax, 1
jmp 0x1400ad7b1
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b3960
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b3988
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400b3988
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14002953c
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.14001cc04
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cc04
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002968c
cmp rax, 0xffffffffffffffff
je 0x14002968c
xor edi, edi
test rbp, rbp
jle 0x140029637
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f530
mov rbx, rax
test rax, rax
jne 0x1400295c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002962d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a538
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.14001d8e0
cmp eax, 0xffffffff
je 0x14002960d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400295d4
mov edx, r15d
mov ecx, r14d
call fcn.14001a538
jmp 0x14002962d
cmp byte [rsi + 0x38], dil
je 0x140029624
cmp dword [rsi + 0x34], 5
jne 0x140029624
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002962d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b2cc
jmp 0x1400296a0
jns 0x1400296a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cc04
cmp rax, 0xffffffffffffffff
jne 0x140029658
cmp byte [rsi + 0x30], dil
je 0x1400296a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400296a0
mov ecx, r14d
call fcn.1400189f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400296a0
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 0x1400296a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029699
mov eax, dword [rsi + 0x2c]
jmp 0x14002969e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cc04
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 0x141061d00
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141061d0a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141061d33
pop rbp
sub rbp, 0x33
sub rbp, 0x1061d00
sub rsp, 0x20
jmp 0x141061d52
mov rax, 0x1061d00
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffd2d45bd9
xor byte [rax], dl
inc rax
dec rcx
jne 0x141061d71
jmp 0x141061d88
xchg ecx, eax
push rax
xor byte [rdx + 0x50], dl
in eax, 0xd9
fstpnce st(1), st(0)
xchg ecx, eax
pop rax
sbb cl, dl
fcomp st(1)
fst dword [rcx + 0x1e9130d8]
sbb ecx, edx
fstpnce st(1), st(0)
fst dword [rcx - 0x260ee4e2]
fstpnce st(1), st(0)
xchg ecx, eax
cmp edx, dword cs:[rcx + 0x585218d8]
invalid
Function at 0x2091bf0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x2091bfd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x2091c0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x2091bf5
lea eax, [rcx + 1]
jmp 0x2091c1b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x2091c2e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x2091c14
sub eax, 3
jb 0x2091c4e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x2091c9d
sar eax, 1
movsxd rbp, eax
jb 0x2091c84
jmp 0x2091c5c
add ebx, ebx
jne 0x2091c5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x2091c84
inc ecx
add ebx, ebx
jne 0x2091c6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x2091c84
call r11
adc ecx, ecx
add ebx, ebx
jne 0x2091c7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x2091c6c
add ecx, 2
jmp 0x2091c89
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.02091bb2
jmp 0x2091bfd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1c7a000]
mov eax, dword [rdi]
or eax, eax
je 0x2091cf9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1c91000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x2091ca9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x2091cf3
mov qword [rbx], rax
add rbx, 8
jmp 0x2091cc9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x2091d3d
cmp al, 0xef
ja 0x2091d25
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x2091d05
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x2091d14
mov eax, dword [rdi]
add rdi, 4
jmp 0x2091d14
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x2091d91
sub rsp, 0xffffffffffffff80
jmp 0x46e840
Function at 0x141a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x00020100]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x40], 0x30
xor ebx, ebx
mov rdi, rdx
mov qword [r11 - 0x60], rbx
mov dword [rsp + 0x58], 0x240
mov qword [r11 - 0x58], rcx
lea rcx, [r11 - 0x78]
lea r8, [r11 - 0x68]
mov edx, 0x20019
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x40], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x1424b
lea rcx, [rsp + 0x70]
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x30]
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x80]
lea r8d, [rbx + 2]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x20], 0x14
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, ebx
cmovge ebx, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.0001d870
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret