joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400052d0
Capabilities:
Query service configuration

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x370
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14014ee68]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov r12, rcx
mov qword [rsp + 0x38], rcx
test dl, dl
je 0x1400054fc
mov rcx, qword [0x1401638d8]
test rcx, rcx
jne 0x14000532e
mov dword [0x14014cae4], 0x2000000c
jmp 0x1400054fc
mov dword [rsp + 0x30], 1
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov ecx, dword [rsp + 0x30]
call fcn.14000fdf0
mov rsi, rax
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [0x1401638d8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x1400054ec
mov dword [0x14014cae4], 0
mov ebx, 0x104
mov rcx, rbx
call fcn.14000fdf0
mov rdi, rax
nop
mov r8d, ebx
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [rbx - 2]
cmp eax, edx
jbe 0x1400053bf
add ebx, 0x104
mov rcx, rdi
call fcn.14000fdf8
mov ecx, ebx
call fcn.14000fdf0
mov rdi, rax
jmp 0x140005390
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x160]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140020700
lea r11, [rsp + 0x260]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x160]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140020430
mov rcx, qword [rsi + 0x10]
call fcn.140020404
mov rcx, rdi
call fcn.140020404
mov r8d, 0x103
lea rdx, str.FNPLicensingService64
lea rcx, [rsp + 0x50]
call fcn.14001fec4
lea rcx, [rsp + 0x50]
call fcn.140020404
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14000544b
mov rdx, rdi
call fcn.140020034
test rax, rax
jne 0x140005455
mov dword [0x14014cae4], 0x2000000d
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14000546d
lea rdx, [rsp + 0x50]
call fcn.140020034
test rax, rax
jne 0x140005477
mov dword [0x14014cae4], 0x2000000e
test byte [rsi], 0x10
jne 0x140005488
mov dword [0x14014cae4], 0x2000000f
jmp 0x1400054e4
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400054da
lea rdx, str.FlexNet_Licensing_Service_64
call fcn.14002028c
test eax, eax
jne 0x1400054da
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1400054e4
lea rdx, str..System
call fcn.14002028c
test eax, eax
je 0x1400054e4
lea rdx, str.LocalSystem
mov rcx, qword [rsi + 0x30]
call fcn.14002028c
test eax, eax
je 0x1400054e4
mov dword [0x14014cae4], 0x20000011
jmp 0x1400054e4
mov dword [0x14014cae4], 0x20000010
mov rcx, rdi
call fcn.14000fdf8
mov rcx, rsi
call fcn.14000fdf8
nop
jmp 0x1400054fc
test r12, r12
je 0x14000550b
mov eax, dword [0x14014cae4]
mov dword [r12], eax
mov eax, dword [0x14014cae4]
neg eax
sbb eax, eax
and eax, 0x19
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14001e7c0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140005550
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14014ee68]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, str.FNPLicensingService64
lea r9, str.Macrovision
lea r8, str.SOFTWARE_s_s_s
mov qword [rsp + 0x28], rax
lea rax, str.FlexNet_Publisher
lea rcx, [rsp + 0x50]
mov edx, 0x200
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rax
call fcn.14001fc20
lea r11, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400056d2
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, [0x1400e049c]
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000562f
cmp dword [rsp + 0x30], 4
jne 0x14000562f
cmp dword [rsp + 0x34], 4
jne 0x14000562f
mov edx, dword [rsp + 0x38]
xor ecx, ecx
call fcn.14000fab0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, [0x1400e0498]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000567b
cmp dword [rsp + 0x30], 4
jne 0x14000567b
cmp dword [rsp + 0x34], 4
jne 0x14000567b
mov edx, dword [rsp + 0x38]
lea ecx, [rax + 1]
call fcn.14000fab0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, [0x1400e0494]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400056c7
cmp dword [rsp + 0x30], 4
jne 0x1400056c7
cmp dword [rsp + 0x34], 4
jne 0x1400056c7
mov edx, dword [rsp + 0x38]
lea ecx, [rax + 2]
call fcn.14000fab0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001e7c0
add rsp, 0x268
ret
Function at 0x1400060d0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x60
xor esi, esi
cmp ecx, 2
mov dword [0x14016388c], ecx
mov rcx, qword [0x140163878]
mov eax, esi
mov dword [0x140163894], edx
setne al
lea rdx, [0x140163888]
mov dword [0x140163888], 0x10
mov dword [0x140163898], esi
mov dword [0x14016389c], r8d
mov dword [0x1401638a0], r9d
mov dword [0x140163890], eax
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov ebx, eax
test eax, eax
jne 0x140006199
lea rdx, str.FlexNet_Licensing_Service_64
xor ecx, ecx
mov qword [rsp + 0x70], rdi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov rdi, rax
lea rax, str.SetServiceStatus_failed
mov qword [rsp + 0x50], rax
test rdi, rdi
je 0x140006192
mov qword [rsp + 0x40], rsi
mov ecx, 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov edx, ecx
xor r8d, r8d
xor r9d, r9d
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rdi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret
Function at 0x14000e440
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
lea rax, [0x14000df00]
xor edi, edi
lea rbx, str.FlexNet_Licensing_Service_64
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x14000e4de
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov rbx, rax
lea rax, str.StartServiceCtrlDispatcher___failed
mov qword [rsp + 0x80], rax
test rbx, rbx
je 0x14000e4de
mov qword [rsp + 0x40], rdi
mov ecx, 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
mov word [rsp + 0x28], cx
mov edx, ecx
xor r8d, r8d
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x14000e580
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
test ecx, ecx
je 0x14000e5ab
sub ecx, 1
je 0x14000e5a3
cmp ecx, 1
jne 0x14000e601
mov ebx, dword [0x140163d40]
jmp 0x14000e5b1
mov ebx, dword [0x140163d3c]
jmp 0x14000e5b1
mov ebx, dword [0x140163d38]
test ebx, ebx
je 0x14000e601
cmp ebx, 1
jne 0x14000e5ce
call fcn.140003da0
mov byte [rdi], al
mov al, bl
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea eax, [rbx - 0x41]
cmp eax, 0x19
ja 0x14000e601
mov dword [rsp + 0x30], 0x5c3a41
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], bl
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x14000e601
mov byte [rdi], bl
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000fd40
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rcx, [0x140163d10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x140163ce8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r11d, r11d
lea r8, [0x14000fcc0]
mov qword [rsp + 0x28], r11
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x1400151b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14001b4c8
mov rsi, rax
test rax, rax
je 0x14001522c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140015227
cmp dword [rbx], 0x40
jb 0x140015227
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x140015227
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140015230
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140021cf4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14002b738
nop
cmp dword [0x140167720], 1
je 0x140021ca0
mov dword [0x14016771c], 1
mov byte [0x140167718], r12b
test ebx, ebx
jne 0x140021c8c
mov rcx, qword [0x14016adf0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140021c79
mov rcx, qword [0x14016ade8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140021c18
call fcn.140022644
cmp qword [rdi], rax
jne 0x140021c18
jmp 0x140021bfe
cmp rdi, rsi
jb 0x140021c79
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140022644
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14016adf0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14016ade8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140021c57
cmp r13, rax
je 0x140021c77
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140021bfe
lea rdx, [0x1400dfce0]
lea rcx, [0x1400dfcc8]
call fcn.140021a48
lea rdx, [0x1400dfcf0]
lea rcx, [0x1400dfce8]
call fcn.140021a48
nop
test r12d, r12d
je 0x140021caf
mov ecx, 8
call fcn.14002b638
test r12d, r12d
jne 0x140021cda
mov dword [0x140167720], 1
lea ecx, [r12 + 8]
call fcn.14002b638
mov ecx, r15d
call fcn.1400219dc
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140021b68

Function at 0x140021d00
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140021b68
Function at 0x1400243fb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14014ee68]
jne 0x14001e7da
rol rcx, 0x10
test cx, 0xffff
jne 0x14001e7d6
repz ret
ror rcx, 0x10
jmp 0x140024354
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140167b20]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140167c18]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400243d9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140167b20]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400243fb
mov rax, qword [rsp + 0x88]
mov qword [0x140167c18], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140167bb8], rax
mov rax, qword [0x140167c18]
mov qword [0x140167a90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140167ba0], rax
mov dword [0x140167a80], 0xc0000409
mov dword [0x140167a84], 1
mov rax, qword [0x14014ee68]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14014ee70]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140167b18], eax
mov ecx, 1
call fcn.140024528
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400e4940]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140167b18], 0
jne 0x140024482
mov ecx, 1
call fcn.140024528
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14003268c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140022644
xor ebx, ebx
mov rdi, rax
cmp qword [0x140168558], rbx
jne 0x140032792
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140032867
lea rdx, [0x1400e5a38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140032867
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140168558], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400e5a10]
mov rcx, rsi
mov qword [0x140168560], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140168568], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140168578], rax
test rax, rax
je 0x140032789
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140168570], rax
jmp 0x140032799
mov rax, qword [0x140168570]
jmp 0x1400327a0
mov rax, qword [0x140168570]
mov r11, qword [0x140168578]
cmp rax, rdi
je 0x140032808
cmp r11, rdi
je 0x140032808
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140168578]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140032808
test rax, rax
je 0x140032808
call rsi
test rax, rax
je 0x140032802
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140032802
test byte [rsp + 0x38], 1
jne 0x140032808
bts ebp, 0x15
jmp 0x140032846
mov rcx, qword [0x140168560]
cmp rcx, rdi
je 0x140032846
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140032846
call rax
mov rbx, rax
test rax, rax
je 0x140032846
mov rcx, qword [0x140168568]
cmp rcx, rdi
je 0x140032846
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140032846
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140168558]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140032867
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140032869
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14005e6c0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0xb0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14014ee68]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [r11 - 0x28], 0xf
mov qword [r11 - 0x30], r12
mov byte [r11 - 0x40], r12b
lea r8d, [r12 + 4]
lea rdx, str._tmp
lea rcx, [r11 - 0x48]
call fcn.140002ce0
nop
mov ecx, 0x104
call fcn.14000fdf0
mov rbx, rax
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, eax
test eax, eax
jne 0x14005e75e
lea r8d, [r12 + 3]
lea rdx, [0x1400ec710]
lea rcx, [rsp + 0x80]
call fcn.140002ce0
jmp 0x14005e7ad
cmp eax, 0x104
jb 0x14005e78b
mov rcx, rbx
call fcn.14000fdf8
lea edi, [rsi + 1]
mov ecx, edi
call fcn.14000fdf0
mov rbx, rax
mov rdx, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, eax
cmp eax, edi
jae 0x14005e765
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140002ce0
mov rcx, rbx
call fcn.14000fdf8
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
call fcn.14008b190
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x80]
call fcn.14005b480
nop
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
call fcn.14008b190
mov r9, rax
lea r8, [rsp + 0x28]
xor edx, edx
mov rcx, qword [str.libFNP_events.log]
call fcn.140088d30
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.14008aef0
nop
cmp qword [rsp + 0x48], 8
jb 0x14005e836
mov rcx, qword [rsp + 0x30]
call fcn.14000fdf8
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.14005e680
nop
cmp qword [rsp + 0x78], 8
jb 0x14005e856
mov rcx, qword [rsp + 0x60]
call fcn.14000fdf8
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
cmp qword [rsp + 0xa0], 0x10
jb 0x14005e887
mov rcx, qword [rsp + 0x88]
call fcn.14000fdf8
mov rax, rbp
jmp 0x14005e88a
mov rax, rbp
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14001e7c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140066ae0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x14014ee68]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [0x1401686b8], 0
mov rbx, rcx
jne 0x140066c07
mov qword [rsp + 0x158], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str.Locala3d0d9cf_ef71_409f_acb2_91dca7237f13__lx_s_vm_init
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.14001f8e0
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rdi, rax
test rax, rax
je 0x140066bd9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140066b8d
cmp dword [0x1401686b8], eax
jne 0x140066bb3
lea rcx, [0x140168690]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1400663d0]
call fcn.14001e708
mov dword [0x1401686b8], 0xffffffff
jmp 0x140066bb3
test rbx, rbx
je 0x140066bb3
cmp qword [rbx + 8], 0
je 0x140066bb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx]
mov edx, send
mov r8d, eax
mov r9d, 0xfc
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x140066bff
test rbx, rbx
je 0x140066bff
cmp qword [rbx + 8], 0
je 0x140066bff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, reloc.WS2_32.dll_select
jmp 0x140066bf0
test rbx, rbx
je 0x140066bff
cmp qword [rbx + 8], 0
je 0x140066bff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbx]
mov r9d, 0xfc
mov r8d, eax
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001e7c0
add rsp, 0x140
pop rbx
ret

