joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400069ea
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push rbp
sub rsp, 0x7d0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x74c], 0
lea rax, [rbp + 0x530]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0xa
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call rax
test eax, eax
js 0x140006b63
lea rdx, [rbp + 0x530]
lea rax, [rbp + 0xd0]
mov r8, rdx
mov edx, 0x104
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_wcscpy_s]
call rax
lea rax, [rbp + 0xd0]
lea r8, [0x140034cf2]
mov edx, 0x104
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_wcscat_s]
call rax
lea rdx, [rbp + 0x2e0]
lea rax, [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileW]
call rax
mov qword [rbp + 0x740], rax
cmp qword [rbp + 0x740], 0xffffffffffffffff
je 0x140006b53
lea rax, [rbp + 0x2e0]
lea rdx, [rax + 0x2c]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rdx
mov edx, 0
mov ecx, 0xfde9
mov rax, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call rax
mov eax, dword [rbp + 0x2e0]
and eax, 0x10
test eax, eax
jne 0x140006b1d
lea rax, [rbp - 0x40]
mov rdx, rax
lea rax, str.Trashed_file:__s_n
mov rcx, rax
call sym.printf_4
add dword [rbp + 0x74c], 1
jmp 0x140006b1e
nop
lea rdx, [rbp + 0x2e0]
mov rax, qword [rbp + 0x740]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindNextFileW]
call rax
test eax, eax
jne 0x140006aa7
mov rax, qword [rbp + 0x740]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
cmp dword [rbp + 0x74c], 0x63
jg 0x140006b63
mov eax, 1
jmp 0x140006b68
mov eax, 0
add rsp, 0x7d0
pop rbp
ret

Function at 0x140006eeb
Capabilities:
Hide thread from debugger

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp - 4], 0x11
lea rax, [0x140034d40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
lea rdx, str.NtSetInformationThread
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x18], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rcx, rax
mov eax, dword [rbp - 4]
mov r10, qword [rbp - 0x18]
mov r9d, 0
mov r8d, 0
mov edx, eax
call r10
lea rax, [sym.UnhandledExcepFilter]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov qword [rbp - 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0xc000008e
mov rax, qword [sym.imp.KERNEL32.dll_RaiseException]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov eax, dword [0x140032c40]
add rsp, 0x40
pop rbp
ret
Function at 0x14000712a
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x100], ecx
mov dword [rbp + 0xdc], 0
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0xd0], rax
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x26
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sym.Process32First
test eax, eax
je 0x1400071be
mov eax, dword [rbp - 0x58]
cmp dword [rbp + 0x100], eax
jne 0x1400071a7
mov eax, dword [rbp - 0x40]
mov dword [rbp + 0xdc], eax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sym.Process32Next
test eax, eax
jne 0x140007193
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0xdc]
add rsp, 0x168
pop rdi
pop rbp
ret

Function at 0x140007231
Capabilities:
Accept command line arguments
Check mutex on windows
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xf0
lea rax, str.SelfDebugMutex
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov r8, rax
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateMutexA]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0xb7
jne 0x140007284
call sym.child_process
mov eax, 0
jmp 0x140007368
mov dword [rbp - 0x34], 0
lea rax, [rbp - 0x30]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp - 0xa0]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp - 0xa0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCommandLineA]
call rax
mov rdx, rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov rax, qword [rbp - 0x30]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x30]
lea rdx, [rbp - 0x34]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call rax
mov eax, dword [rbp - 0x34]
test eax, eax
je 0x140007363
mov eax, 1
jmp 0x140007368
mov eax, 0
add rsp, 0xf0
pop rbp
ret

