joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004380
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140012010]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1400043b9
xor eax, eax
jmp 0x1400044cc
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400043e2
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x1400043e2
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1400044cc
cmp qword [rcx + 0x80], 0
je 0x1400044ca
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000441d
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x140004441
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
cmovne edi, esi
jmp 0x1400044ca
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
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 0x14000448f
sub eax, 1
je 0x14000448f
cmp eax, 2
jne 0x1400044ca
movsx ecx, byte [rbp - 0x30]
jmp 0x14000442a
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1400044ba
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x1400044ca
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x1400044cc
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000b5b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140004ac8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140012010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004b37
cmp byte [rcx + 0x71], 0
je 0x140004b37
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004b8c
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 0x140004b51
sub eax, 1
je 0x140004b55
cmp eax, 2
jne 0x140004b8c
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000b5b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004b83
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 0x140004b8c
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004b39
xor al, al
jmp 0x140004b39
Function at 0x140016200
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001620d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001621d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140016205
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140016235
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140016222
sub eax, 3
jb 0x14001624f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140016286
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140016276
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140016274
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140016263
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400161c2
jmp 0x14001620d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2400
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400162d2
cmp rsi, rcx
jae 0x1400162da
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400162b9
cmp al, 0x8f
ja 0x1400162b9
cmp byte [rsi - 2], 0xf
je 0x1400162bf
sub al, 0xe8
cmp al, 1
ja 0x1400162a3
cmp rsi, rcx
jae 0x1400162da
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400162a9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400162da
lodsb al, byte [rsi]
jmp 0x1400162b9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x14000]
mov eax, dword [rdi]
or eax, eax
je 0x140016337
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x16000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400162e7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140016331
mov qword [rbx], rax
add rbx, 8
jmp 0x140016307
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140016371
cmp al, 0xef
ja 0x140016363
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140016343
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140016352
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1400163f0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1400163f0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400163e0
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x14001117c
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140012650
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400d8035]
call fcn.1400113de
movsx eax, byte [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
mov ecx, dword [rcx]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov rcx, qword [rbp + 0xe0]
mov dword [rcx], eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140011235
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140015340
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015360
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015373
xor al, al
jmp 0x1400153e1
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 0x14001539d
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400153b1
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400153c3
xor al, al
jmp 0x1400153e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400153df
xor al, al
jmp 0x1400153e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012420
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x518
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x538]
mov rax, qword [0x1400d1ac8]
xor rax, rbp
mov qword [rbp + 0x4b0], rax
lea rcx, [0x1400d8036]
call fcn.1400113de
mov eax, dword [rbp + 0x4f0]
mov qword [rbp + 0x4a8], rax
mov rcx, qword [0x1400d1c40]
call fcn.1400113b6
mov r9d, 0x40
mov r8d, 0x1000
mov rcx, qword [rbp + 0x4a8]
mov rdx, rcx
xor ecx, ecx
call rax
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400124c7
lea rcx, str.Virt_alloc_dont_alloc_mem__n
call fcn.1400111cc
jmp 0x1400125b3
mov eax, dword [rbp + 0x4f0]
mov r8d, eax
mov rdx, qword [rbp + 0x4e0]
mov rcx, qword [rbp + 8]
call fcn.1400111ea
mov edx, dword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x4e8]
call qword [rbp + 8]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 1
je 0x1400125b3
mov edx, dword [rbp + 0x24]
lea rcx, str._start:_d__n
call fcn.1400111cc
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.14001130c
mov dword [rbp + 0x50], 0x68
mov r8d, 0x104
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
lea rcx, str._end__n
call fcn.1400111cc
lea rcx, [rbp - 0x50]
lea rdx, [0x14001bd80]
call fcn.140011361
mov rcx, qword [rbp + 0x4b0]
xor rcx, rbp
call fcn.1400111e5
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret
Function at 0x180003ec0
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 8], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 0x20], 0
mov rax, qword [0x18001ac30]
mov qword [rsp + 0x10], rax
js 0x180003f29
push rdx
push rbp
nop
pop rbp
pop rdx
jns 0x180003f29
retf
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180003f3f
xor eax, eax
jmp 0x18000407f
mov rax, qword [rsp + 0x10]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
jbe 0x180003f84
push rcx
nop
pop rcx
ja 0x180003f84
retf
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x180003f98
xor eax, eax
jmp 0x18000407f
mov dword [rsp], 0
jmp 0x180003fa9
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x180004054
mov rax, qword [rsp + 8]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 8]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x18], rax
jp 0x180004009
jnp 0x180004009
cmc
xor al, 0x73
invalid
mov rax, qword [rsp + 0x18]
cmp dword [rax + 0x24], 0xe0000020
jne 0x18000404f
jp 0x180004043
push rbp
push rdi
push rsi
pop rsi
pop rdi
pop rbp
jnp 0x180004043
invalid
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x180004054
jmp 0x180003fa1
cmp qword [rsp + 0x20], 0
jne 0x180004060
xor eax, eax
jmp 0x18000407f
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x18001ac30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x18000ed20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov r8d, 1
mov edx, 1
xor ecx, ecx
call fcn.180005f00
ja 0x18000ed6b
nop
jbe 0x18000ed6b
lea eax, [rbp + 0x7681498d]
xor al, 0xb0
jbe 0x18000edac
mov al, 0x5e
or byte [rax], cl
invalid
cmp dword [0x18001961c], 0
je 0x18000ee06
mov r8d, 2
mov edx, 1
xor ecx, ecx
call fcn.180005f00
lea rcx, [0x18001b080]
call fcn.180015620
js 0x18000edc2
nop
jns 0x18000edc2
mov al, 0x34
cmc
adc al, 0x34
adc al, 0x62
invalid
pop r14
retfq
lea rcx, [0x18001b110]
call fcn.180015620
jp 0x18000edfa
push rbx
push rcx
pop rcx
pop rbx
jnp 0x18000edfa
xor al, 0x14
test dword [rsi - 0x73], esi
mov al, 0x8d
invalid
lea rcx, [0x18001b1b0]
call fcn.180015620
mov r8d, 3
mov edx, 1
xor ecx, ecx
call fcn.180005f00
jo 0x18000ee44
push rsi
push rbp
push rdx
nop
pop rdx
pop rbp
pop rsi
jno 0x18000ee44
mov al, 0x34
jbe 0x18000ee1d
invalid
mov dword [rsp + 0x20], 0
jmp 0x18000ee58
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, 6
jae 0x18000ef25
jp 0x18000ee92
jnp 0x18000ee92
retf
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
lea rcx, [0x18001a7b0]
mov edx, dword [0x180019008]
cmp dword [rcx + rax], edx
jne 0x18000ef20
jne 0x18000eed8
push rcx
push rbx
nop
pop rbx
pop rcx
je 0x18000eed8
cmc
test dword [rsi - 0x73], ebx
ficomp dword [rsi - 0x35]
xor al, 0x76
adc al, 0x34
test dword [rcx + rcx*2], edx
cmc
xor al, 0x73
adc al, 0xcb
adc al, 0xf5
or byte [rax], cl
retfq
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
lea rcx, [0x18001a7b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jge 0x18000ef1e
push rdx
push rsp
push rdx
push rax
pop rax
pop rdx
pop rsp
pop rdx
jl 0x18000ef1e
invalid
jmp 0x18000ef25
jmp 0x18000ee4e
ja 0x18000ef51
push rsi
push rax
push rdi
push rbx
pop rbx
pop rdi
pop rax
pop rsi
jbe 0x18000ef51
mov al, 0x62
cmc
invalid
cmp qword [rsp + 0x28], 0
jne 0x18000ef63
mov eax, 1
jmp 0x18000f00b
jno 0x18000ef8f
push rbp
push rsi
pop rsi
pop rbp
jo 0x18000ef8f
cmc
cmc
invalid
mov r8d, 4
mov edx, 1
xor ecx, ecx
call fcn.180005f00
cmp dword [0x18001ac10], 0
je 0x18000efd5
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
lea rax, [0x18000dd60]
mov qword [rsp + 0x38], rax
mov dword [0x180019630], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
call qword [rax + 8]
ja 0x18000f009
push rbp
push rcx
nop
pop rcx
pop rbp
jbe 0x18000f009
lea ecx, [rbp + 0x7676b0f5]
test dword [rbx + rcx*8], esi
or byte [rbp - 0x340aeb7f], al
or ebx, 0x49dada76
retf
xor eax, eax
add rsp, 0x48
ret
Function at 0x180013e40
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 8], 0
mov qword [rsp], 0
mov qword [rsp + 0x20], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x238]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180013eed
mov rax, qword [rsp]
cmp dword [rax + 0x3c], 0
jle 0x180013eed
mov rax, qword [rsp]
cmp dword [rax + 0x3c], 0x190
jge 0x180013eed
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
jne 0x180013eed
jmp 0x180013efc
mov rax, qword [rsp + 8]
dec rax
mov qword [rsp + 8], rax
jmp 0x180013e99
mov rax, qword [rsp + 8]
add rsp, 0x38
ret