Function at 0x140067060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12d, r8d
mov rsi, rdx
mov edi, ecx
lea r13d, [r12 + 3]
mov edx, 4
shr r13d, 2
mov ecx, r13d
mov ebx, r13d
call fcn.140020790
mov rbp, rax
test rax, rax
je 0x140067114
mov r8, r12
mov rdx, rsi
mov rcx, rax
call fcn.14001e9d0
test r13d, r13d
je 0x1400670ce
mov rax, rbp
nop word [rax + rax]
xor dword [rax], edi
mov edi, dword [rax]
add rax, 4
sub rbx, 1
jne 0x1400670c0
xor r8d, r8d
xor r9b, r9b
mov eax, r8d
test r12d, r12d
je 0x140067105
nop dword [rax]
mov edx, dword [rbp + rax*4]
movzx ecx, r9b
inc r8d
and ecx, 0x1f
mov eax, r8d
inc rsi
shr edx, cl
shr eax, 2
add r9b, 8
mov byte [rsi - 1], dl
cmp r8d, r12d
jb 0x1400670e0
mov rcx, rbp
call fcn.14001e7e0
mov eax, 1
jmp 0x140067117
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1400683f0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x14014ee68]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
test rcx, rcx
je 0x140068432
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140068432
mov rcx, qword [rcx]
mov r9d, 0x37
lea r8, str.Fake_Vm_Detection_Mechanism
lea edx, [r9 - 0x2e]
call rax
lea rcx, str.FNP_FAKE_VM
call fcn.140038738
test rax, rax
jne 0x14006846e
test rbx, rbx
je 0x140068467
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140068467
mov rcx, qword [rbx]
mov r9d, 0x3a
lea r8, str.Fake_Vm_Detection_Mechanism_negative_result
lea edx, [r9 - 0x31]
call rax
xor eax, eax
jmp 0x140068666
mov rcx, rax
mov qword [rsp + 0xc0], r12
call fcn.140021780
mov r12, rax
test rax, rax
jne 0x1400684b1
test rbx, rbx
je 0x1400684aa
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400684aa
mov rcx, qword [rbx]
lea r9d, [r12 + 0x41]
lea r8, str.Fake_Vm_Detection_Mechanism_negative_result
lea edx, [r12 + 9]
call rax
xor eax, eax
jmp 0x14006865e
mov qword [rsp + 0xe8], rbp
lea rdx, [0x1400ed444]
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0xc8], rdi
xor ebp, ebp
call fcn.140067fb0
lea rdx, [0x1400ed444]
xor r8d, r8d
xor ecx, ecx
mov rdi, rax
call fcn.140067fb0
test rdi, rdi
je 0x1400685f5
test rax, rax
je 0x1400685f5
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400c5980
test eax, eax
jne 0x1400685f5
mov rdx, rbx
mov rcx, rdi
call fcn.140067f60
lea r9, [rsp + 0x40]
mov r8, rdi
mov rdx, rax
xor ecx, ecx
call fcn.1400c5a00
test eax, eax
jne 0x1400685f5
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400c5ae0
test eax, eax
jne 0x1400685f5
mov qword [rsp + 0xf0], rsi
mov esi, dword [rsp + 0x20]
lea rcx, [rsi + rsi + 1]
call fcn.14001e820
mov rdi, rax
test rax, rax
je 0x1400685ed
mov rdx, rbp
test rsi, rsi
je 0x1400685c5
nop word [rax + rax]
movzx ecx, byte [rsp + rdx + 0x24]
movzx r8d, cl
and cl, 0xf
shr r8b, 4
cmp r8b, 0xa
jae 0x1400685a0
add r8b, 0x30
mov byte [rax + rdx*2], r8b
jmp 0x1400685a8
add r8b, 0x57
mov byte [rax + rdx*2], r8b
cmp cl, 0xa
jae 0x1400685b6
add cl, 0x30
mov byte [rax + rdx*2 + 1], cl
jmp 0x1400685bd
add cl, 0x57
mov byte [rax + rdx*2 + 1], cl
inc rdx
cmp rdx, rsi
jb 0x140068580
mov byte [rax + rdx*2], bpl
lea rdx, str.cca6e10f064c06c49acf44bd0317aed73000818f
mov r8, rbx
mov rcx, rax
call fcn.140067e20
mov ecx, 1
test eax, eax
cmove ebp, ecx
mov rcx, rdi
call fcn.14001e7e0
mov rsi, qword [rsp + 0xf0]
mov rcx, r12
call fcn.14001e7e0
mov rdi, qword [rsp + 0xc8]
test ebp, ebp
je 0x14006862f
test rbx, rbx
je 0x140068654
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140068654
mov rcx, qword [rbx]
mov r9d, WSAGetLastError
lea r8, str.Fake_Vm_Detection_Mechanism_positive_result
lea edx, [r9 - 0x63]
call rax
jmp 0x140068654
test rbx, rbx
je 0x140068654
mov r10, qword [rbx + 0x10]
test r10, r10
je 0x140068654
mov rcx, qword [rbx]
mov r9d, WSAStartup
lea r8, str.Fake_Vm_Detection_Mechanism_negative_result
lea edx, [r9 - 0x65]
call r10
mov eax, ebp
mov rbp, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14001e7c0
add rsp, 0xd0
pop rbx
ret