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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str.Farlight84Launcher.exe
call fcn.140053720
mov ecx, 0xfffffff4
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
test ebx, ebx
je 0x140053a83
xor edx, edx
mov r8d, ebx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140053a30
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140053a19
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Failed_to_Clean..._n_Error_code:
jmp 0x140053a45
mov edx, 0xc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14005bd80
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14005bf50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x1400590a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400590c8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400590ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400590f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140059149
test ecx, ecx
jle 0x140059129
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140059149
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140059149
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140059170
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140059192
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400591a8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400591c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400591c6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140059202
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005929e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005923d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14005927e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14005929e
cmp rbx, rax
ja 0x140059250
test rbx, rbx
je 0x14005929e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400596d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400a3010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400596fd
xor eax, eax
jmp 0x140059869
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140059737
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140059737
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140059869
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005985c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005977a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400597a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140059861
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140059814
sub eax, 1
je 0x140059814
cmp eax, 2
jne 0x14005985c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140059861
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140059842
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14005985c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140059861
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006a500
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14005a2a0
Capabilities:
Hash data using fnv

Disassembly:
movzx ecx, byte [rdx + 2]
movabs r9, 0x100000001b3
movzx r8d, byte [rdx]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 3]
imul rax, r9
xor rax, rcx
imul rax, r9
ret
Function at 0x14005b300
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a3010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005b3d3
cmp byte [rcx + 0x71], 0
je 0x14005b3d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005b3cf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005b394
sub eax, 1
je 0x14005b398
cmp eax, 2
jne 0x14005b3cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006a500
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005b3c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005b3cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005b37c
xor al, al
jmp 0x14005b37c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006a500
add rsp, 0x60
pop rbx
ret

Function at 0x14006a3d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14006a454
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14006ea60]
cmp byte [rcx + rax], 0
je 0x14006a454
dec r8
sub rdx, 1
jne 0x14006a43a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14006b244
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006b28e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006b28e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006b28e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006b28e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006b28e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006b290
xor al, al
add rsp, 0x28
ret
Function at 0x140001110
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000115b
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000115b
mov edx, 0x8664
cmp word [rax + 4], dx
jne 0x14000115b
mov edx, 0x20b
cmp word [rax + 0x18], dx
jne 0x14000115b
cmp dword [rax + 0x84], 0
jbe 0x14000115b
cmp dword [rax + 0x8c], 0
je 0x14000115b
mov eax, dword [rax + 0x88]
add rax, rcx
ret
xor eax, eax
ret

Function at 0x140001420
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x198]
mov rbx, rcx
mov rcx, qword [rcx + 0x218]
mov edx, 0x2000
mov r9d, dword [rax + 0x28]
add r9, rcx
test word [rax + 0x16], dx
je 0x1400014de
xor r8d, r8d
lea edx, [r8 + 1]
call r9
mov rcx, qword [rbx + 0x218]
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x14000146c
xor edx, edx
jmp 0x1400014c0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x14000147f
xor edx, edx
jmp 0x1400014c0
mov edx, 0x8664
cmp word [rax + 4], dx
je 0x14000148e
xor edx, edx
jmp 0x1400014c0
mov edx, 0x20b
cmp word [rax + 0x18], dx
je 0x14000149d
xor edx, edx
jmp 0x1400014c0
cmp dword [rax + 0x84], 0
ja 0x1400014aa
xor edx, edx
jmp 0x1400014c0
cmp dword [rax + 0x8c], 0
jne 0x1400014b7
xor edx, edx
jmp 0x1400014c0
mov edx, dword [rax + 0x88]
add rdx, rcx
mov r9d, 0xd8657255
mov r8d, 0x91acc5bd
call fcn.140001160
test rax, rax
je 0x1400014e6
add rsp, 0x20
pop rbx
jmp rax
add rsp, 0x20
pop rbx
jmp r9
add rsp, 0x20
pop rbx
ret
Function at 0x140011181
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140011830
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400240a2]
call fcn.14001139d
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400118c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptAcquireContextW___u__n
call fcn.1400111a9
jmp 0x1400119d1
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400118fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptCreateHash___u__n
call fcn.1400111a9
jmp 0x1400119d1
xor r9d, r9d
mov r8d, dword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140011934
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptHashData___u__n
call fcn.1400111a9
jmp 0x1400119d1
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x14001196d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptDeriveKey___u__n
call fcn.1400111a9
jmp 0x1400119d1
lea rax, [rbp + 0x148]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1400119b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptDecrypt___u__n
call fcn.1400111a9
jmp 0x1400119d1
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad10]
call fcn.140011320
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400111f4
Capabilities:
Create thread