Function at 0x140007371
Capabilities:
Check for sandbox and av modules

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov word [rbp - 6], 0xe
mov dword [rbp - 4], 0
jmp 0x1400073d1
mov eax, dword [rbp - 4]
cdqe
lea rdx, [rax*8]
lea rax, str.sbiedll.dll
mov rax, qword [rdx + rax]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1400073cd
lea rax, str.found_blacklisted_module
mov rcx, rax
call sym.printf_5
mov eax, 1
jmp 0x1400073df
add dword [rbp - 4], 1
movzx eax, word [rbp - 6]
cmp dword [rbp - 4], eax
jl 0x140007388
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x1400076ee
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xd8], 0
lea rax, [rbp - 0x60]
mov r8d, 0x130
mov edx, 0
mov rcx, rax
call sym.memset
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0xffffffffffffffff
jne 0x140007751
mov eax, 0
jmp 0x140007829
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.Process32First
test eax, eax
jne 0x14000778c
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x140007829
lea rax, [rbp - 0x60]
add rax, 0x2c
mov rdx, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__stricmp_1]
call rax
test eax, eax
jne 0x1400077fa
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp - 0x58]
jmp 0x140007829
lea rax, [rbp - 0x60]
add rax, 0x2c
mov rdx, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__stricmp_1]
call rax
test eax, eax
jne 0x1400077fa
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp - 0x58]
jmp 0x140007829
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.Process32Next
test eax, eax
jne 0x1400077c3
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x160
pop rbp
ret
Function at 0x1400079b5
Capabilities:
Check for sandbox username or hostname
Get hostname

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov dword [rbp + 0xdc], 0
lea rax, str.vbox
mov qword [rbp + 0xb0], rax
lea rax, [0x140035044]
mov qword [rbp + 0xb8], rax
lea rax, str.virtual
mov qword [rbp + 0xc0], rax
lea rax, str.sandbox
mov qword [rbp + 0xc8], rax
lea rax, str.HAL9TH
mov qword [rbp + 0xd8], rax
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
mov qword [rbp], 0
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov dword [rbp - 0x54], 0x100
lea rdx, [rbp - 0x54]
lea rax, [rbp - 0x50]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call rax
test eax, eax
je 0x140007b80
jmp 0x140007b77
mov eax, dword [rbp + 0xdc]
cdqe
mov rdx, qword [rbp + rax*8 + 0xb0]
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.strstr
test rax, rax
je 0x140007b70
mov eax, 1
jmp 0x140007b85
add dword [rbp + 0xdc], 1
cmp dword [rbp + 0xdc], 4
jle 0x140007b48
mov eax, 0
add rsp, 0x160
pop rbp
ret
Function at 0x140007b8e
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
push rbp
mov eax, 0x8100
call fcn.140010ab0
sub rsp, rax
lea rbp, [rsp + 0x80]
lea rax, str.admin
mov qword [rbp + 0x7fb0], rax
lea rax, str.andy
mov qword [rbp + 0x7fb8], rax
lea rax, str.honey
mov qword [rbp + 0x7fc0], rax
lea rax, str.john
mov qword [rbp + 0x7fc8], rax
lea rax, str.john_doe
mov qword [rbp + 0x7fd0], rax
lea rax, str.malnetvm
mov qword [rbp + 0x7fd8], rax
lea rax, str.maltest
mov qword [rbp + 0x7fe0], rax
lea rax, str.malware
mov qword [rbp + 0x7fe8], rax
lea rax, [0x140035096]
mov qword [rbp + 0x7ff0], rax
lea rax, str.sandbox
mov qword [rbp + 0x7ff8], rax
lea rax, str.snort
mov qword [rbp + 0x8000], rax
lea rax, str.tequilaboomboom
mov qword [rbp + 0x8008], rax
lea rax, str.test
mov qword [rbp + 0x8010], rax
lea rax, str.virus
mov qword [rbp + 0x8018], rax
lea rax, str.virusclone
mov qword [rbp + 0x8020], rax
lea rax, str.wilbert
mov qword [rbp + 0x8028], rax
lea rax, str.nepenthes
mov qword [rbp + 0x8030], rax
lea rax, str.currentuser
mov qword [rbp + 0x8038], rax
lea rax, str.username
mov qword [rbp + 0x8040], rax
lea rax, str.vmware
mov qword [rbp + 0x8048], rax
lea rax, str.user
mov qword [rbp + 0x8050], rax
lea rax, str.mike
mov qword [rbp + 0x8058], rax
lea rax, str.louise
mov qword [rbp + 0x8060], rax
lea rax, str.j.seance
mov qword [rbp + 0x8068], rax
mov dword [rbp - 0x54], 0x7fff
lea rdx, [rbp - 0x54]
lea rax, [rbp - 0x50]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_GetUserNameA]
call rax
mov dword [rbp + 0x807c], 0
jmp 0x140007d6a
mov eax, dword [rbp + 0x807c]
cdqe
mov rdx, qword [rbp + rax*8 + 0x7fb0]
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__strnicmp]
call rax
test eax, eax
je 0x140007d63
lea rax, [rbp - 0x50]
mov rdx, rax
lea rax, str._nComputer_name:_s_n
mov rcx, rax
call sym.printf_7
mov eax, 1
jmp 0x140007d78
add dword [rbp + 0x807c], 1
cmp dword [rbp + 0x807c], 0x17
jle 0x140007d1b
mov eax, 0
add rsp, 0x8100
pop rbp
ret

