joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f6ea
Capabilities:
Get common file path

Disassembly:
jmp 0x140064370
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x1400b7040]
xor rax, rbp
mov qword [rbp + 0x410], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x1400c46e7]
call fcn.140030847
nop
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x1400643fe
cmp dword [rbp + 0x234], 0x105
jbe 0x140064458
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14002fc80
mov qword [rbp + 0x408], rax
lea rdx, [0x14002fbe5]
mov rcx, qword [rbp + 0x408]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rdx, [0x1400a354c]
mov rcx, qword [rbp + 0x440]
call fcn.14002f82a
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
jmp 0x1400644cb
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x1400644a5
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x140064491
jmp 0x140064497
call fcn.14003017b
nop
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x440]
call fcn.14002f82a
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400aa8f0]
call fcn.1400303f6
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.14002fbd1
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x14002f82f
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400641f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400c46e7]
call fcn.140030847
nop
mov rcx, qword [rbp + 0x180]
call fcn.14002fae6
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x14006426c
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x140064314
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.14002f929
test eax, eax
jne 0x14006430f
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.14002fae6
cmp qword [rbp + 8], rax
jne 0x14006430f
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x1400642d9
xor eax, eax
jmp 0x140064316
cmp qword [rbp + 0x190], 0
je 0x1400642f6
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x140064316
jmp 0x140064264
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14002fdb6
Capabilities:
Terminate process

Disassembly:
jmp 0x140088a40
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]
nop
add rsp, 0x28
ret
Function at 0x14002ffb9
Capabilities:
Get geographical location

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

Disassembly:
jmp 0x14008b920
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14008b940
xor al, al
jmp 0x14008b9c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14008b953
xor al, al
jmp 0x14008b9c1
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 0x14008b97d
xor al, al
jmp 0x14008b9c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14008b991
xor al, al
jmp 0x14008b9c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14008b9a3
xor al, al
jmp 0x14008b9c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14008b9bf
xor al, al
jmp 0x14008b9c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140030568
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005fb50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400c448a]
call fcn.140030847
nop
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14005fb8d
xor eax, eax
jmp 0x14005fbba
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x14005fbb6
xor eax, eax
jmp 0x14005fbba
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140030699
Capabilities:
Get explorer pid

Disassembly:
jmp 0x1400528b0
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400b7040]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1400c4243]
call fcn.140030847
nop
mov dword [rbp + 4], 0
call qword [sym.imp.USER32.dll_GetShellWindow]
lea rdx, [rbp + 4]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
call fcn.1400309fa
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x24], eax
jne 0x140052985
lea rdx, str.___Pausing_to_allow_for_debugging
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14002fc80
mov qword [rbp + 0xf8], rax
lea rdx, [0x14002fbe5]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rdx, str.___Press_enter_to_close
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14002fc80
mov qword [rbp + 0xf8], rax
lea rdx, [0x14002fbe5]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1400a7070]
call fcn.1400303f6
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14002fbd1
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1400307d9
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400473c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x1400b7040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x1400c40fa]
call fcn.140030847
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140047427
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14004742e
mov al, 1
jmp 0x14004759e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14002f6fe
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14002f6fe
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140030315
movzx eax, al
test eax, eax
je 0x140047491
xor al, al
jmp 0x14004759e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140047504
cmp dword [rbp + 0x160], 1
je 0x14004750f
cmp dword [rbp + 0x160], 3
je 0x14004758d
jmp 0x14004759c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14004755f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14004755f
xor al, al
jmp 0x14004759e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14004757a
mov dword [rbp + 0x154], 1
jmp 0x140047584
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14004759e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14004759e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400a1d80]
call fcn.1400303f6
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14002fbd1
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400309fa
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140055a50
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400b7040]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x1400c4243]
call fcn.140030847
nop
mov dword [rbp + 0x284], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x2a4], eax
xor edx, edx
mov ecx, 2
call fcn.14002fb90
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140055abd
jmp 0x140055b10
mov r8d, 0x238
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.14003022a
nop
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14002fece
test eax, eax
jne 0x140055ae9
jmp 0x140055b10
mov eax, dword [rbp + 0x2a4]
cmp dword [rbp + 0x38], eax
jne 0x140055aff
mov eax, dword [rbp + 0x50]
mov dword [rbp + 0x284], eax
jmp 0x140055b10
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400304aa
test eax, eax
jne 0x140055ae9
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x140055b22
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x284]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400a6ff0]
call fcn.1400303f6
mov rax, rdi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.14002fbd1
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret

Function at 0x1400890f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140030905
movzx eax, al
test eax, eax
jne 0x140089110
mov ecx, 7
call fcn.140030423
nop
mov byte [rsp + 0x20], 0
call fcn.140030491
mov byte [rsp + 0x21], al
cmp dword [0x1400b8278], 1
jne 0x140089134
mov ecx, 7
call fcn.140030423
nop
jmp 0x14008918c
cmp dword [0x1400b8278], 0
jne 0x140089187
mov dword [0x1400b8278], 1
lea rdx, [0x140094770]
lea rcx, [0x140094440]
call fcn.14002fb7c
test eax, eax
je 0x140089168
mov eax, 0xff
jmp 0x140089291
lea rdx, [0x140094330]
lea rcx, [section..rdata]
call fcn.14003046e
mov dword [0x1400b8278], 2
jmp 0x14008918c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400303d3
call fcn.140030167
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400891e9
mov rcx, qword [rsp + 0x30]
call fcn.14002f960
movzx eax, al
test eax, eax
je 0x1400891e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x1400c6020]
nop
call fcn.14003026b
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14008921d
mov rcx, qword [rsp + 0x38]
call fcn.14002f960
movzx eax, al
test eax, eax
je 0x14008921d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140030766
nop
call fcn.140089340
mov dword [rsp + 0x28], eax
call fcn.1400300c7
movzx eax, al
test eax, eax
jne 0x14008923c
mov ecx, dword [rsp + 0x28]
call fcn.14002f217
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14008924b
call fcn.1400307b6
nop
xor edx, edx
mov cl, 1
call fcn.14002f8e8
mov eax, dword [rsp + 0x28]
jmp 0x140089291
add rsp, 0x68
ret
Function at 0x1407b7318
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407b749f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407b7349
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b732f
add dl, dl
jne 0x1407b7356
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b73b6
xor eax, eax
add dl, dl
jne 0x1407b7365
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b746d
add dl, dl
jne 0x1407b7376
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b7383
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b7390
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b739d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407b73aa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407b733e
mov eax, 1
add dl, dl
jne 0x1407b73c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b73d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b73bb
sub eax, ebx
mov ebx, 1
jne 0x1407b740c
mov ecx, 1
add dl, dl
jne 0x1407b73ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b73fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b73e3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b733e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407b7428
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b7435
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b741d
cmp eax, 0x7d00
jae 0x1407b745b
cmp eax, 0x500
jb 0x1407b7456
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b733e
cmp eax, 0x7f
ja 0x1407b745e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b733e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407b7492
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407b733e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007c80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword gs:[0x58]
movzx edi, dl
mov r8d, dword [0x1403ac240]
mov rsi, rcx
mov rbx, qword [rax + r8*8]
mov eax, 0x100
cmp byte [rax + rbx], 0
jne 0x140007cc6
call fcn.14006afe8
mov r14d, 0x10
add r14, rbx
mov rcx, r14
call fcn.140008880
xor r12d, r12d
lea rcx, [rsi + 0x10]
test al, al
cmove r14, r12
call fcn.14000f370
mov qword [0x1403a5468], r14
test dil, dil
je 0x140007d05
mov rcx, qword [0x1403a5660]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov eax, dword [0x1403a5460]
or eax, 2
mov dword [0x1403a5460], eax
call sub.KERNEL32.dll_FlushProcessWriteBuffers
xor dil, dil
mov r15d, r12d
mov esi, r12d
movabs r13, 0x431bde82d7b634db
nop dword [rax]
mov ebp, esi
mov esi, r12d
call fcn.1400091d0
mov rcx, rax
call fcn.140009230
mov r8b, 1
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x10]
call fcn.14000f130
call fcn.1400091d0
mov rcx, rax
call fcn.140009230
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140007da5
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
cmp rbx, r14
je 0x140007d70
mov rcx, rbx
call fcn.140007fc0
test al, al
jne 0x140007d70
inc esi
test dil, dil
jne 0x140007d70
mov rcx, rbx
call fcn.140008560
jmp 0x140007d70
lea rcx, [rsp + 0x20]
call fcn.14000f350
test esi, esi
je 0x140007e60
cmp esi, ebp
jl 0x140007de7
test dil, dil
je 0x140007de7
mov edx, 0x64
mov ecx, r15d
call fcn.140007bc0
inc r15d
xor dil, dil
test r15b, 0x7f
jne 0x140007d30
call sub.KERNEL32.dll_SwitchToThread
jmp 0x140007d30
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceFrequency
mov rax, qword [rsp + 0x70]
mov edi, r12d
lea rcx, [rax + rax*4]
mov rax, r13
imul rcx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rbx
mov ebx, 1
nop dword [rax + rax]
test ebx, ebx
jle 0x140007e3e
mov eax, ebx
pause
sub rax, 1
jne 0x140007e36
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x70], rbp
jg 0x140007e58
inc edi
rol ebx, 1
cmp edi, 0x1e
jl 0x140007e30
mov dil, 1
jmp 0x140007d30
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140005ea0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140005efd
lea rbx, [0x1400c0df0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005ee4
cmp r10, 2
jb 0x140005ee4
cmp byte [r9], r8b
jne 0x140005ee4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140005ec0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140005f3f
lea rbx, [0x1400c0df0]
cmp r8b, 0x23
jne 0x140005f23
cmp byte [r9], r8b
jne 0x140005f23
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140005f10
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140006080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000609a
mov qword [r8], 0
lea rdx, [0x1400c098c]
call fcn.140005f50
mov rbx, rax
test rax, rax
jne 0x1400060ba
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140006191
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140006191
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140006191
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140006191
cmp rdi, 0xffffffffffffffff
je 0x140006191
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x14000612e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140006191
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000617e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d49d8]
test rax, rax
je 0x140006173
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000619a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000618c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000619c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400096f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400c0df0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400d49d8]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ef8], ebx
jne 0x140009786
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001c450
mov eax, ebx
add rsp, 0x20
pop rbx
ret