joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fb10
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x140085220]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.14000fdf0
test eax, eax
je 0x14000fb41
mov eax, 1
jmp 0x14000fc48
lea rdx, [rsp + 0x72]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000fd3e
cmp eax, 0x104
je 0x14000fd3e
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x14000fd87
mov qword [rsp + 0xaa8], rbx
mov qword [rsp + 0xab0], rsi
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor edx, edx
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x14000fc61
lea rdx, [rsp + 0x280]
mov r8d, 0x400
mov ecx, 0xd80a
call fcn.14000d960
test eax, eax
jne 0x14000fc1f
lea r8, str.Could_not_open_Service_Manager
lea rcx, [rsp + 0x280]
mov edx, 0x400
call fcn.14002b640
test eax, eax
je 0x14000fc1f
cmp eax, 0xc
je 0x14000fd5b
cmp eax, 0x16
je 0x14000fd50
cmp eax, 0x22
je 0x14000fd50
cmp eax, 0x50
jne 0x14000fd45
lea r8, [rdi + 0x68]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.1400295b0
add rsp, 0xa90
pop rdi
ret
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x70]
add rdi, 0x68
mov r9d, 0xf01ff
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov r8, rdi
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x14000fd22
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, [rsp + 0x280]
mov r8d, 0x400
mov ecx, 0xd80b
call fcn.14000d960
test eax, eax
jne 0x14000fd17
lea r8, str.Could_not_start_service
lea rcx, [rsp + 0x280]
mov edx, 0x400
call fcn.14002b640
test eax, eax
je 0x14000fd17
cmp eax, 0xc
je 0x14000fd7c
cmp eax, 0x16
je 0x14000fd71
cmp eax, 0x22
je 0x14000fd71
cmp eax, 0x50
jne 0x14000fd66
xor r9d, r9d
mov r8, rdi
jmp 0x14000fc26
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14000fc38
xor eax, eax
jmp 0x14000fc48
mov ecx, 0x80004005
call fcn.140003210
int3
mov ecx, 0x80070057
call fcn.140003210
int3
mov ecx, 0x8007000e
call fcn.140003210
int3
mov ecx, 0x80004005
call fcn.140003210
int3
mov ecx, 0x80070057
call fcn.140003210
int3
mov ecx, 0x8007000e
call fcn.140003210
int3
call fcn.14002b3c0
int3
Function at 0x140011bc0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140085220]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor eax, eax
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
or r9d, 0x2001f
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
call fcn.1400101c0
mov ebx, eax
test eax, eax
jne 0x140011ce7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140011cc1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140011bc0
mov ebx, eax
test eax, eax
jne 0x140011ce7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140011c70
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011cd6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x48], ebp
call fcn.14000e7b0
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011cf7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400295b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011e60
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000e7de
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140011e60
cmp byte [0x1400892f0], 0
jne 0x14000e829
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e819
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1400892f0], 1
mov qword [0x1400892e8], rax
jmp 0x14000e830
mov rax, qword [0x1400892e8]
mov byte [0x1400892f0], 1
jmp 0x14000e830
mov rax, qword [0x1400892e8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000e84f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140011ed4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x140011eef
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x140011eef
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x140011eef
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
and ebp, dword [rdi - 0x4a0e58b]
rcl dword ds:[rsi], 0x21
mov ebp, 0x134919d4
pabsd mm4, qword [rsi]
scasd eax, dword [rdi]
movabs byte [0x8b875c5f195a1841], al
invalid
Function at 0x1400120f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140085220]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.1400295e0
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001219c
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001219c
call fcn.14000d930
mov ebx, eax
jmp 0x1400122c4
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400121bd
call fcn.14000d930
jmp 0x1400122b3
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400121e0
call fcn.14000d930
jmp 0x1400122b3
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140012202
mov ebx, 0x8007000e
jmp 0x1400122b5
mov ecx, eax
test eax, eax
je 0x14001223a
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140012230
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14001223a
lea rcx, [rsp + 0x70]
call fcn.14000d7a0
jmp 0x140012244
mov ecx, 0x80070216
call fcn.140003210
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140012257
cmp qword [rsp + 0x70], 0
jne 0x140012266
mov ebx, 0x8007000e
jmp 0x1400122b5
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140012290
call fcn.14000d930
jmp 0x1400122b3
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140011f10
mov ebx, eax
test rdi, rdi
je 0x1400122c4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400122db
lea rcx, [rsp + 0x70]
call fcn.14000e8a0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400295b0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140013130
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140085220]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400295b0
add rsp, 0x48
ret

