joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020d34
Capabilities:
Terminate process

Disassembly:
jmp 0x14005d0d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140020d66
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
jmp 0x1400490a0
push rbp
push rdi
sub rsp, 0xa18
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1be
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x9e8], rax
lea rcx, [0x1400b6161]
call fcn.140021856
movzx eax, word [0x14006839c]
mov word [rbp + 0x240], ax
lea rax, [rbp + 0x242]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, str.qemu_ga
mov qword [rbp + 0x468], rax
lea rax, str.SPICE_Guest_Tools
mov qword [rbp + 0x470], rax
mov eax, 2
mov word [rbp + 0x494], ax
mov dword [rbp + 0x4b4], 0
jmp 0x140049140
mov eax, dword [rbp + 0x4b4]
inc eax
mov dword [rbp + 0x4b4], eax
movzx eax, word [rbp + 0x494]
cmp dword [rbp + 0x4b4], eax
jge 0x140049220
movzx eax, word [0x14006839c]
mov word [rbp + 0x4e0], ax
lea rax, [rbp + 0x4e2]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
call fcn.14002125c
test eax, eax
je 0x140049196
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, str._ProgramW6432_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1400491ab
xor r9d, r9d
mov r8d, 0x26
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
movsxd rax, dword [rbp + 0x4b4]
mov r8, qword [rbp + rax*8 + 0x468]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r9, [rbp + 0x240]
lea r8, str.Checking_QEMU_directory__s
mov edx, 0x100
lea rcx, [rbp + 0x4e0]
call fcn.1400206fe
lea rcx, [rbp + 0x240]
call fcn.1400213fb
test eax, eax
je 0x14004920d
lea rdx, [rbp + 0x4e0]
mov ecx, 1
call fcn.1400219c8
jmp 0x14004921b
lea rdx, [rbp + 0x4e0]
xor ecx, ecx
call fcn.1400219c8
jmp 0x140049132
lea rcx, [rbp - 0x20]
lea rdx, [0x140077740]
call fcn.1400213b5
mov rcx, qword [rbp + 0x9e8]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x9f8]
pop rdi
pop rbp
ret
Function at 0x140020f4b
Capabilities:
Get geographical location

Disassembly:
jmp 0x14005be20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14005be5d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140021833
add rsp, 0x58
ret

Function at 0x140020faa
Capabilities:
Enumerate threads

Disassembly:
jmp 0x140054fb0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400b63a5]
call fcn.140021856
xor edx, edx
mov ecx, 4
call fcn.140020b09
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x14005509c
mov dword [rbp + 0x28], 0x1c
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.140020ed8
test eax, eax
je 0x140055092
mov eax, dword [rbp + 0x28]
cmp rax, 0x10
jb 0x140055081
mov eax, dword [rbp + 0x160]
cmp dword [rbp + 0x34], eax
jne 0x140055081
mov r8d, dword [rbp + 0x30]
xor edx, edx
mov ecx, 0x20000
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140055068
lea rcx, str.OpenThread
call fcn.140020d61
jmp 0x140055081
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x30]
jmp 0x1400550aa
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.140020262
test eax, eax
jne 0x14005502a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.CreateToolhelp32Snapshot
call fcn.140020d61
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14007eac0]
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140021059
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14004ee10
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x708
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x728]
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x6d8], rax
lea rcx, [0x1400b61ac]
call fcn.140021856
mov dword [rbp + 4], 0
mov edx, dword [rbp + 0x700]
mov ecx, 8
call fcn.140020b09
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x14004eed2
mov dword [rbp + 0x50], 0x438
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140020edd
test eax, eax
je 0x14004eec8
mov rdx, qword [rbp + 0x708]
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14004eeb7
mov dword [rbp + 4], 1
jmp 0x14004eec8
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14002033e
test eax, eax
jne 0x14004ee96
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14007c740]
call fcn.1400213b5
mov eax, edi
mov rcx, qword [rbp + 0x6d8]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x6e8]
pop rdi
pop rbp
ret

Function at 0x140021072
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005ed30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14005ed50
xor al, al
jmp 0x14005edd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14005ed63
xor al, al
jmp 0x14005edd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14005ed8d
xor al, al
jmp 0x14005edd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14005eda1
xor al, al
jmp 0x14005edd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14005edb3
xor al, al
jmp 0x14005edd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14005edcf
xor al, al
jmp 0x14005edd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140021338
Capabilities:
Get mac address on windows