Function at 0x180013f10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0
mov dword [rsp + 8], 0
mov dword [rsp], 0xffffffff
jp 0x180013f64
push rsi
push rcx
push rbp
pop rbp
pop rcx
pop rsi
jnp 0x180013f64
cmc
or dword [rbp + 0x3449b0b0], 0x8549cb81
retf
pop r14
mov dword [rsp + 4], 0
jmp 0x180013f78
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x180014043
jae 0x180013fb2
push rax
pop rax
jb 0x180013fb2
pop rsi
adc al, 0xcb
retf
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
and eax, 0xff
mov dword [rsp + 8], eax
jp 0x180013ffb
push rbx
push rdi
push rcx
push rax
pop rax
pop rcx
pop rdi
pop rbx
jnp 0x180013ffb
jbe 0x180013f62
cmc
retf
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp + 8]
lea rdx, [0x18001a810]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
jle 0x18001403e
push rdi
pop rdi
jg 0x18001403e
fimul dword [rcx - 0xb]
retf
jmp 0x180013f6e
jbe 0x18001406f
push rsp
push rdx
nop
pop rdx
pop rsp
ja 0x18001406f
fcmove st(0), st(3)
adc al, 0x5e
xor dword [rax + 0x5e76b05e], 0x34cb5ecb
xor al, 0x49
pop rsi
cmc
xor al, 0xb0
cmc
retf
mov eax, dword [rsp]
xor eax, 0xffffffff
mov dword [rsp], eax
jg 0x1800140a4
jle 0x1800140a4
pop rsi
retf
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x18
ret
Function at 0x140004e80
Capabilities:
Check if file exists
Get common file path

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14004e060]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r8, [0x140045e08]
lea rdx, str.C:ProgramDataASUS_hsDebug.txt
lea rcx, [0x140050ef0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [0x140050ef0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx ecx, byte [0x140050edd]
mov edx, 1
test eax, eax
cmovne ecx, edx
mov byte [0x140050edd], cl
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], ax
xor r8d, r8d
lea rdx, [0x140045498]
lea rcx, [rsp + 0x20]
call fcn.1400036a0
nop
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140037740]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140004fb9
mov rdx, qword [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x140004f31
lea rcx, [rsp + 0x20]
call fcn.1400036a0
mov r8d, 0x30
lea rdx, str.PackagesB9ECED6F.ASUSPCAssistant_qmba6cd70vzyy
lea rcx, [rsp + 0x20]
call fcn.140007af0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140004fb9
mov rdx, qword [rsp + 0x40]
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140004f80
mov r8, rbx
lea rcx, [0x14004ecb8]
call fcn.1400036a0
mov r8d, 0x3f
lea rdx, str.PackagesB9ECED6F.ASUSPCAssistant_qmba6cd70vzyyLocalStatelog
lea rcx, [0x14004ecb8]
call fcn.140007af0
mov byte [0x140050edc], 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140004ffb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ff6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400050a4
call fcn.140010990
xor ecx, ecx
call fcn.14001c688
mov qword [0x140050ee0], rax
cmp byte [0x140050edc], 0
je 0x14000501f
lea rcx, [0x1400510f8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, qword [0x14004ec88]
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rsp + 0x40], xmm0
cmp qword [0x14004eca0], 0
je 0x140005040
mov ecx, 5
int 0x29
xorps xmm0, xmm0
movdqu xmmword [0x14004eca8], xmm0
lea r9, [0x14004eca0]
lea r8, [0x14004ec80]
lea rdx, section..text
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x14000508a
mov r8, qword [0x14004ec88]
movzx r9d, word [r8]
lea edx, [rax + 2]
mov rcx, qword [0x14004eca0]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
mov byte [0x140050ede], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140010720
add rsp, 0x60
pop rbx
ret
call fcn.14001750c
int3
Function at 0x14000c390
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14004e060]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rbp
mov qword [rdx + 8], rbp
mov qword [rdx + 0x10], rbp
mov dword [rsp + 0x20], 1
lea r8, str._.
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140007bd0
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000c4ef
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14000c4c2
lea rax, [rsp + 0x60]
mov ecx, 4
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x14000c440
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
add qword [rbx + 8], 0x250
jmp 0x14000c4cf
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.14000ec60
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000c420
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000c531
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c52c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c5b4
call fcn.140010990
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000c57f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000c57a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c5ba
mov rcx, r8
call fcn.140010990
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rax, rbx
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140010720
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
call fcn.14001750c
nop
call fcn.14001750c
int3