Function at 0x140007d81
Capabilities:
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp - 0x10]
cmp eax, 1
setbe al
movzx eax, al
add rsp, 0x50
pop rbp
ret

Function at 0x140007dc9
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov edx, 0
lea rax, [sym.EnumWindowsProc]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_EnumWindows]
call rax
mov eax, dword [0x14003f0b0]
mov edx, eax
lea rax, str.total_windows_found:__d_n
mov rcx, rax
call sym.printf_7
mov eax, dword [0x14003f0b0]
cmp eax, 0xb
setle al
movzx eax, al
add rsp, 0x20
pop rbp
ret
Function at 0x140008082
Capabilities:
Enumerate disk properties

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov dword [rbp - 8], 0
mov r9d, 2
mov r8d, 0
mov edx, 0
lea rax, [0x1400382e0]
mov rcx, rax
mov rax, qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0xffffffffffffffff
jne 0x1400080cd
mov eax, 0
jmp 0x140008260
mov dword [rbp - 0x40], 0x20
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x48], 0
mov dword [rbp - 4], 0
jmp 0x1400081f0
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0x7a
jne 0x140008178
cmp qword [rbp - 0x10], 0
je 0x140008114
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov eax, dword [rbp - 0x48]
add eax, eax
mov eax, eax
mov rdx, rax
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_LocalAlloc]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14000817b
mov ecx, dword [rbp - 0x48]
lea r9, [rbp - 0x44]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp - 0x18]
lea r8, [rbp - 0x48]
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov r8d, 1
mov rcx, rax
mov rax, qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
call rax
test eax, eax
je 0x1400080ef
jmp 0x14000817c
nop
jmp 0x14000817c
nop
cmp qword [rbp - 0x10], 0
je 0x1400081ec
mov rax, qword [rbp - 0x10]
lea rdx, str.vbox
mov rcx, rax
call sym.strstr
test rax, rax
jne 0x1400081e3
mov rax, qword [rbp - 0x10]
lea rdx, str.vmware
mov rcx, rax
call sym.strstr
test rax, rax
jne 0x1400081e3
mov rax, qword [rbp - 0x10]
lea rdx, str.qemu
mov rcx, rax
call sym.strstr
test rax, rax
jne 0x1400081e3
mov rax, qword [rbp - 0x10]
lea rdx, str.virtual
mov rcx, rax
call sym.strstr
test rax, rax
je 0x1400081ec
mov dword [rbp - 8], 1
jmp 0x140008212
add dword [rbp - 4], 1
lea rcx, [rbp - 0x40]
mov edx, dword [rbp - 4]
mov rax, qword [rbp - 0x18]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
call rax
test eax, eax
jne 0x140008137
cmp qword [rbp - 0x10], 0
je 0x140008229
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
je 0x14000825d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0x103
je 0x14000825d
mov eax, 0
jmp 0x140008260
mov eax, dword [rbp - 8]
add rsp, 0x90
pop rbp
ret
Function at 0x1400083f5
Capabilities:
Identify system language via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rax
mov word [rbp - 6], ax
mov dword [rbp - 4], 0
jmp 0x140008452
movzx edx, word [rbp - 6]
mov eax, dword [rbp - 4]
cdqe
lea rcx, [rax*4]
lea rax, [0x140032ce0]
mov eax, dword [rcx + rax]
cmp edx, eax
jne 0x14000844e
movzx eax, word [rbp - 6]
mov edx, eax
lea rax, [0x1400351b5]
mov rcx, rax
call sym.printf_7
mov eax, 1
jmp 0x14000845d
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xf
jle 0x140008413
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x140008463
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov r9d, 0
mov r8d, 0
mov edx, 0x59
mov ecx, 0x800
mov rax, qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
call rax
mov dword [rbp - 8], eax
mov eax, dword [rbp - 8]
cdqe
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x10], rax
mov edx, dword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov r9d, edx
mov r8, rax
mov edx, 0x59
mov ecx, 0x800
mov rax, qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
call rax
mov dword [rbp - 0x14], eax
mov dword [rbp - 4], 0
jmp 0x140008515
mov eax, dword [rbp - 4]
cdqe
lea rdx, [rax*8]
lea rax, [0x140032d20]
mov rdx, qword [rdx + rax]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.stricmp
test eax, eax
jne 0x140008511
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.puts
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.free
mov eax, 1
jmp 0x14000852c
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xf
jle 0x1400084ca
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.free
mov eax, 0
add rsp, 0x40
pop rbp
ret

Function at 0x140008532
Capabilities:
Get keyboard layout

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
lea rax, [rbp - 0x60]
mov rdx, rax
mov ecx, 9
mov rax, qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
call rax
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jne 0x14000856e
lea rax, str.Failed_to_retrieve_keyboard_layouts._n
mov rcx, rax
call sym.printf_7
mov eax, 1
jmp 0x1400085c9
mov rax, qword [rbp - 0x60]
mov word [rbp - 0xa], ax
mov dword [rbp - 4], 0
jmp 0x1400085be
movzx edx, word [rbp - 0xa]
mov eax, dword [rbp - 4]
cdqe
lea rcx, [rax*4]
lea rax, [0x140032ce0]
mov eax, dword [rcx + rax]
cmp edx, eax
jne 0x1400085ba
movzx eax, word [rbp - 0xa]
mov edx, eax
lea rax, str.Language:__d_n
mov rcx, rax
call sym.printf_7
mov eax, 1
jmp 0x1400085c9
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xf
jle 0x14000857f
mov eax, 0
sub rsp, 0xffffffffffffff80
pop rbp
ret
Function at 0x1400085cf
Capabilities:
Get keyboard layout

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetKeyboardLayout]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov word [rbp - 0x12], ax
mov dword [rbp - 4], 0
jmp 0x140008639
movzx edx, word [rbp - 0x12]
mov eax, dword [rbp - 4]
cdqe
lea rcx, [rax*4]
lea rax, [0x140032ce0]
mov eax, dword [rcx + rax]
cmp edx, eax
jne 0x140008635
movzx eax, word [rbp - 0x12]
mov edx, eax
lea rax, str.Language:__d_n
mov rcx, rax
call sym.printf_7
mov eax, 1
jmp 0x140008644
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xf
jle 0x1400085fa
mov eax, 0
add rsp, 0x40
pop rbp
ret

