joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e31e0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1400e3302
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x1400e3338
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 3
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x1400e3340
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1400e3344
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x1400e334a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x1400e323c
xor eax, eax
jmp 0x1400e32d1
mov dl, byte [r8 + 0x19]
jmp 0x1400e3331
cmp byte [r8 + 0x1a], 0
je 0x1400e3335
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400e3335
cmp ecx, 0x666f736f
jne 0x1400e3335
cmp edx, 0x76482074
jne 0x1400e3335
mov byte [r8 + 0x19], 1
jmp 0x1400e3335

Function at 0x1400e4460
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1402462e0]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e44e1
lea rcx, [0x1402462d0]
call fcn.1400a35b0
test rax, rax
jne 0x1400e44ce
mov ecx, 4
call fcn.140148440
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1402462d0]
mov rcx, rbx
call fcn.1400a35b0
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.140108d40
test rsi, rsi
jne 0x1400e4524
lea rcx, [0x1402462d0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400a35b0
lea rcx, [0x1402462e0]
call fcn.1401485a0
cmp dword [0x1402462e0], 0xffffffff
jne 0x1400e4488
xorps xmm0, xmm0
movups xmmword [0x1402462d0], xmm0
lea rcx, [0x1402462d0]
lea rdx, [0x140041800]
call fcn.1400a3650
lea rcx, [0x1402462e0]
call fcn.140148638
jmp 0x1400e4488
mov rcx, rsi
call fcn.14014847c
jmp 0x1400e44ce
Function at 0x1400e62e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400e631c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400e6326
add rdi, rbx
sub rsi, rbx
jne 0x1400e62fa
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1400eaeb0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, qword [rsi + 8]
sub rbx, rcx
sar rbx, 3
lea rdx, [rbx + 1]
mov rax, rdx
shr rax, 0x3d
jne 0x1400eb003
movabs rax, 0x1fffffffffffffff
mov r8, qword [rsi + 0x10]
sub r8, rcx
mov r14, r8
sar r14, 2
cmp r14, rdx
cmovbe r14, rdx
movabs rcx, 0x7ffffffffffffff8
cmp r8, rcx
cmovae r14, rax
test r14, r14
je 0x1400eaffc
cmp r14, rax
ja 0x1400eb008
lea rcx, [r14*8]
call fcn.140148440
shl rbx, 3
add rbx, rax
je 0x1400eb00d
lea rax, [rax + r14*8]
mov rcx, qword [rdi]
mov qword [rbx], rcx
mov qword [rdi], 0
lea rcx, [rbx + 8]
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, rdi
je 0x1400eafd1
mov r8, qword [rdx - 8]
mov qword [rbx - 8], r8
mov qword [rdx - 8], 0
lea r8, [rdx - 8]
add rbx, 0xfffffffffffffff8
mov rdx, r8
cmp r8, rdi
jne 0x1400eaf5b
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
cmp r14, rdi
je 0x1400eafdc
add r14, 0xfffffffffffffff8
test r14, r14
je 0x1400eb039
mov rcx, qword [r14]
mov rax, qword [0x14022d7e0]
and rax, rcx
cmp rax, qword [0x14022d7c8]
je 0x1400eafca
mov qword [r14], 0
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
jne 0x1400eaf96
jmp 0x1400eafdc
call fcn.1400febe0
jmp 0x1400eafb5
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
test rdi, rdi
jne 0x1400eafeb
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14014847c
xor eax, eax
jmp 0x1400eaf2d
call fcn.140162470
call fcn.140185b10
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.140186340
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.140186340
int3

Function at 0x1400eb220
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400eb268
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400eb271
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400eb258
mov qword [rdi], rsi
call fcn.1400fc5f0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400fc5f0
mov rcx, qword [rdi]
call fcn.14010ef00
mov qword [rdi], 0
jmp 0x1400eb246
Function at 0x1400f1ca0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14023afe0]
cmp rsi, 1
jbe 0x1400f1cc1
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400a35b0
lea rcx, [0x14023afe0]
call fcn.1400977e0
test al, al
je 0x1400f1d06
xorps xmm0, xmm0
movups xmmword [0x14023afe8], xmm0
lea rdi, [0x14023afe0]
lea rsi, [0x14023afe8]
mov rcx, rsi
xor edx, edx
call fcn.1400a3650
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400978a0
jmp 0x1400f1cb3
mov rsi, qword [0x14023afe0]
jmp 0x1400f1cb3

