joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400588f0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x1a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rsi, r8
xor r14d, r14d
mov rdi, qword [0x14047a920]
mov qword [rsp + 0x30], rdi
lea rdx, str.MBUpdatrService::Start.
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
nop
xor r8d, r8d
lea edx, [r14 + 2]
mov rcx, rdi
call fcn.1400588b0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x90]
call fcn.140286140
lea rcx, [rsp + 0x90]
call fcn.140055140
nop
lea rdx, str.Starting
lea rcx, [rsp + 0xa0]
call fcn.140036d30
mov rcx, rax
mov rdx, qword [rsi]
call fcn.1400281e0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.140055100
nop
mov rcx, rax
call fcn.14004c6e0
mov rdx, qword [rsi]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400589f0
lea rcx, [rdi + 8]
call fcn.14000d3a0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rdi
lea r8, [0x140058c10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x60], rax
mov dword [rdi + 0x2c], 4
mov dword [rdi + 0x34], r14d
mov dword [rdi + 0x40], r14d
mov dword [rdi + 0x3c], r14d
lea rdx, [rdi + 0x28]
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
nop
lea rcx, [rsp + 0x90]
call fcn.140052870
nop
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140066e80
Capabilities:
Query service status

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x10], rbx
jne 0x140066ef4
lea rax, [rbp - 0x29]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], bl
lea r8d, [rbx + 0x21]
lea rdx, str.Attempt_to_check_svc_without_name
lea rcx, [rbp - 0x29]
call fcn.14000bc80
nop
lea rcx, [rbp - 0x29]
call fcn.14004c6e0
xor al, al
jmp 0x14006703d
mov qword [rbp + 0x17], rbx
xor edx, edx
xor ecx, ecx
mov r8d, 0x20000004
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 0x17], rax
test rax, rax
jne 0x140066f50
lea rax, [rbp - 0x29]
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.OpenSCManager_failed:
lea rcx, [rbp - 0x29]
call fcn.14000bc80
nop
lea rcx, [rbp - 0x29]
call fcn.14004c820
xor bl, bl
jmp 0x140067031
mov qword [rbp + 0xf], rbx
cmp qword [rdi + 0x18], 8
jb 0x140066f5e
mov rdi, qword [rdi]
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0xf], rax
test rax, rax
jne 0x140066faa
lea rax, [rbp - 0x29]
mov qword [rbp - 9], rax
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.OpenService_failed:
lea rcx, [rbp - 0x29]
call fcn.14000bc80
nop
jmp 0x140067013
mov dword [rbp + 7], ebx
xor ecx, ecx
mov qword [rbp + 0x1f], rcx
mov qword [rbp + 0x27], rcx
mov qword [rbp + 0x2f], rcx
mov qword [rbp + 0x37], rcx
mov dword [rbp + 0x3f], ecx
lea rcx, [rbp + 7]
mov qword [rsp + 0x20], rcx
mov r9d, 0x24
lea r8, [rbp + 0x1f]
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140067020
lea rax, [rbp - 0x29]
mov qword [rbp - 9], rax
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov r8d, 0x1d
lea rdx, str.QueryServiceStatusEx_failed:
lea rcx, [rbp - 0x29]
call fcn.14000bc80
nop
lea rcx, [rbp - 0x29]
call fcn.14004c820
xor bl, bl
jmp 0x140067027
cmp dword [rbp + 0x23], 1
setne bl
lea rcx, [rbp + 0xf]
call fcn.1400baff0
nop
lea rcx, [rbp + 0x17]
call fcn.1400baff0
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14006a940
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x4f0
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x400
call fcn.140286140
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.140286140
xor eax, eax
mov dword [rsp + 0x70], WSAGetLastError
cmp qword [rbx + 0x18], 8
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
jb 0x14006a9ad
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0xe0]
mov edx, 0x200
call fcn.140290cf4
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14006aaa7
mov rcx, qword [rsp + 0x50]
mov edx, 0x927c0
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [rbx + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14006aa41
mov eax, dword [rsp + 0x68]
mov dword [rdi], eax
jmp 0x14006aa8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetExitCodeProcess_failed:
mov ebx, eax
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rcx, rax
mov edx, ebx
call fcn.1400283a0
mov rbx, rax
mov dl, 0xa
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14006aaf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateProcess_failed:
mov ebx, eax
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rcx, rax
mov edx, ebx
call fcn.1400283a0
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
xor al, al
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x510]
add rsp, 0x4f0
pop rdi
ret
Function at 0x14007d060
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x31], xmm1
xor edi, edi
mov word [rbp - 0x41], di
lea r8d, [rdi + 0xb]
lea rdx, str.MBAMWsc.exe
lea rcx, [rbp - 0x41]
call fcn.14000d3a0
nop
lea r8, [rbp - 0x41]
mov rdx, rbx
lea rcx, [rbp + 0x27]
call fcn.140082ed0
nop
lea rcx, [rbp - 0x41]
call fcn.14000c340
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x11], xmm1
mov word [rbp - 0x21], di
lea r8d, [rdi + 0x12]
lea rdx, str.MBAMWsc_Legacy.exe
lea rcx, [rbp - 0x21]
call fcn.14000d3a0
nop
lea r8, [rbp - 0x21]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.140082ed0
nop
lea rcx, [rbp - 0x21]
call fcn.14000c340
xor r8d, r8d
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.140098560
test al, al
je 0x14007d268
cmp dword [rbp - 0x49], edi
jne 0x14007d268
call fcn.14000d080
mov rcx, rax
call fcn.14007dfa0
lea rcx, [rbp + 7]
cmp eax, 0xc
jb 0x14007d168
xor r8d, r8d
xor edx, edx
call fcn.1400927b0
jmp 0x14007d268
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14007d268
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x41]
call fcn.14007ed70
mov rdi, rax
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x21]
call fcn.14007ed70
mov rbx, rax
lea rdx, str.Error:_Failed_to_move_file
lea rcx, [0x14047aa00]
call fcn.140036d30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14007d1d5
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400421f0
lea rdx, str._to
mov rcx, rax
call fcn.140036d30
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14007d1fd
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400421f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.._Error
mov rcx, rbx
call fcn.140036d30
mov rcx, rax
mov edx, edi
call fcn.1400283a0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
nop
lea rcx, [rbp - 0x21]
call fcn.14000bc00
nop
lea rcx, [rbp - 0x41]
call fcn.14000bc00
nop
lea rcx, [rbp + 7]
call fcn.14000c340
nop
lea rcx, [rbp + 0x27]
call fcn.14000c340
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14007e100
Capabilities:
Get common file path
Get file version info

