joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140068a8c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x140068ad5
test byte [rcx + 0x1c], 2
je 0x140068ad5
cmp byte [rcx + 0x19], 5
jb 0x140068ad5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140085590]
mov edx, 0x11
call fcn.140001010
lea r8, str.GlobalFaxSvcRPCStarted_1ed23866_f90b_4ec5_b77e_36e8709422b6
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
test rax, rax
jne 0x140068be0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140068b41
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140068b3a
test byte [rax + 0x1c], 2
je 0x140068b3a
cmp byte [rax + 0x19], 2
jb 0x140068b3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x12
mov rcx, qword [str.___t_]
lea r8, [0x140085590]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140001030
xor eax, eax
jmp 0x140068be0
call fcn.140069884
mov rbx, rax
test rax, rax
jne 0x140068b71
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140068b3a
test byte [rax + 0x1c], 2
je 0x140068b3a
cmp byte [rax + 0x19], 2
jb 0x140068b3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rbx + 0x13]
jmp 0x140068b20
xor r8d, r8d
lea r9, str.GlobalFaxSvcRPCStarted_1ed23866_f90b_4ec5_b77e_36e8709422b6
mov rcx, rbx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor esi, esi
mov rdi, rax
test rax, rax
jne 0x140068bc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140068bc8
test byte [rcx + 0x1c], 2
je 0x140068bc8
cmp byte [rcx + 0x19], 2
jb 0x140068bc8
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x14]
mov r9d, eax
lea r8, [0x140085590]
call fcn.140001030
mov rcx, rbx
call fcn.140069d64
test rdi, rdi
jne 0x140068bdd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140069e88
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, r8d
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
lea r15, [0x140085590]
cmp rcx, r14
je 0x140069ee7
test byte [rcx + 0x1c], 2
je 0x140069ee7
cmp byte [rcx + 0x19], 5
jb 0x140069ee7
mov rcx, qword [rcx + 0x10]
mov edx, 0x4c
mov r8, r15
call fcn.140001010
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140069f2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140069fc8
test byte [rcx + 0x1c], 2
je 0x140069fc8
cmp byte [rcx + 0x19], 2
jb 0x140069fc8
mov edx, 0x4d
jmp 0x140069fb9
cmp dword [rsp + 0x24], 1
jne 0x140069f3d
xor eax, eax
jmp 0x140069fca
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
jmp 0x140069f82
mov r9d, dword [rsp + 0x24]
cmp r9d, 1
je 0x140069f36
cmp r9d, 3
jne 0x14006a01d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, esi
ja 0x140069fed
mov eax, dword [rsp + 0x38]
mov ecx, 0x1388
shr eax, 1
cmp eax, ecx
cmovb ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140069f47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140069fc8
test byte [rcx + 0x1c], 2
je 0x140069fc8
cmp byte [rcx + 0x19], 2
jb 0x140069fc8
mov edx, 0x4e
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov r8, r15
call fcn.140001030
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14006a016
test byte [rcx + 0x1c], 2
je 0x14006a016
cmp byte [rcx + 0x19], 2
jb 0x14006a016
mov rcx, qword [rcx + 0x10]
mov edx, 0x50
mov r8, r15
call fcn.140001010
mov eax, 0x5b4
jmp 0x140069fca
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14006a046
test byte [rcx + 0x1c], 2
je 0x14006a046
cmp byte [rcx + 0x19], 2
jb 0x14006a046
mov rcx, qword [rcx + 0x10]
mov edx, 0x4f
mov r8, r15
call fcn.140001030
mov eax, 0x426
jmp 0x140069fca
Function at 0x14006a050
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebp, r8d
mov rsi, rdx
mov edi, ecx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
xor ebx, ebx
call sub.msvcrt.dll_memset
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14006a0be
test byte [rcx + 0x1c], 2
je 0x14006a0be
cmp byte [rcx + 0x19], 5
jb 0x14006a0be
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
lea r8, [0x1400855a0]
call fcn.140001010
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
jns 0x14006a119
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14006a10e
test byte [rcx + 0x1c], 2
je 0x14006a10e
cmp byte [rcx + 0x19], 2
jb 0x14006a10e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400855a0]
mov edx, VariantTimeToDosDateTime
mov r9d, eax
call fcn.140001030
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14006a167
mov rdx, rbp
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.1400029a4
mov edi, eax
test eax, eax
jns 0x14006a162
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14006a10e
test byte [rcx + 0x1c], 2
je 0x14006a10e
cmp byte [rcx + 0x19], 2
jb 0x14006a10e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400855a0]
movzx r9d, di
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140001030
jmp 0x14006a10e
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400786e0
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006a188
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x598]
sub rsp, 0x680
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rcx
mov edi, 0x20a
mov r8d, edi
lea rcx, [rbp + 0x360]
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, edi
lea rcx, [rsp + 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
xor edx, edx
lea r8d, [rdi - 2]
lea rcx, [rbp + 0x150]
call sub.msvcrt.dll_memset
xor r14d, r14d
mov dword [rsp + 0x30], edi
test rbx, rbx
je 0x14006a3d5
lea r9d, [r14 + 1]
mov word [rbx], r14w
mov r8d, r9d
lea rdx, str.SoftwareMicrosoftFaxSetup
mov rcx, 0xffffffff80000001
call fcn.140065ce8
mov rdi, rax
test rax, rax
je 0x14006a3d5
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov rcx, rdi
lea rdx, str.CoverPageDir
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, 0x105
test esi, esi
je 0x14006a282
cmp esi, 2
jne 0x14006a3d5
lea rdi, str.FaxPersonal_Coverpages_
jmp 0x14006a2f4
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14006a3d5
mov rcx, r12
lea rax, [rsp + 0x40]
cmp word [rax], r14w
je 0x14006a2a9
add rax, 2
sub rcx, 1
jne 0x14006a299
test rcx, rcx
je 0x14006a2b6
mov rdx, r12
sub rdx, rcx
jmp 0x14006a2b9
mov rdx, r14
mov rax, rcx
lea rdi, [rsp + 0x40]
neg rax
sbb r8, r8
and r8, rdx
test rcx, rcx
je 0x14006a2f4
cmp word [rsp + r8*2 + 0x3e], 0x5c
je 0x14006a2f4
lea r8, [0x140084bb8]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.14000a05c
test eax, eax
js 0x14006a3cc
mov r8d, r12d
lea rdx, [rbp + 0x360]
mov ecx, 5
call fcn.14006a050
test eax, eax
jne 0x14006a325
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetSpecialPath_failed_err_ld
call fcn.140068278
jmp 0x14006a3d5
mov esi, 0x104
lea r8, [rbp + 0x360]
mov edx, esi
mov rcx, rbx
call fcn.1400029a4
test eax, eax
js 0x14006a3cc
cmp word [rdi], 0x5c
je 0x14006a35e
lea r8, [0x140084bb8]
mov edx, esi
mov rcx, rbx
call fcn.14000a05c
test eax, eax
js 0x14006a3cc
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14000a05c
test eax, eax
js 0x14006a3cc
lea rax, [rbp + 0x150]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, str.FaxPersonal_CoverPages
mov edx, 0x8005
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x14006a3cc
mov r8d, 0x93d
lea rdx, str._SystemRoot__system32_fxsresm.dll
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x14006a3cc
mov rcx, rbx
call fcn.14006343c
mov eax, 1
jmp 0x14006a3d7
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x140073824
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x250
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov ebx, ecx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
mov edi, 1
call sub.msvcrt.dll_memset
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14007389a
test byte [rcx + 0x1c], 2
je 0x14007389a
cmp byte [rcx + 0x19], 5
jb 0x14007389a
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x23]
lea r8, [0x1400864b8]
call fcn.140001010
lea r9, str.SoftwareMicrosoftFaxSetupOriginal_Setup_Data
mov dword [rsp + 0x20], ebx
lea r8, str._s_010d
mov edx, 0x100
lea rcx, [rsp + 0x40]
call fcn.14000292c
mov ebx, eax
test eax, eax
jns 0x140073914
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400738f1
test byte [rcx + 0x1c], 2
je 0x1400738f1
cmp byte [rcx + 0x19], 2
jb 0x1400738f1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400864b8]
mov edx, 0x25
mov r9d, eax
call fcn.140001030
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140073a8f
mov r12, 0xffffffff80000002
lea rdx, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x20019
xor r8d, r8d
call fcn.140065ce8
mov rbx, rax
test rax, rax
jne 0x14007399b
mov r9d, 0x20019
lea rdx, str.SoftwareMicrosoftFaxSetupOriginal_Setup_Data
xor r8d, r8d
mov rcx, r12
xor edi, edi
call fcn.140065ce8
mov rbx, rax
test rax, rax
jne 0x14007399b
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14007390d
test byte [rax + 0x1c], 2
je 0x14007390d
cmp byte [rax + 0x19], 2
jb 0x14007390d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x26]
mov r9d, eax
lea r8, [0x1400864b8]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x14007390d
lea rcx, [0x140081e18]
call fcn.140063214
lea r9, [0x140082638]
mov qword [rsi + 0x10], rax
lea r8, str.CSID
mov edx, 1
mov rcx, rbx
call fcn.140065da4
lea r9, [0x140082638]
mov qword [rsi], rax
lea r8, str.TSID
mov edx, 1
mov rcx, rbx
call fcn.140065da4
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsi + 8], rax
lea rdx, str.Rings
mov rcx, rbx
call fcn.140066028
neg eax
lea r8, [rsp + 0x30]
lea rdx, str.Flags
sbb ecx, ecx
xor r9d, r9d
and ecx, dword [rsp + 0x30]
and dword [rsp + 0x30], 0
mov dword [rsi + 0x18], ecx
mov rcx, rbx
call fcn.140066028
neg eax
mov rcx, rbx
sbb edx, edx
and edx, dword [rsp + 0x30]
mov dword [rsi + 0x1c], edx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
jne 0x140073a8a
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x140073a8a
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140073a8a
test byte [rcx + 0x1c], 2
je 0x140073a8a
cmp byte [rcx + 0x19], 2
jb 0x140073a8a
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x26]
mov r9d, eax
lea r8, [0x1400864b8]
call fcn.140001030
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x1400754a4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, edx
mov ebx, ecx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x140075500
test byte [rcx + 0x1c], 2
je 0x140075500
cmp byte [rcx + 0x19], 5
jb 0x140075500
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400864b8]
mov edx, 0x65
call fcn.140001010
mov r9d, ebx
mov dword [rsp + 0x20], edi
lea r8, str._ld:_ld
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14000292c
mov ebx, eax
test eax, eax
jns 0x14007556c
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140075553
test byte [rcx + 0x1c], 2
je 0x140075553
cmp byte [rcx + 0x19], 2
jb 0x140075553
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400864b8]
mov edx, 0x66
mov r9d, eax
call fcn.140001030
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x14007561b
mov r9d, 0x10000
lea rdx, [0x140084730]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140065ce8
mov rdi, rax
test rax, rax
jne 0x1400755c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14007561b
test byte [rcx + 0x1c], 2
je 0x14007561b
cmp byte [rcx + 0x19], 2
jb 0x14007561b
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x67]
mov r9d, eax
lea r8, [0x1400864b8]
call fcn.140001030
jmp 0x14007561b
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test eax, eax
je 0x140075612
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140075612
test byte [rcx + 0x1c], 2
je 0x140075612
cmp byte [rcx + 0x19], 2
jb 0x140075612
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400864b8]
mov edx, 0x68
mov r9d, eax
call fcn.140001030
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140075a8c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rdi, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x140075ad8
test byte [rcx + 0x1c], 2
je 0x140075ad8
cmp byte [rcx + 0x19], 5
jb 0x140075ad8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400864b8]
mov edx, 0x75
call fcn.140001010
lea rax, [rsp + 0x48]
mov r9d, 0x10000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftFaxDevice_Providers
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x140075b33
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140075bc0
test byte [rcx + 0x1c], 2
je 0x140075bc0
cmp byte [rcx + 0x19], 2
jb 0x140075bc0
mov edx, 0x76
mov r9d, eax
jmp 0x140075bb0
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test eax, eax
je 0x140075b81
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140075b81
test byte [rcx + 0x1c], 2
je 0x140075b81
cmp byte [rcx + 0x19], 2
jb 0x140075b81
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400864b8]
mov edx, 0x77
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001250
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x140075bc0
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140075bc0
test byte [rcx + 0x1c], 2
je 0x140075bc0
cmp byte [rcx + 0x19], 2
jb 0x140075bc0
mov edx, 0x78
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400864b8]
call fcn.140001030
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140077c18
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
lea rdx, [rbp + 0x27]
mov bl, dil
call qword [sym.imp.RPCRT4.dll_I_RpcBindingIsClientLocal]
test eax, eax
jne 0x140077cee
cmp dword [rbp + 0x27], edi
je 0x140077cee
lea ebx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rbp + 0x37]
mov r8d, ebx
mov rcx, rax
lea edx, [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x140077cee
lea rax, [rbp + 0x2f]
mov dword [rbp + 0x3f], edi
mov qword [rsp + 0x50], rax
lea r8d, [rdi + 2]
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x3f]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], edi
mov dl, bl
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov word [rbp + 0x43], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140077ce4
mov rdx, qword [rbp + 0x2f]
lea r8, [rbp + 0x2b]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140077cda
cmp dword [rbp + 0x2b], edi
cmovne ebx, edi
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14007844c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14009a780], rbx
je 0x1400784b3
cmp rax, rbx
jne 0x1400784a6
mov ebx, 1
mov esi, ebx
jmp 0x1400784b8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007848b
mov ebx, 1
mov eax, dword [0x14009a788]
cmp eax, ebx
jne 0x1400784d0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14007853c
mov eax, dword [0x14009a788]
test eax, eax
jne 0x140078531
mov dword [0x14009a788], ebx
lea r15, [0x1400818a8]
lea rdi, [0x140081890]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140078523
test eax, eax
jne 0x140078527
cmp qword [rdi], r14
je 0x140078518
mov rax, qword [rdi]
mov rcx, qword [0x140081868]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400784fa
test eax, eax
je 0x140078537
mov eax, 0xff
jmp 0x140078692
mov dword [0x140099a14], ebx
mov edi, 0x1f
mov eax, dword [0x14009a788]
cmp eax, ebx
jne 0x140078563
lea rdx, [0x140081888]
lea rcx, [0x140081870]
call sub.msvcrt.dll__initterm
mov dword [0x14009a788], 2
test esi, esi
jne 0x140078571
mov rax, r14
xchg qword [0x14009a780], rax
cmp qword [0x14009a790], r14
je 0x1400785a4
lea rcx, [0x14009a790]
call fcn.140078eb0
test eax, eax
je 0x1400785a4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14009a790]
mov r9, qword [0x140081868]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400785bd
mov eax, 0xff
jmp 0x140078692
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140078643
test ax, ax
je 0x1400785d8
test edx, edx
jne 0x140078643
sub ax, bx
cmp ax, di
ja 0x1400785ee
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400785d8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140021714
mov dword [0x140099a10], eax
cmp dword [0x140099a30], r14d
jne 0x14007862c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140099a14], r14d
jne 0x140078641
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140099a10]
jmp 0x140078692
cmp ax, 0x22
jne 0x140078657
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400785c6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140078f30
add rsp, 0x28
jmp 0x14007844c
Function at 0x140078a2c
Capabilities:
Print debug messages

Disassembly:
jmp 0x140078a34
push rbx
sub rsp, 0x540
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140078ab1
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140078ad1
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400786e0
add rsp, 0x540
pop rbx
ret

Function at 0x140078a34
Capabilities:
Print debug messages

Disassembly:
jmp 0x140078a34
push rbx
sub rsp, 0x540
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140078ab1
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140078ad1
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400786e0
add rsp, 0x540
pop rbx
ret

Function at 0x140078dc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140078e0c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140078e04
cmp dword [rcx + 0x3c], edx
jl 0x140078e04
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140078e04
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140078e0c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140004c90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140004cc4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140004cb0
ret