Function at 0x1400f1ea0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, r8
mov rsi, rcx
mov r12, qword [rsp + 0x90]
cmp r12, 8
jb 0x1400f2014
mov r14, r9
mov r13d, dword [r9 + 4]
cmp r13, r12
ja 0x1400f2014
mov qword [rsp + 0x20], rsi
cmp dword [r14], 0x100000
ja 0x1400f2018
mov r15, rdx
lea rbp, [r14 + r13]
sub r12, r13
mov ecx, 0x88
call fcn.140148440
mov rbx, rax
mov rsi, qword [rdi]
mov qword [rdi], 0
lea rdx, [0x140208598]
mov rcx, rax
call fcn.14011de90
lea rax, fcn.1400f2180
mov qword [rbx], rax
mov qword [rbx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rbx + 0x18], xmm0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], rsi
mov word [rbx + 0x38], 0x100
mov byte [rbx + 0x3a], 1
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], r13
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], r12
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], 0
movups xmm0, xmmword [0x140212f68]
movups xmmword [rbx + 0x78], xmm0
mov eax, dword [0x14023b008]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f1fbf
lock inc dword [0x14023affc]
mov rsi, qword [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, qword [rdi]
mov qword [rdi], 0
test rcx, rcx
jne 0x1400f201f
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14023b008]
call fcn.1401485a0
cmp dword [0x14023b008], 0xffffffff
jne 0x1400f1f8d
lea rax, [0x140204ab8]
mov qword [0x14023b000], rax
lea r14, [0x14023b000]
call fcn.1400b0230
lea r8, str.MojoMessages
mov rcx, rax
mov rdx, r14
xor r9d, r9d
call fcn.1400b02e0
lea rcx, [0x14023b008]
call fcn.140148638
jmp 0x1400f1f8d
xor ebx, ebx
jmp 0x1400f1f99
xor ebx, ebx
jmp 0x1400f1f94
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401b1830.0]
jmp 0x1400f1fab
Function at 0x1400fe4b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400fe4db
call fcn.1400fc5f0
cmp qword [rsi], r14
je 0x1400fe50a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400fe529
cmp r15, 2
jb 0x1400fe502
mov qword [rsi], r14
call fcn.1400fc5f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400fc5f0
mov rcx, qword [rsi]
call fcn.14010ef00
mov qword [rsi], 0
jmp 0x1400fe4f4

Function at 0x140108d40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14022c178]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140108d7e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140108d77
call fcn.1400a33a0
jmp 0x140108d5e

Function at 0x14010e980
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14010e9c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14010e9e1
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14010e9bf
mov qword [rsi], rdi
call fcn.1400fc5f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x14010e9f7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400fc5f0
mov rcx, qword [rsi]
call fcn.14010ef00
mov qword [rsi], 0
jmp 0x14010e9ad
int3

Function at 0x14010ea00
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jae 0x14010ea79
cmp qword [rsi], r14
je 0x14010ea54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14010ea80
cmp r15, 2
jb 0x14010ea4c
mov qword [rsi], r14
call fcn.1400fc5f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14010ea96
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400fc5f0
jmp 0x14010ea25
call fcn.1400fc5f0
mov rcx, qword [rsi]
call fcn.14010ef00
mov qword [rsi], 0
jmp 0x14010ea3e
call fcn.1400fc5f0
mov rcx, qword [rdi]
call fcn.14010ef00
mov qword [rdi], 0
jmp 0x14010ea6a
Function at 0x14010ec90
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14010ed2a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14010ed14
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14010ecf1
mov qword [rsi], rdi
call fcn.1400fc5f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x14010ed2e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400fc5f0
mov rcx, qword [rsi]
call fcn.14010ef00
mov qword [rsi], 0
jmp 0x14010ecdf
mov byte [rsi + 8], 1
int3

Function at 0x14010ef30
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14023eb98]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010ef90
lea rsi, [0x14023eb90]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140148f60
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14023eb98]
call fcn.1401485a0
cmp dword [0x14023eb98], 0xffffffff
jne 0x14010ef6c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14014bec0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.140148440
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14023ebe0]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010f050
lea r8, [0x14023ebb0]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400ad840
mov qword [0x14023eb90], rsi
lea rcx, [0x14023eb98]
call fcn.140148638
jmp 0x14010ef6c
lea rcx, [0x14023ebe0]
call fcn.1401485a0
cmp dword [0x14023ebe0], 0xffffffff
jne 0x14010f021
xorps xmm0, xmm0
movups xmmword [0x14023ebd0], xmm0
movups xmmword [0x14023ebc0], xmm0
movups xmmword [0x14023ebb0], xmm0
lea rcx, [0x14023ebb0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14023ebe0]
call fcn.140148638
jmp 0x14010f021
Function at 0x14010f0a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14023eb98]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010f100
mov rsi, qword [0x14023eb90]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140148f60
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14023eb98]
call fcn.1401485a0
cmp dword [0x14023eb98], 0xffffffff
jne 0x14010f0dc
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14014bec0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.140148440
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14023ebe0]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010f1c0
lea r8, [0x14023ebb0]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400ad840
mov qword [0x14023eb90], rsi
lea rcx, [0x14023eb98]
call fcn.140148638
jmp 0x14010f0dc
lea rcx, [0x14023ebe0]
call fcn.1401485a0
cmp dword [0x14023ebe0], 0xffffffff
jne 0x14010f191
xorps xmm0, xmm0
movups xmmword [0x14023ebd0], xmm0
movups xmmword [0x14023ebc0], xmm0
movups xmmword [0x14023ebb0], xmm0
lea rcx, [0x14023ebb0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14023ebe0]
call fcn.140148638
jmp 0x14010f191

Function at 0x14010f3f0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r9
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r12, qword [rdx]
mov qword [rdx], rax
lea r13, [r12 + 1]
cmp r13, 2
jb 0x14010f427
call fcn.1400fc5f0
mov r15, qword [rsp + 0x90]
cmp qword [rsi], r12
je 0x14010f460
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14010f48f
cmp r13, 2
jb 0x14010f457
mov qword [rsi], r12
call fcn.1400fc5f0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 8], ebp
mov qword [rsi + 0x10], rbx
movups xmm0, xmmword [r15]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14010f4a5
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400fc5f0
mov rcx, qword [rsi]
call fcn.14010ef00
mov qword [rsi], 0
jmp 0x14010f449
call fcn.1400fc5f0
mov rcx, qword [rdi]
call fcn.14010ef00
mov qword [rdi], 0
jmp 0x14010f47b
Function at 0x14010f940
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14010eee0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14023ec30]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14010f99e
jnp 0x14010fa04
ucomisd xmm0, xmm6
jne 0x14010f9aa
jnp 0x14010fb19
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140207190]
subpd xmm1, xmmword [0x1402071a0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140206c20]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140148f60
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x14023ec40]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010fb20
mov eax, dword [0x14023ec50]
mov ecx, dword [0x140239ae4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010fb5a
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x14023ec48]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1402115f8]
ucomisd xmm2, xmm1
ja 0x14010f99e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14023ec38]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140207190]
subpd xmm0, xmmword [0x1402071a0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14023ec30], xmm0
jmp 0x14010f99e
xor eax, eax
jmp 0x14010f9dc
lea rcx, [0x14023ec40]
call fcn.1401485a0
cmp dword [0x14023ec40], 0xffffffff
jne 0x14010fa4d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14023ec38], rdx
lea rcx, [0x14023ec40]
call fcn.140148638
jmp 0x14010fa4d
lea rcx, [0x14023ec50]
call fcn.1401485a0
cmp dword [0x14023ec50], 0xffffffff
jne 0x14010fa72
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14023ec48], rax
lea rcx, [0x14023ec50]
call fcn.140148638
jmp 0x14010fa72
Function at 0x140112410
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140112441
call fcn.1400fc5f0
cmp qword [rsi + 8], rbx
je 0x140112473
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140112480
cmp r14, 2
jb 0x14011246b
mov qword [rsi + 8], rbx
call fcn.1400fc5f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400fc5f0
mov rcx, qword [rsi + 8]
call fcn.14010ef00
mov qword [rsi + 8], 0
jmp 0x14011245c

Function at 0x1401124a0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1401124d1
call fcn.1400fc5f0
cmp qword [rsi + 8], rbx
je 0x140112503
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140112510
cmp r14, 2
jb 0x1401124fb
mov qword [rsi + 8], rbx
call fcn.1400fc5f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400fc5f0
mov rcx, qword [rsi + 8]
call fcn.14010ef00
mov qword [rsi + 8], 0
jmp 0x1401124ec
Function at 0x14011d4b0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, qword [rsi + 8]
sub rbx, rcx
sar rbx, 3
lea rdx, [rbx + 1]
mov rax, rdx
shr rax, 0x3d
jne 0x14011d5f6
movabs rax, 0x1fffffffffffffff
mov r8, qword [rsi + 0x10]
sub r8, rcx
mov r14, r8
sar r14, 2
cmp r14, rdx
cmovbe r14, rdx
movabs rcx, 0x7ffffffffffffff8
cmp r8, rcx
cmovae r14, rax
test r14, r14
je 0x14011d5ef
cmp r14, rax
ja 0x14011d5fb
lea rcx, [r14*8]
call fcn.140148440
shl rbx, 3
add rbx, rax
je 0x14011d600
lea rax, [rax + r14*8]
mov rcx, qword [rdi]
mov qword [rdi], 0
mov qword [rbx], rcx
lea rcx, [rbx + 8]
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, rdi
jne 0x14011d575
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
test rdi, rdi
jne 0x14011d5d2
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r8, qword [rdx - 8]
mov qword [rdx - 8], 0
lea r9, [rdx - 8]
mov qword [rbx - 8], r8
add rbx, 0xfffffffffffffff8
mov rdx, r9
cmp r9, rdi
jne 0x14011d575
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
cmp r14, rdi
je 0x14011d566
add r14, 0xfffffffffffffff8
test r14, r14
je 0x14011d62c
mov rcx, qword [r14]
mov qword [r14], 0
test rcx, rcx
jne 0x14011d5e3
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
je 0x14011d566
jmp 0x14011d5b0
mov rcx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14014847c
mov edx, 1
call fcn.140113250
jmp 0x14011d5c4
xor eax, eax
jmp 0x14011d52d
call fcn.140162470
call fcn.140185b10
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.140186340
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.140186340
int3