Disassembly:
jmp 0x140059490
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x1400b63a5]
call fcn.140021856
mov dword [rbp + 4], 0
mov dword [rbp + 0x64], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x2c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14005951f
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo._n
call fcn.1400200d7
mov eax, 0xffffffff
jmp 0x14005966a
lea rdx, [rbp + 0x64]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0x6f
jne 0x1400595ab
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rbp + 0x64]
mov qword [rbp + 0x198], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x198]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140059597
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.140020adc
mov eax, 1
jmp 0x14005966a
lea rdx, [rbp + 0x64]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x140059652
mov dword [rbp + 0xc4], 0
jmp 0x1400595d2
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 4
jge 0x1400595fd
movsxd rax, dword [rbp + 0xc4]
movsxd rcx, dword [rbp + 0xc4]
mov rdx, qword [rbp + 0x1d0]
movzx eax, byte [rdx + rax*2]
mov byte [rbp + rcx + 0xa4], al
jmp 0x1400595c4
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x140059652
mov rax, qword [rbp + 0x48]
cmp dword [rax + 0x194], 6
jne 0x140059645
mov rax, qword [rbp + 0x48]
add rax, 0x198
mov r8d, 3
mov rdx, rax
lea rcx, [rbp + 0xa4]
call fcn.140020870
test eax, eax
jne 0x140059645
mov dword [rbp + 4], 1
jmp 0x140059652
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
jmp 0x140059605
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x1400213fb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14005a680
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b63a5]
call fcn.140021856
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x14005a6cb
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
je 0x14005a6cb
mov dword [rbp + 0xd4], 1
jmp 0x14005a6d5
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140021577
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x14004f9a0
push rbp
push rsi
push rdi
sub rsp, 0x4b0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x488], rax
lea rcx, [0x1400b61bb]
call fcn.140021856
lea rax, [rbp + 8]
lea rcx, str.InjectedDLL.dll
mov rdi, rax
mov rsi, rcx
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
lea rcx, str.notepad.exe
call fcn.140020500
mov dword [rbp + 0x2b4], eax
cmp dword [rbp + 0x2b4], 0
jne 0x14004fa18
xor eax, eax
jmp 0x14004fb57
mov edx, dword [rbp + 0x2b4]
lea rcx, str._t___Getting_proc_id:__u_n
call fcn.1400200d7
mov ecx, dword [rbp + 0x2b4]
call fcn.140020faa
mov dword [rbp + 0x2d4], eax
cmp dword [rbp + 0x2d4], 0
jne 0x14004fa4b
xor eax, eax
jmp 0x14004fb57
mov edx, dword [rbp + 0x2d4]
lea rcx, str._t___Getting_main_thread_id_of_proc_id:__u_n
call fcn.1400200d7
xor r9d, r9d
lea r8, [rbp + 0x50]
mov edx, 0x104
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rdx, [rbp + 0x50]
lea rcx, str._t___Full_DLL_Path:__s_n
call fcn.1400200d7
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0
jne 0x14004fab1
lea rcx, str.LoadLibrary
call fcn.140020d61
xor eax, eax
jmp 0x14004fb57
lea rcx, str._t___Looking_for_MyProc_in_our_dll_n
call fcn.1400200d7
lea rdx, str.MyProc
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
jne 0x14004faf2
lea rcx, str.GetProcAddress
call fcn.140020d61
xor eax, eax
jmp 0x14004fb57
mov rdx, qword [rbp + 0x278]
lea rcx, str._t___Found_at_0x_p_n
call fcn.1400200d7
mov r9d, dword [rbp + 0x2d4]
mov r8, qword [rbp + 0x298]
mov rdx, qword [rbp + 0x278]
mov ecx, 2
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbp + 0x2f8], rax
cmp qword [rbp + 0x2f8], 0
jne 0x14004fb46
lea rcx, str.SetWindowsHookEx
call fcn.140020d61
xor eax, eax
jmp 0x14004fb57
lea rcx, str.SetWindowsHookEx_created_successfully_..._n
call fcn.1400200d7
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x490]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002175c
Capabilities:
Get explorer pid