Disassembly:
jmp 0x140012880
jmp qword [sym.imp.ntdll.dll_NtCreateThreadEx]
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013c80
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 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014fd0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ff0
xor al, al
jmp 0x140015071
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015003
xor al, al
jmp 0x140015071
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 0x14001502d
xor al, al
jmp 0x140015071
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015041
xor al, al
jmp 0x140015071
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015053
xor al, al
jmp 0x140015071
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001506f
xor al, al
jmp 0x140015071
mov al, 1
add rsp, 0x38
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
test dword [rcx - 0x1c3450a], ebx
mov bl, 0x25
sti
invalid
Function at 0x140001070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, str.METHOD_1:_n
call fcn.140001010
lea rcx, str.______________________________________________n
call fcn.140001010
movups xmm0, xmmword [0x140002310]
movzx eax, word [0x140002320]
lea rdx, [rsp + 0x20]
xor esi, esi
mov word [rsp + 0x30], ax
movd eax, xmm0
mov ebx, esi
movups xmmword [rsp + 0x20], xmm0
movzx ecx, al
test al, al
je 0x1400010ed
nop dword [rax + rax]
add ebx, ecx
lea rdx, [rdx + 1]
movzx ecx, byte [rdx]
test ecx, ecx
jne 0x1400010e0
mov edx, ebx
lea rcx, str.Function_hash_____x_n
call fcn.140001010
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov edi, esi
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0x88]
mov r10d, dword [rdx + rax + 0x1c]
mov r9d, dword [rdx + rax + 0x20]
mov r15d, dword [rdx + rax + 0x24]
add r9, rax
add r15, rax
lea r14, [r10 + rax]
test r10d, r10d
je 0x140001173
nop word [rax + rax]
mov r8d, dword [r9]
mov edx, esi
add r8, rbp
mov rcx, r8
movzx eax, byte [r8]
test eax, eax
je 0x140001160
add edx, eax
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test eax, eax
jne 0x140001153
cmp edx, ebx
je 0x1400011fc
inc edi
add r9, 4
cmp edi, r10d
jb 0x140001140
lea rcx, str.Function_hash_not_found_in_DLL_:__n
call fcn.140001010
mov rdx, rsi
lea rcx, str.0x_p_n
call fcn.140001010
call rsi
test eax, eax
lea r8, str.true
lea rdx, str.false
cmovne rdx, r8
lea rcx, str.Debugger_state______s_n
call fcn.140001010
lea rcx, [0x140002380]
call fcn.140001010
lea rcx, str.METHOD_2:_n
call fcn.140001010
lea rcx, str.______________________________________________n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001230
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov edx, ebx
lea rcx, str.Hash__x_found_for_the__s___function__hideh__lehaim__n
call fcn.140001010
mov eax, edi
movzx ecx, word [r15 + rax*2]
mov esi, dword [r14 + rcx*4]
add rsi, rbp
jmp 0x14000117f

Function at 0x140001b04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b4e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b50
xor al, al
add rsp, 0x28
ret
Function at 0x140001610
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x140005020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x38]
call qword [sym.imp.accelerometerdll.DLL_unsigned_char___cdecl_FindAccelerometerDevice_void____ptr64____ptr64_]
test al, al
jne 0x140001668
lea edx, [rdi + 1]
lea r8d, [rdi + 0x6d]
call fcn.140001b20
jmp 0x14000179c
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400016b3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [str.SoftwarePoliciesHPHP_3D_DriveGuard]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400016ae
lea edx, [rbx + 4]
lea r8d, [rbx + 0x6e]
call fcn.140001b20
jmp 0x14000179c
mov rbx, qword [rsp + 0x40]
mov byte [rsp + 0x48], 1
mov word [rsp + 0x50], di
xor edx, edx
mov r8d, 0x1fc
lea rcx, [rsp + 0x52]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x4c], 0x1fe
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.FreeFallProtectionMode
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001725
lea rdx, str.false
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR110.dll__wcsicmp]
movzx ecx, byte [rsp + 0x48]
test eax, eax
cmove ecx, edi
mov byte [rsp + 0x48], cl
mov byte [rsp + 0x49], dil
lea r8, [rsp + 0x49]
mov edx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.accelerometerdll.DLL_unsigned_long_int___cdecl_GetAccelerometerProperty_void____ptr64__enum__ACCELEROMETER_PROPERTY_FLAGS__void____ptr64_]
test eax, eax
jne 0x14000174e
movzx eax, byte [rsp + 0x48]
cmp byte [rsp + 0x49], al
je 0x14000177f
lea r8, [rsp + 0x48]
mov edx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.accelerometerdll.DLL_unsigned_long_int___cdecl_SetAccelerometerProperty_void____ptr64__enum__ACCELEROMETER_PROPERTY_FLAGS__void____ptr64_]
test eax, eax
jne 0x14000177f
movzx edx, byte [rsp + 0x48]
call fcn.1400017c0
mov edx, 4
lea r8d, [rdx + 0x6b]
call fcn.140001b20
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000179c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140001c10
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140001b20
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140005020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [0x140005658]
xor r14d, r14d
mov ebp, r8d
movzx esi, dx
lea rax, [rsp + 0x50]
lea ecx, [r14 + 3]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
movzx ebx, r14w
nop dword [rax]
cmp qword [rax], r14
je 0x140001b78
inc bx
add rax, 8
dec rcx
jne 0x140001b70
cmp qword [rdi + 0x28], r14
jne 0x140001b98
lea rdx, [0x1400032f8]
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rdi + 0x28], rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140001bce
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov r9d, ebp
movzx edx, si
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001c10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret