joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d2290
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14023d7d0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4d
call fcn.1401552d0
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.14014be60
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x1400d2316
mov rbx, qword [rbx]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400d2342
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14018bb3c
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
jmp 0x1400d2486
mov qword [rsi], 0
jmp 0x1400d2455
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400d24b1
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d24b1
mov r13, qword [rsp + 0x30]
test r13, r13
je 0x1400d24b1
mov ecx, 0x38
call fcn.14018bb3c
mov rbx, rax
movzx r12d, word [r13]
movzx ebp, word [r13 + 2]
lea rax, fcn.1400d2580
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
movabs r14, 0xfffffffc00000000
mov rax, rdi
and rax, r14
cmp rax, qword [0x140276788]
jne 0x1400d23f6
mov rcx, rdi
call fcn.140159480
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x140250a02]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d24d8
mov rdi, qword [rsp + 0x30]
and r14, rdi
cmp r14, qword [0x140276788]
jne 0x1400d244e
mov rcx, rdi
call fcn.140159480
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x50]
call fcn.14014bee0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14018d030
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
add rcx, rax
je 0x1400d249e
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x1400d2486
jmp 0x1400d234e
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401c7f00
mov qword [rsi], 0
test rdi, rdi
je 0x1400d2455
dec r15
cmp r15, r14
jae 0x1400d24db
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401c7f00
int3
mov rcx, rdi
call fcn.14018bb78
jmp 0x1400d2455
Function at 0x1400db3b0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400db480
mov eax, dword [rsi]
mov dword [reloc.WS2_32.dll_accept], eax
test al, 1
jne 0x1400db3d1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x140286788]
test rcx, rcx
jne 0x1400db3eb
mov rcx, qword [0x140286760]
test rcx, rcx
je 0x1400db40f
jmp 0x1400db431
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140286788], 0
mov rcx, qword [0x140286760]
test rcx, rcx
jne 0x1400db431
and byte [reloc.WS2_32.dll_accept], 0xfe
mov ecx, 0x18
call fcn.14018bb3c
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140286760], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1400db466
call fcn.1400ca460
cmp dword [rsi + 0x14], 0
jne 0x1400db45b
mov rcx, qword [0x140286760]
cmp byte [rcx + 0x17], 0
jns 0x1400db455
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1401e5670
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string:2706:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.1401c7f00
int3
Function at 0x1400e08a0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140286880]
test rdi, rdi
jne 0x1400e0953
mov ecx, 0x50
call fcn.14018bb3c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14018bb3c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x1400e0975
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140286880], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400e0988
mov rcx, rax
call fcn.1401ad2f4
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400e09a0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14018d030
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401c7f00
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1401c7f00
int3
Function at 0x1400e09a0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.1400ee700
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400e0b27
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x140251158]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400e0b8b
lea rdx, [0x1402511a8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e0b6f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1402655f0]
mov r14, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x1400e0b81
test r12d, r12d
js 0x1400e0b77
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14018bb3c
mov rbx, rax
mov qword [rsp + 0x20], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x1400e0b49
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1401c71d0
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x1400e0a9f
mov qword [rsp + 0x28], r15
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400e0480
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400e0aed
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x1400e0b27
cmp r15, rbx
je 0x1400e0b1f
add r15, 0xffffffffffffffe8
jmp 0x1400e0b11
mov rcx, qword [r15]
call fcn.14018bb78
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x1400e0b1f
test r15, r15
je 0x1400e0b5c
cmp byte [r15 + 0x17], 0
js 0x1400e0afd
jmp 0x1400e0b05
mov rcx, rbx
call fcn.14018bb78
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14018d030
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401c7f00
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401c7f00
xor r14d, r14d
jmp 0x1400e0a51
lea rcx, [rsp + 0x20]
call fcn.1401c7d30
xor r15d, r15d
xor ebx, ebx
jmp 0x1400e0ac6
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400e0a4e
Function at 0x1400e3fa0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14018f180
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400e402b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x1400e418a
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400e4018
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1401a87e8
test eax, eax
je 0x1400e4123
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400e4082
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x1400e4198
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400e406f
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1401a87e8
test eax, eax
je 0x1400e4153
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400e40d5
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x1400e41a6
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400e40c6
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1401a87e8
test eax, eax
je 0x1400e40f6
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14018d030
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1400e4105
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x1400e40d7
jb 0x1400e41b4
test al, al
jns 0x1400e4119
mov rsi, qword [rsi]
cmp word [rsi + r14*2], 0x5c
jne 0x1400e40d5
jmp 0x1400e40d7
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1400e4132
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x1400e40d7
jb 0x1400e41b4
mov rcx, rsi
test al, al
jns 0x1400e4145
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x1400e402b
jmp 0x1400e40d7
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1400e4162
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x1400e40d7
jb 0x1400e41b4
mov rcx, rsi
test al, al
jns 0x1400e4179
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x1400e4082
jmp 0x1400e40d7
dec r14
jne 0x1400e3fff
jmp 0x1400e402b
dec r14
jne 0x1400e4056
jmp 0x1400e4082
dec r14
jne 0x1400e40ad
jmp 0x1400e40d5
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string:1221:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1401c7f00
int3
Function at 0x1400e4a70
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400e4cca
mov ebx, eax
mov r15d, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14023d7d0]
movaps xmmword [rsp + 0x40], xmm0
cmp ebx, 0xb
jae 0x1400e4c1b
lea r14, [rsp + 0x40]
mov byte [r14 + 0x17], bl
lea r8, [r15 + r15]
mov rcx, r14
xor edx, edx
call fcn.14018f180
mov word [r14 + r15*2], 0
cmp byte [rsp + 0x57], 0
js 0x1400e4afd
lea rdx, [rsp + 0x40]
jmp 0x1400e4b02
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400e4ca8
mov edx, eax
mov cl, byte [rsp + 0x57]
test cl, cl
mov r8, qword [rsp + 0x48]
movzx edi, cl
mov r9, rdi
cmovs r9, r8
cmp r9, rdx
jbe 0x1400e4ca8
mov r14, rdx
test cl, cl
jns 0x1400e4ba0
sub r14, r8
ja 0x1400e4bb8
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rdx
lea rax, [rcx + rdx*2]
mov word [rax], 0
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
cmp byte [rsp + 0x57], 0
js 0x1400e4cbb
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14018d030
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
sub r14, rdi
ja 0x1400e4baf
lea rcx, [rsp + 0x40]
mov byte [rcx + 0x17], al
jmp 0x1400e4b4c
je 0x1400e4b55
mov edx, 0xa
jmp 0x1400e4bd1
je 0x1400e4b55
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
btr rdx, 0x3f
dec rdx
shr rcx, 0x38
mov rdi, r8
mov rax, rdx
sub rax, rdi
cmp rax, r14
jb 0x1400e4c69
test cl, cl
js 0x1400e4beb
lea rbx, [rsp + 0x40]
jmp 0x1400e4bf0
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx + rdi*2]
lea r8, [r14 + r14]
xor edx, edx
call fcn.14018f180
add rdi, r14
cmp byte [rsp + 0x57], 0
jns 0x1400e4c9b
mov qword [rsp + 0x48], rdi
lea rax, [rbx + rdi*2]
jmp 0x1400e4b50
mov eax, r15d
and eax, 0xfffffffc
add rax, 4
mov r12, r15
or r12, 3
cmp r12, 0xb
cmove r12, rax
lea rcx, [r12*2 + 2]
call fcn.14018bb3c
mov r14, rax
mov qword [rsp + 0x40], rax
movabs rax, 0x7fffffffffffffff
add rax, r12
add rax, 2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
jmp 0x1400e4ada
mov r8, r14
sub r8, rdx
add r8, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rdi
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9, rdi
call fcn.140135780
mov qword [rbx + 8], rdi
mov cl, byte [rbx + 0x17]
jmp 0x1400e4be0
mov eax, edi
and al, 0x7f
mov byte [rsp + 0x57], al
jmp 0x1400e4c12
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400e4b77
mov rcx, qword [rsp + 0x40]
call fcn.14018bb78
jmp 0x1400e4b82
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x1400e4b82
Function at 0x1400e9cf0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x1400e9d0a
test r8d, r8d
jne 0x1400e9d03
call fcn.1401071d0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.14015b970

Function at 0x1400ea590
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rax, qword [0x140286a70]
cmp rax, 1
jbe 0x1400ea5d1
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.14018d030
nop
add rsp, 0x1c0
pop rsi
ret
lea rcx, [0x140286a70]
call fcn.1400ee300
test al, al
je 0x1400ea628
lea rsi, [rsp + 0x20]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.14018f180
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400ea60d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140286a78]
lea rcx, [0x140286a70]
xor r8d, r8d
mov r9, rcx
call fcn.1400ee3c0
jmp 0x1400ea5b7
mov rax, qword [0x140286a70]
jmp 0x1400ea5b7
Function at 0x1400ed340
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140286b90]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400ed375
jnp 0x1400ed399
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14018d030
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140286ba0]
mov ecx, dword [0x140283248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ed4ae
mov eax, dword [0x140286bb0]
mov ecx, dword [0x140283248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ed4e8
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x20]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x140286ba8]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1402458c8]
ucomisd xmm1, xmm0
ja 0x1400ed375
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140286b98]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x140244740]
subpd xmm6, xmmword [0x140244750]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x140286b90], xmm6
jmp 0x1400ed375
lea rcx, [0x140286ba0]
call fcn.14018bc90
cmp dword [0x140286ba0], 0xffffffff
jne 0x1400ed3e2
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140286b98], rdx
lea rcx, [0x140286ba0]
call fcn.14018bd28
jmp 0x1400ed3e2
lea rcx, [0x140286bb0]
call fcn.14018bc90
cmp dword [0x140286bb0], 0xffffffff
jne 0x1400ed407
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140286ba8], rax
lea rcx, [0x140286bb0]
call fcn.14018bd28
jmp 0x1400ed407
Function at 0x1400eee90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1400eefd9
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14023d7d0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x1402655f0]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x1402655f0]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x1402655f0]
test r14, r14
je 0x1400eef73
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400eef63
mov ecx, 1
call fcn.14015f010
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400eefdd
call fcn.140090c60
lea rax, [0x14008f760]
lea rcx, [0x14008ea00]
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14018d030
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400eefbc
bt eax, 9
jae 0x1400eeff8
call fcn.140091d50
lea rax, [0x140092220]
lea rcx, [0x140091f20]
jmp 0x1400eefa3
call fcn.1401ecc00
lea rax, [0x1401ed400]
lea rcx, [0x1401ecae0]
jmp 0x1400eefa3

Function at 0x1400ef020
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.14015f010
mov ebp, eax
bt eax, 0x1d
jb 0x1400ef063
not ebp
test ebp, 0x128
jne 0x1400ef089
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14009dd70
mov ecx, 1
call fcn.14015f010
bt eax, 9
jae 0x1400ef043
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14009cc00
mov ecx, 1
call fcn.14015f010
mov ebp, eax
bt eax, 0x1c
jae 0x1400ef0a8
xor ecx, ecx
call fcn.14015f010
bt eax, 0x1e
jb 0x1400ef04d
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x1400ef0c4
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14009bbc0
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14009ced0
Function at 0x1400ef0e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140286d20]
mov ecx, dword [0x140283248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ef140
lea rsi, [0x140286d18]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14018d030
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140286d20]
call fcn.14018bc90
cmp dword [0x140286d20], 0xffffffff
jne 0x1400ef11c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14018f180
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14018bb3c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140286d68]
mov ecx, dword [0x140283248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ef200
lea r8, [0x140286d38]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400ef300
mov qword [0x140286d18], rsi
lea rcx, [0x140286d20]
call fcn.14018bd28
jmp 0x1400ef11c
lea rcx, [0x140286d68]
call fcn.14018bc90
cmp dword [0x140286d68], 0xffffffff
jne 0x1400ef1d1
xorps xmm0, xmm0
movups xmmword [0x140286d58], xmm0
movups xmmword [0x140286d48], xmm0
movups xmmword [0x140286d38], xmm0
lea rcx, [0x140286d38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140286d68]
call fcn.14018bd28
jmp 0x1400ef1d1

Function at 0x1400ef250
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140286d68]
mov ecx, dword [0x140283248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ef28b
movzx eax, word [0x140286d38]
cmp eax, 9
jne 0x1400ef2d3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140286d68]
call fcn.14018bc90
cmp dword [0x140286d68], 0xffffffff
jne 0x1400ef275
xorps xmm0, xmm0
movups xmmword [0x140286d58], xmm0
movups xmmword [0x140286d48], xmm0
movups xmmword [0x140286d38], xmm0
lea rcx, [0x140286d38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140286d68]
call fcn.14018bd28
jmp 0x1400ef275
test eax, eax
je 0x1400ef286
cmp eax, 6
jne 0x1400ef2e3
mov eax, 2
jmp 0x1400ef286
cmp eax, 0xc
jne 0x1400ef2ef
mov eax, 3
jmp 0x1400ef286
mov eax, 4
jmp 0x1400ef286
Function at 0x1400f06f0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400f07de
cmp qword [rsi], 0
jne 0x1400f07de
cmp dword [rsi + 0x14], 0
jne 0x1400f07de
cmp qword [rsi + 8], 0
jne 0x1400f07de
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400f0760
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f07b0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400f0758
mov qword [rsi], r14
call fcn.1401552f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400f079a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400f07c6
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400f0792
mov qword [rsi + 8], r14
call fcn.1401552f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401552f0
mov rcx, qword [rsi]
call fcn.140145540
mov qword [rsi], 0
jmp 0x1400f0746
call fcn.1401552f0
mov rcx, qword [rsi + 8]
call fcn.140145540
mov qword [rsi + 8], 0
jmp 0x1400f077f
mov rcx, rsi
call fcn.1401ee3d0
mov rax, qword [rsi]
jmp 0x1400f072a