Function at 0x140013230
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
lea rdx, str.LaunchPermission
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], 0
mov esi, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
jne 0x1400132b3
lea r9d, [rax + 1]
lea rdx, str.LaunchPermission
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400132b3
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x140013830
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140013848
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140013854
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140013850
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140013a00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140085220]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor eax, eax
xor r12d, r12d
mov rdi, rcx
mov r15d, edx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
lea r8, str.AppID
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x58], r12
call fcn.1400101c0
mov ebx, eax
test eax, eax
je 0x140013a87
mov dword [rdi + 0x27c], eax
jmp 0x140013bea
mov rdx, qword [rsp + 0x48]
xor eax, eax
lea r8, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x40], r12
call fcn.1400101c0
mov ebx, eax
test eax, eax
jne 0x140013bd2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
lea rdx, str.LocalService
xor r8d, r8d
mov dword [rsp + 0x60], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test eax, eax
jne 0x140013b3e
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
jbe 0x140013b18
lea ecx, [rbx + 0xd]
jmp 0x140013b3e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140013b36
test al, 1
jne 0x140013b2f
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r12w
je 0x140013b3b
mov ecx, SafeArrayGetDim
jmp 0x140013b3e
mov word [rbp - 0x70], r12w
mov ecx, r12d
test ecx, ecx
mov eax, r12d
mov edx, 1
cmove eax, edx
mov dword [rdi + 0x28c], eax
test eax, eax
je 0x140013b96
lea rax, [rdi + 0x68]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x68], rax
lea rax, [0x140015980]
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140013b8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x27c], eax
mov ebx, dword [rdi + 0x27c]
jmp 0x140013bd8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x140013bc1
cmp eax, 0x80010106
jne 0x140013bd8
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140013bc5
jmp 0x140013bd8
mov byte [rdi + 0x62], 1
mov edx, r15d
mov rcx, rdi
call fcn.140012a60
mov ebx, eax
mov dword [rdi + 0x27c], eax
cmp qword [rsp + 0x30], r12
je 0x140013bea
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x48], r12
je 0x140013bfc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400295b0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
Function at 0x140014a50
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
call fcn.1400145f0
test eax, eax
jne 0x140014a67
mov eax, 0x80004005
add rsp, 0x58
ret
xor eax, eax
mov qword [rsp + 0x50], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea r8, str.AppID
lea rcx, [rsp + 0x38]
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
call fcn.1400101c0
test eax, eax
je 0x140014aba
mov ecx, eax
call fcn.14000d950
mov ebx, eax
jmp 0x140014b30
mov rdx, qword [rsp + 0x38]
xor eax, eax
lea r8, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov r9d, 0x20006
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x30], rbx
call fcn.1400101c0
test eax, eax
je 0x140014b02
mov ecx, eax
call fcn.14000d950
jmp 0x140014b1b
mov rcx, qword [rsp + 0x20]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
call fcn.1400150c0
cmp qword [rsp + 0x20], 0
mov ebx, eax
je 0x140014b30
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], 0
je 0x140014b43
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x14002e354
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14002e367
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x20]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140036b30
lea rdx, [0x140082db0]
lea rcx, [rsp + 0x20]
call fcn.140028d48
int3
Function at 0x140047bbc
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14008adac]
xor edx, edx
jmp fcn.14002e354

Function at 0x140048560
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14008adac]
jmp fcn.14002e354

Function at 0x140048680
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 0x40]
jmp 0x140057cc4
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r13, r9
mov r12, r8
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov qword [rax + 8], rcx
call fcn.140036888
nop
mov edi, dword [rbx + 4]
mov esi, dword [rbx + 4]
dec esi
mov eax, dword [rbx]
cmp esi, eax
jl 0x140057c9e
lea ebp, [rsi + 1]
movsxd r15, esi
movsxd rcx, dword [rbx + 8]
and rcx, r15
mov rax, qword [rbx + 0x20]
mov r14, qword [rax + rcx*8]
test r14, r14
je 0x140057c94
mov rdx, r12
mov rcx, r14
call qword [rsp + 0x78]
test al, al
je 0x140057c94
mov rdx, r12
mov rcx, r14
call r13
test al, al
je 0x140057c94
cmp ebp, edi
jne 0x140057c84
dec edi
jmp 0x140057c94
movsxd rcx, dword [rbx + 8]
and rcx, r15
mov rax, qword [rbx + 0x20]
and qword [rax + rcx*8], 0
dec esi
dec ebp
mov eax, dword [rbx]
cmp esi, eax
jge 0x140057c4a
xchg dword [rbx + 4], edi
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400368d0
add rcx, 0xb0
jmp 0x140057c00