Function at 0x14000864a
Capabilities:
Identify system language via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call rax
mov word [rbp - 6], ax
mov dword [rbp - 4], 0
jmp 0x1400086a7
movzx edx, word [rbp - 6]
mov eax, dword [rbp - 4]
cdqe
lea rcx, [rax*4]
lea rax, [0x140032ce0]
mov eax, dword [rcx + rax]
cmp edx, eax
jne 0x1400086a3
movzx eax, word [rbp - 6]
mov edx, eax
lea rax, [0x1400351b5]
mov rcx, rax
call sym.printf_7
mov eax, 1
jmp 0x1400086b2
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xf
jle 0x140008668
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x1400086b8
Capabilities:
Identify system language via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
call rax
mov word [rbp - 6], ax
mov dword [rbp - 4], 0
jmp 0x140008715
movzx edx, word [rbp - 6]
mov eax, dword [rbp - 4]
cdqe
lea rcx, [rax*4]
lea rax, [0x140032ce0]
mov eax, dword [rcx + rax]
cmp edx, eax
jne 0x140008711
movzx eax, word [rbp - 6]
mov edx, eax
lea rax, [0x1400351b5]
mov rcx, rax
call sym.printf_7
mov eax, 1
jmp 0x140008720
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xf
jle 0x1400086d6
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x1400087c6
Capabilities:
Check mutex on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x10], 0
mov dword [rbp - 4], 0
jmp 0x140008847
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
call rax
mov eax, dword [rbp - 4]
cdqe
lea rdx, [rax*8]
lea rax, str.Frz_State
mov rax, qword [rdx + rax]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateMutexA]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x1c], 0xb7
jne 0x140008843
mov eax, 1
jmp 0x140008852
add dword [rbp - 4], 1
cmp dword [rbp - 4], 3
jle 0x1400087df
mov eax, 0
add rsp, 0x40
pop rbp
ret
Function at 0x140008aaa
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x1c], 0
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call sym.GetAdaptersAddresses
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0x6f
jne 0x140008bc4
mov eax, dword [rbp - 0x1c]
mov eax, eax
mov rdx, rax
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_LocalAlloc]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x18], rax
cmp qword [rbp - 8], 0
je 0x140008bc4
mov rdx, qword [rbp - 8]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
mov r9, rdx
mov r8d, 0
mov edx, 0
mov ecx, 0
call sym.GetAdaptersAddresses
mov dword [rbp - 0x22], 0
mov word [rbp - 0x1e], 0
jmp 0x140008bad
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x58]
cmp eax, 6
jne 0x140008ba1
mov rax, qword [rbp - 8]
add rax, 0x50
mov edx, dword [rax]
mov dword [rbp - 0x22], edx
movzx eax, word [rax + 4]
mov word [rbp - 0x1e], ax
lea rax, [rbp - 0x22]
mov r8d, 3
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call sym.memcmp
test eax, eax
jne 0x140008ba1
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov eax, 1
jmp 0x140008bc9
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140008b4f
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov eax, 0
add rsp, 0x60
pop rbp
ret

Function at 0x140008bcf
Capabilities:
Get mac address on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp - 4], 0
mov dword [rbp - 0x18], 0x2c0
mov ecx, 0x2c0
call sym.malloc
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140008c08
mov eax, 0xffffffff
jmp 0x140008cdb
lea rdx, [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.GetAdaptersInfo
cmp eax, 0x6f
jne 0x140008c4b
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.free
mov eax, dword [rbp - 0x18]
mov eax, eax
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140008c4b
mov eax, 1
jmp 0x140008cdb
lea rdx, [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.GetAdaptersInfo
test eax, eax
jne 0x140008cd8
mov dword [rbp - 0x14], 0
jmp 0x140008c85
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx edx, byte [rax]
mov eax, dword [rbp - 0x14]
cdqe
mov byte [rbp + rax - 0x1c], dl
add dword [rbp - 0x14], 1
cmp dword [rbp - 0x14], 3
jle 0x140008c68
jmp 0x140008cd1
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x194]
cmp eax, 6
jne 0x140008cc6
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 0x198]
lea rax, [rbp - 0x1c]
mov r8d, 3
mov rcx, rax
call sym.memcmp
test eax, eax
jne 0x140008cc6
mov dword [rbp - 4], 1
jmp 0x140008cd8
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140008c8d
mov eax, dword [rbp - 4]
add rsp, 0x40
pop rbp
ret