Disassembly:
jmp 0x140033dd0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x1400b6093]
call fcn.140021856
mov dword [rbp + 4], 0
call qword [sym.imp.USER32.dll_GetShellWindow]
lea rdx, [rbp + 4]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14006e1b0]
call fcn.1400213b5
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400217ed
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14005a700
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b63a5]
call fcn.140021856
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x14005a74b
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
jne 0x14005a74b
mov dword [rbp + 0xd4], 1
jmp 0x14005a755
mov dword [rbp + 0xd4], 0
mov eax, dword [rbp + 0xd4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14003c0c0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x740
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x138
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x768]
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x718], rax
lea rcx, [0x1400b60fb]
call fcn.140021856
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rbp + 0x740]
add rcx, rax
mov rax, rcx
mov dx, 0x5c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14003c156
mov rax, qword [rbp + 8]
add rax, 2
mov dx, 0x5c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14003c167
mov eax, 0x80004005
jmp 0x14003c2b9
mov rax, qword [rbp + 8]
movzx eax, word [rax]
mov word [rbp + 0x24], ax
xor eax, eax
mov rcx, qword [rbp + 8]
mov word [rcx], ax
lea rax, [rbp + 0x280]
lea rcx, [0x140070fb4]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x286]
mov rdi, rax
xor eax, eax
mov ecx, 0x202
rep stosb byte [rdi], al
mov eax, 0x41
mov word [rbp + 0x4a4], ax
jmp 0x14003c1c8
movzx eax, word [rbp + 0x4a4]
inc ax
mov word [rbp + 0x4a4], ax
movzx eax, word [rbp + 0x4a4]
cmp eax, 0x5a
jge 0x14003c2a9
mov eax, 2
imul rax, rax, 0
movzx ecx, word [rbp + 0x4a4]
mov word [rbp + rax + 0x280], cx
mov eax, 2
imul rax, rax, 0
mov qword [rbp + 0x708], rax
cmp qword [rbp + 0x708], 0x208
jae 0x14003c20f
jmp 0x14003c214
call fcn.1400210fe
xor eax, eax
mov rcx, qword [rbp + 0x708]
mov word [rbp + rcx + 0x50], ax
mov r8d, 0x104
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14003c2a4
mov rdx, qword [rbp + 0x740]
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14003c2a4
lea r8, [0x140070fbc]
mov edx, 0x104
lea rcx, [rbp + 0x280]
call fcn.140020b90
mov rax, qword [rbp + 8]
add rax, 2
mov r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x280]
call fcn.140020b90
lea r8, [rbp + 0x280]
mov rdx, qword [rbp + 0x748]
mov rcx, qword [rbp + 0x740]
call fcn.1400213bf
xor eax, eax
jmp 0x14003c2b9
jmp 0x14003c1b7
mov rax, qword [rbp + 8]
movzx ecx, word [rbp + 0x24]
mov word [rax], cx
mov eax, 0x80004005
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x718]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x720]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140044fc0
Capabilities:
Get hostname

Disassembly:
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, SafeArrayGetElement
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1400b6145]
call fcn.140021856
mov dword [rbp + 0x24], 0
lea r8, [rbp + 0x24]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rbp + 0x24]
inc eax
mov eax, eax
mov qword [rbp + 0xf8], rax
mov eax, 2
mov rcx, qword [rbp + 0xf8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140045055
xor eax, eax
jmp 0x14004507e
lea r8, [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14004507a
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
jmp 0x14004507e
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140074c60]
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x1400450f0
Capabilities:
Get hostname

Disassembly:
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, SafeArrayGetElement
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1400b6145]
call fcn.140021856
mov dword [rbp + 0x24], SafeArrayLock
mov eax, dword [rbp + 0x24]
mov qword [rbp + 0xf8], rax
mov eax, 2
mov rcx, qword [rbp + 0xf8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140045170
xor eax, eax
jmp 0x140045194
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140045190
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
jmp 0x140045194
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140074be0]
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140045200
Capabilities:
Get session user name

Disassembly:
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, SafeArrayGetElement
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1400b6145]
call fcn.140021856
mov dword [rbp + 0x24], 0x101
mov eax, dword [rbp + 0x24]
mov qword [rbp + 0xf8], rax
mov eax, 2
mov rcx, qword [rbp + 0xf8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140045280
xor eax, eax
jmp 0x1400452a4
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1400452a0
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
jmp 0x1400452a4
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140074b60]
call fcn.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
int 0x4d
je case.0x14000515a.0
test eax, 0xfbb8522
jl 0x14001ad65
invalid
rcl dword [rdi + 0x1ffcfee1], cl
out 0x39, eax
lahf
fadd qword ds:[rdx]
mov qword [rdx - 0x61290f62], rbp
mov dword [rax + 0x48d33831], eax
movd mm6, dword [rbx + 0x73]
mov bh, 0x72
mov eax, 0xbaae5b4c
ja 0x14001ad89
xchg edi, eax
sahf
cmpsd dword [rsi], dword [rdi]
or r8b, byte [rbx - 0x78]
sal ebp, 0x2b
invalid