Disassembly:
sub rsp, 0x28
call fcn.14007dfa0
cmp eax, 7
jbe 0x14007e115
mov al, 1
add rsp, 0x28
ret
mov edx, eax
add rsp, 0x28
jmp fcn.14007e120
Function at 0x140081090
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rdx + 0x10], 0
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
je 0x140081145
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140098560
test al, al
je 0x140081145
cmp esi, 1
jne 0x14008112b
cmp qword [rbx + 0x18], 8
mov rcx, rbx
mov byte [rsp + 0x58], 0
jb 0x1400810de
mov rcx, qword [rbx]
lea rdx, [rsp + 0x58]
mov byte [rsp + 0x20], 1
call fcn.1400d5610
test eax, eax
jne 0x1400810f7
cmp byte [rsp + 0x58], al
jne 0x14008112b
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14008119e
cmp qword [rbx + 0x18], 8
jb 0x14008110e
mov rbx, qword [rbx]
add rdi, 0x10
cmp qword [rdi + 0x18], 8
jb 0x14008111c
mov rdi, qword [rdi]
lea rdx, str.Failed_to_verify_the_file__Cannot_load_FilePath__ls_.
mov r9d, 0x9c
jmp 0x140081173
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp fcn.140080a20
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14008119e
cmp qword [rbx + 0x18], 8
jb 0x140081158
mov rbx, qword [rbx]
add rdi, 0x10
cmp qword [rdi + 0x18], 8
jb 0x140081166
mov rdi, qword [rdi]
lea rdx, str.File_does_not_exist__Cannot_load_FilePath__ls_.
mov r9d, 0x93
mov rax, qword [rcx]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommondynamiclibrary.cpp
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdx
lea rdx, str.mb::common::system::DynamicLibraryEx::Load
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
call qword [rax + 0x20]
mov rbx, qword [rsp + 0x50]
xor al, al
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14008f2e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
xor edx, edx
mov ecx, 0x40000002
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14008f353
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x14008f389
mov ecx, edi
inc edi
cmp ecx, 0x32
jae 0x14008f389
lea ecx, [rax + 0x1a]
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, 0x40000002
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14008f320
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x14008f404
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x14008f3e0
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x14008f3ed
cmp rsi, 0xffffffffffffffff
jne 0x14008f353
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140024740
mov dword [rsp + 0x38], ebx
lea rcx, str.CreateToolhelp32Snapshot_call_failed_with_error___d_._Cannot_enumerate_processes_on_this_system_
mov qword [rsp + 0x30], rcx
lea r9d, [rsi + 0x6a]
lea rcx, str.ProcessUtils
mov r10, qword [rax]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonprocessutils.cpp
mov qword [rsp + 0x28], rcx
lea rdx, str.mb::common::system::ProcessUtils::EnumerateProcesses
mov rcx, rax
mov dword [rsp + 0x20], 4
call qword [r10 + 0x20]
mov eax, ebx
jmp 0x14008f40f
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.14006b060
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x14008f372
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140092370
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ebx, r9d
mov r14d, r8d
mov r15, rdx
mov ebp, ecx
mov rsi, qword [rsp + 0xc0]
xor r9d, r9d
lea rcx, str.SeDebugPrivilege
call fcn.14009a1d0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov r8d, ebp
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea r13, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x60], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14009245d
test rsi, rsi
je 0x140092459
mov rbx, qword [rsi]
add rbx, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ebp
lea rax, str.Unable_to_open_process_PID:__u_Error:__u
mov qword [rsp + 0x30], rax
lea rax, str.DebugUtils
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x1b7
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommondebugutils.cpp
lea rdx, str.mb::common::debug::DebugUtils::DumpTargetProcess
mov rcx, rsi
call qword [rbx]
xor bl, bl
jmp 0x140092479
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x20], ebx
mov r9d, r14d
mov r8, r15
mov edx, ebp
mov rcx, rdi
call fcn.140091a10
movzx ebx, al
mov qword [rsp + 0x58], r13
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140092491
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140097810
Capabilities:
Get token privileges

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov rdi, rcx
mov qword [r11 - 0x48], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x48], ebp
lea rax, [r11 - 0x40]
mov qword [r11 - 0x68], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 1]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [rsp + 0x48]
test eax, eax
jne 0x14009787f
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov dword [rsp + 0x30], 1
jmp 0x14009795c
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov rbx, rax
mov eax, reloc.WS2_32.dll_recv
cmp rbx, rax
cmovb rbx, rax
mov byte [rsp + 0x50], cl
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140097ab0
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov dword [rsp + 0x30], 3
test eax, eax
jne 0x140097947
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140097945
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140097945
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140097945
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14009795c
mov qword [rdi], rbx
mov rax, qword [rsp + 0x60]
mov qword [rdi + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140098560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov r14, r8
mov rbx, rdx
mov rbp, rcx
cmp qword [rcx + 0x10], 0
jne 0x14009859a
xor al, al
jmp 0x14009863b
xor sil, sil
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.1400993b0
nop
cmp qword [rax + 0x18], 8
jb 0x1400985b5
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
lea rcx, [rsp + 0x28]
call fcn.14000c300
cmp edi, 0xffffffff
je 0x140098618
mov sil, 1
mov rcx, rbp
call fcn.1400997a0
test al, al
je 0x1400985e6
mov dword [rbx], 2
jmp 0x140098637
bt edi, 0xa
jae 0x14009860a
mov dword [rbx], 3
test r14, r14
je 0x140098637
test dil, 0x10
mov eax, 0
setne al
inc eax
mov dword [r14], eax
jmp 0x140098637
movzx eax, dil
shr eax, 4
and eax, 1
mov dword [rbx], eax
jmp 0x140098637
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14009862e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x140098637
mov sil, 1
mov dword [rbx], 4
movzx eax, sil
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x140098b80
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
lea rdx, [0x1403d0ac0]
lea rcx, [rsp + 0x20]
call fcn.14000d360
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140080190
mov r8, qword [rbx + 0x10]
cmp r8, rax
cmovb rax, r8
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140098bf1
mov rcx, qword [rbx]
sub r8, rax
mov qword [rbx + 0x10], r8
lea r8, [r8*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.140285b80
nop
lea rcx, [rsp + 0x20]
call fcn.14000c300
lea rdx, [0x1403c6eb4]
lea rcx, [rsp + 0x20]
call fcn.14000d360
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14007fc10
nop
lea rcx, [rsp + 0x20]
call fcn.14000c300
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140286140
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140098c5d
mov rcx, qword [rbx]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x140098c7e
mov rcx, rbx
call fcn.14000c300
xor al, al
jmp 0x140098cb3
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140098c90
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14000d3a0
nop
mov rcx, rbx
call fcn.14000c300
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x140099100
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x88
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp - 9], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r12, qword [rbp + 0x6f]
xor r13d, r13d
mov rdx, rcx
lea rcx, [rbp - 0x29]
call fcn.1400993b0
nop
mov dword [rbp - 0x49], r13d
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
lea rdx, [rbp - 0x49]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
jne 0x140099176
xor dil, dil
jmp 0x14009924e
xor eax, eax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov byte [rbp - 0x61], al
mov rdx, rdi
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140099290
nop
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x41]
mov r9, rbx
mov r8d, edi
mov edx, dword [rbp - 0x49]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14009920a
mov qword [rbp - 0x51], r13
mov dword [rbp - 0x45], r13d
lea r9, [rbp - 0x45]
lea r8, [rbp - 0x51]
lea rdx, [0x1403c6eb4]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14009920a
mov rcx, qword [rbp - 0x51]
movzx eax, word [rcx + 0xa]
mov word [rsi], ax
movzx eax, word [rcx + 8]
mov word [r14], ax
movzx eax, word [rcx + 0xe]
mov word [r15], ax
movzx eax, word [rcx + 0xc]
mov word [r12], ax
mov dil, 1
jmp 0x14009920d
xor dil, dil
test rbx, rbx
je 0x14009924e
mov rdx, qword [rbp - 0x31]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14009923a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009927b
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r13
lea rcx, [rbp - 0x29]
call fcn.14000c300
movzx eax, dil
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14028ea2c
nop
int3

Function at 0x140099a80
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140286140
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, rbx
test eax, eax
jne 0x140099ae4
call fcn.14000c320
jmp 0x140099af2
mov r8d, eax
lea rdx, [rsp + 0x40]
call fcn.1400256a0
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x260
pop rbx
ret
Function at 0x140099b20
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140286140
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov rcx, rbx
test eax, eax
jne 0x140099b84
call fcn.14000c320
jmp 0x140099b92
mov r8d, eax
lea rdx, [rsp + 0x40]
call fcn.1400256a0
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x260
pop rbx
ret