Function at 0x140057ac8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r9, qword [rdx + 0x1a8]
mov r8, rcx
mov r9, qword [r9 + 8]
lea rdx, [0x140057b84]
add rcx, 0x40
jmp fcn.14003e21c

Function at 0x140057b5c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r9, qword [rdx + 0x1a8]
mov r8, rcx
mov r9, qword [r9 + 8]
lea rdx, [0x140057b94]
add rcx, 0x40
jmp fcn.14003e21c
Function at 0x140f673c8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f6754f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140f673f9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f673df
add dl, dl
jne 0x140f67406
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f67466
xor eax, eax
add dl, dl
jne 0x140f67415
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f6751d
add dl, dl
jne 0x140f67426
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f67433
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f67440
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f6744d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f6745a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f673ee
mov eax, 1
add dl, dl
jne 0x140f67476
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f67483
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f6746b
sub eax, ebx
mov ebx, 1
jne 0x140f674bc
mov ecx, 1
add dl, dl
jne 0x140f6749e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f674ab
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f67493
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f673ee
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f674d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f674e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f674cd
cmp eax, 0x7d00
jae 0x140f6750b
cmp eax, 0x500
jb 0x140f67506
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f673ee
cmp eax, 0x7f
ja 0x140f6750e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f673ee
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f67542
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140f673ee
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10001d70
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x10121958], 0
je 0x10001d91
xor eax, eax
cmp qword [0x10121940], rax
setne al
add rsp, 0x20
pop rbx
ret
call fcn.10001d10
lea rcx, str.USER32
mov dword [0x1012195c], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
mov rbx, rax
je 0x10001e96
lea rdx, [0x10045f80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10121920], rax
je 0x10001e96
lea rdx, str.MonitorFromWindow
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10121928], rax
je 0x10001e96
lea rdx, str.MonitorFromRect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10121930], rax
je 0x10001e96
lea rdx, str.MonitorFromPoint
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10121938], rax
je 0x10001e96
lea rdx, str.EnumDisplayMonitors
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10121948], rax
je 0x10001e96
lea rdx, str.GetMonitorInfoA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10121940], rax
je 0x10001e96
lea rdx, str.EnumDisplayDevicesA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x10121950], rax
je 0x10001e96
mov eax, 1
mov dword [0x10121958], eax
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov dword [0x10121958], 1
mov qword [0x10121920], rax
mov qword [0x10121928], rax
mov qword [0x10121930], rax
mov qword [0x10121938], rax
mov qword [0x10121940], rax
mov qword [0x10121948], rax
mov qword [0x10121950], rax
add rsp, 0x20
pop rbx
ret

Function at 0x10002310
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov esi, 0x169b418d
mov rbp, rcx
je 0x1000247f
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rdi
nop
nop
lea rcx, str.1884
call fcn.1002aad0
movzx edi, word [rbp]
lea rcx, str.1360
sub di, ax
call fcn.1002aad0
lea rcx, str.1328
sub di, ax
call fcn.1002aad0
lea rcx, str.2698
sub di, ax
call fcn.1002aad0
lea rcx, str.2496
sub di, ax
call fcn.1002aad0
lea rcx, str.2248
sub di, ax
call fcn.1002aad0
lea rcx, str.2429
sub di, ax
call fcn.1002aad0
lea rcx, str.1604
sub di, ax
call fcn.1002aad0
lea rcx, str.2486
sub di, ax
call fcn.1002aad0
lea rcx, str.2368
sub di, ax
call fcn.1002aad0
lea rcx, str.2929
sub di, ax
call fcn.1002aad0
lea rcx, str.8656
sub di, ax
call fcn.1002aad0
lea rcx, str.2729
lea ebx, [rdi + rax]
call fcn.1002aad0
lea rcx, str.1517
add ebx, eax
call fcn.1002aad0
lea rcx, str.2593
add ebx, eax
call fcn.1002aad0
lea rcx, str.2800
add ebx, eax
call fcn.1002aad0
lea rcx, str.1614
add ebx, eax
call fcn.1002aad0
lea rcx, str.2463
add ebx, eax
call fcn.1002aad0
lea rcx, str.1458
add ebx, eax
call fcn.1002aad0
mov edx, esi
add ax, bx
add rbp, 1
ror edx, 8
movzx ecx, ax
add edx, ecx
xor esi, edx
cmp byte [rbp], 0
jne 0x10002340
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x28
ret