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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1402418d0
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1402418d9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140334bf0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1402418b9
int3
mov rcx, qword [rcx + 8]
jmp 0x140241870

Function at 0x1402418e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14040b018]
xor rax, rsp
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12, qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x140241983
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x140241972
cmp eax, 0xffffffff
je 0x140241997
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140334bf0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r12
cmp eax, 3
je 0x140241921
mov eax, dword [rsp + 0x2c]
jmp 0x140241952
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x140241954
int3

Function at 0x140241ee0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.140241dd0
test rax, rax
jne 0x140241f1f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x140241f3b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140334bf0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140317c40
test al, al
jne 0x140241f4d
xor esi, esi
jmp 0x140241f1f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str........._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
call fcn.14038d190
lea rcx, [rsp + 0x40]
lea rdx, [0x1403ee749]
mov r8d, recv
call fcn.14036f000
mov rcx, rsi
call fcn.14038d210
jmp 0x140241f49

Function at 0x140242420
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1402418d0
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1402418d9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140334bf0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1402418b9
int3
mov rcx, qword [rcx + 8]
jmp 0x140241870
Function at 0x140242910
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x140242938
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x140242952
mov ecx, 2
call fcn.140317c40
test al, al
jne 0x140242974
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140334bf0
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str........._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x30
mov r9d, 2
call fcn.14038d190
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, reloc.WS2_32.dll_recv
call fcn.14036f000
mov rbx, rax
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14030fa40
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1402429f3
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.14036f000
cmp byte [rsp + 0x57], 0
jns 0x140242a0f
mov rcx, qword [rsp + 0x40]
call fcn.1403336f4
lea rcx, [rsp + 0x58]
call fcn.14038d210
jmp 0x140242952

Function at 0x140243b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rax, rcx
mov rcx, qword [0x14040b018]
xor rcx, rsp
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140243bc3
cmp byte [rax + 0x90], 0
jne 0x140243bc3
mov sil, 1
cmp byte [rax + 0x91], 0
jne 0x140243bae
lea rdx, [rsp + 0x27]
mov byte [rdx], 0xaa
mov r8d, 1
mov r9d, 2
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x140243bc3
cmp esi, 0xffffffff
setne cl
cmp eax, 0x2733
sete sil
or sil, cl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140334bf0
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor esi, esi
jmp 0x140243bae

Function at 0x140243bd0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, 0x90
mov rcx, rbx
mov dl, 0xaa
call fcn.1403369a0
mov rcx, rbx
call fcn.140242c40
lea r8, [rsp + 0xa8]
mov rdx, qword [r8 + 8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140243c6a
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.140220250
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140334bf0
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1402386a0
mov esi, eax
jmp 0x140243c4d
Function at 0x140244a50
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 0x140244b72
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 0x140244ba8
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
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 0x140244bb0
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 0x140244bb4
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 0x140244bba
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x140244aac
xor eax, eax
jmp 0x140244b41
mov dl, byte [r8 + 0x19]
jmp 0x140244ba1
cmp byte [r8 + 0x1a], 0
je 0x140244ba5
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140244ba5
cmp ecx, 0x666f736f
jne 0x140244ba5
cmp edx, 0x76482074
jne 0x140244ba5
mov byte [r8 + 0x19], 1
jmp 0x140244ba5

Function at 0x140244d20
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x140244da8
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x140244da1
mov rdx, rcx
add rdi, rdx
cmp al, 1
jne 0x140244d62
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140334bf0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1402667b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp r9b, 1
jne 0x1402667cb
xor r10d, r10d
mov r9d, 1
mov r11, rcx
jmp 0x14026681c
movzx r11d, r9b
and r8d, 0xfffffffe
mov r9d, 3
mov eax, 3
sub eax, r11d
xor r10d, r10d
cmp eax, r8d
jge 0x140266809
sub r9d, r11d
movsxd rax, r9d
movsxd r8, r8d
cmp byte [rcx + rax], 0
jne 0x140266803
add rax, 2
cmp rax, r8
jl 0x1402667f2
jmp 0x140266809
mov r10d, 1
xor eax, 1
and r11d, 1
add r11, rcx
mov r9d, 2
mov r8d, eax
movsxd rax, r8d
add rcx, rax
mov r8b, 1
cmp r11, rcx
jae 0x14026685d
mov eax, r9d
lea rsi, [0x1403f1680]
movzx edi, byte [r11]
test byte [rdi + rsi], 1
je 0x140266848
add r11, rax
cmp r11, rcx
jb 0x140266834
jmp 0x14026685d
cmp edi, 0x2b
je 0x14026685a
cmp edi, 0x2d
jne 0x14026685d
add r11, rax
xor r8d, r8d
jmp 0x14026685d
add r11, rax
mov rsi, r11
cmp r11, rcx
jae 0x140266878
mov eax, r9d
mov rsi, r11
cmp byte [rsi], 0x30
jne 0x140266878
add rsi, rax
cmp rsi, rcx
jb 0x14026686b
cmp rsi, rcx
jae 0x1402668c2
mov r14d, r9d
xor edi, edi
xor eax, eax
movzx r15d, byte [rsi + rdi]
lea ebx, [r15 - 0x30]
cmp bl, 0xa
setb bl
jae 0x1402668ad
lea rax, [rax + rax*4]
lea rax, [r15 + rax*2]
add rax, 0xffffffffffffffd0
add rdi, r14
lea r15, [rsi + rdi]
cmp r15, rcx
jb 0x140266884
test rax, rax
jns 0x1402668c8
movabs rax, 0x7fffffffffffffff
lea r14, [rax + 1]
jmp 0x1402668ce
xor edi, edi
mov bl, 1
xor eax, eax
mov r14, rax
neg r14
test r8b, r8b
cmovne r14, rax
mov qword [rdx], r14
test edi, edi
jne 0x1402668e6
mov eax, 0xffffffff
cmp r11, rsi
je 0x14026691d
test r10d, r10d
setne al
or al, bl
mov eax, r10d
jne 0x14026691d
mov eax, edi
mov r10d, r9d
add rax, rsi
lea r11, [0x1403f1680]
movzx ebx, byte [rax]
test byte [rbx + r11], 1
je 0x140266918
add rax, r10
cmp rax, rcx
jb 0x140266902
xor eax, eax
jmp 0x14026691d
mov eax, 1
lea ecx, [r9 + r9*8]
lea ecx, [r9 + rcx*2]
cmp edi, ecx
jb 0x1402669c6
jbe 0x14026694e
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + 1]
test r8b, r8b
cmovne rcx, rax
mov qword [rdx], rcx
mov eax, 2
jmp 0x1402669c6
mov ecx, r9d
xor r11d, r11d
lea r10, [0x1403f1f28]
mov rdi, rsi
movsx r9d, byte [rdi]
movsx ebx, byte [r11 + r10]
cmp r9b, bl
jne 0x14026697c
lea r14, [r11 + 1]
add rdi, rcx
cmp r11, 0x11
mov r11, r14
jb 0x14026695e
cmp r9b, bl
jne 0x14026698e
lea rcx, [rcx + rcx*8]
movsx ecx, byte [rsi + rcx*2]
add ecx, 0xffffffc8
jmp 0x140266998
sub r9d, ebx
add r9d, r9d
lea ecx, [r9 + r9*4]
test ecx, ecx
js 0x1402669c6
movabs r9, 0x7fffffffffffffff
lea r10, [r9 + 1]
test r8b, r8b
cmovne r10, r9
mov qword [rdx], r10
mov edx, 3
cmovne eax, edx
test ecx, ecx
mov ecx, 2
cmovne eax, ecx
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1402f5c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, qword [rcx + 0x90]
test r14, r14
je 0x1402f5d89
mov rsi, rcx
mov rdi, qword [rcx + 0x10]
mov r15, qword [rcx]
mov r13, qword [r15 + 0x20]
movsxd rbx, dword [r14 + 0x10]
mov r12d, dword [r14 + 0x14]
mov al, byte [rsi + 0x1f]
test al, al
je 0x1402f5c9e
dec al
mov byte [rsi + 0x1f], al
movzx eax, al
mov ebp, dword [rsi + rax*4 + 0xd0]
jmp 0x1402f5ca6
mov ebp, dword [rsi + 0x38]
inc ebp
mov dword [rsi + 0x38], ebp
movsxd rax, dword [rdi + 0x90]
lea r9d, [rax + 7]
lea r8d, [r12 + 2]
cmp dword [rdi + 0x94], eax
jle 0x1402f5cf3
lea ecx, [rax + 1]
mov dword [rdi + 0x90], ecx
mov rcx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
mov dword [rcx + rax*8], 0x35
mov dword [rcx + rax*8 + 4], r8d
mov dword [rcx + rax*8 + 8], r9d
mov dword [rcx + rax*8 + 0xc], r12d
mov qword [rcx + rax*8 + 0x10], 0
jmp 0x1402f5d05
mov dword [rsp + 0x20], r12d
mov rcx, rdi
mov edx, 0x35
call fcn.140287840
shl rbx, 5
mov rax, qword [r13 + rbx + 0x18]
mov r9, qword [rax + 0x68]
mov r8d, dword [r14 + 0x10]
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSAStartup
mov rcx, rsi
xor edx, edx
call fcn.1402c0040
mov rcx, rdi
mov edx, 5
lea r8, [0x1403f7f30]
call fcn.14024dfe0
test rax, rax
je 0x1402f5d89
lea ecx, [r12 + 1]
mov dword [rax + 4], ecx
mov dword [rax + 0x20], ecx
dec r12d
mov dword [rax + 0x34], r12d
mov dword [rax + 0x3c], ebp
mov dword [rax + 0x50], ebp
mov dword [rax + 0x54], ecx
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x1402f5d7d
movzx eax, byte [rsi + 0x1f]
cmp rax, 7
ja 0x1402f5d7d
lea ecx, [rax + 1]
mov byte [rsi + 0x1f], cl
mov dword [rsi + rax*4 + 0xd0], ebp
mov r14, qword [r14]
test r14, r14
jne 0x1402f5c7a
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1402feb80
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1402febbc
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 0x1402febc6
add rdi, rbx
sub rsi, rbx
jne 0x1402feb9a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x14030b950
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14041ec08]
mov ecx, dword [0x14041b3b4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14030b9b0
mov rsi, qword [0x14041ec00]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140334bf0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14041ec08]
call fcn.1403338a0
cmp dword [0x14041ec08], 0xffffffff
jne 0x14030b98c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1403369a0
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.1403336b8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14041ec50]
mov ecx, dword [0x14041b3b4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14030ba70
lea r8, [0x14041ec20]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140206e10
mov qword [0x14041ec00], rsi
lea rcx, [0x14041ec08]
call fcn.140333938
jmp 0x14030b98c
lea rcx, [0x14041ec50]
call fcn.1403338a0
cmp dword [0x14041ec50], 0xffffffff
jne 0x14030ba41
xorps xmm0, xmm0
movups xmmword [0x14041ec40], xmm0
movups xmmword [0x14041ec30], xmm0
movups xmmword [0x14041ec20], xmm0
lea rcx, [0x14041ec20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14041ec50]
call fcn.140333938
jmp 0x14030ba41
Function at 0x14030bd10
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 [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14030c050
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14041eca0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14030bd6e
jnp 0x14030bdd4
ucomisd xmm0, xmm6
jne 0x14030bd7a
jnp 0x14030bee9
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1403e0580]
subpd xmm1, xmmword [0x1403e0590]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1403e1600]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140334bf0
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 [0x14041ecb0]
mov ecx, dword [0x14041b3b4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14030bef0
mov eax, dword [0x14041ecc0]
mov ecx, dword [0x14041b3b4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14030bf2a
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 [0x14041ecb8]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1403e5260]
ucomisd xmm2, xmm1
ja 0x14030bd6e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14041eca8]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1403e0580]
subpd xmm0, xmmword [0x1403e0590]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14041eca0], xmm0
jmp 0x14030bd6e
xor eax, eax
jmp 0x14030bdac
lea rcx, [0x14041ecb0]
call fcn.1403338a0
cmp dword [0x14041ecb0], 0xffffffff
jne 0x14030be1d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14041eca8], rdx
lea rcx, [0x14041ecb0]
call fcn.140333938
jmp 0x14030be1d
lea rcx, [0x14041ecc0]
call fcn.1403338a0
cmp dword [0x14041ecc0], 0xffffffff
jne 0x14030be42
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14041ecb8], rax
lea rcx, [0x14041ecc0]
call fcn.140333938
jmp 0x14030be42
Function at 0x14030c090
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 0x14030c12a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14030c114
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14030c0f1
mov qword [rsi], rdi
call fcn.140317d40
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x14030c12e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140317d40
mov rcx, qword [rsi]
call fcn.14030bac0
mov qword [rsi], 0
jmp 0x14030c0df
mov byte [rsi + 8], 0
int3
Function at 0x14030c5f0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x1403df810]
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 + 0x38]
mov rcx, r14
mov r9d, 0x4d
call fcn.140317d20
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.14030e910
mov dword [rsp + 0x34], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x14030c682
mov rbx, qword [rbx]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14030c7f6
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.1403336b8
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
nop dword [rax]
mov rcx, rdi
add rcx, rax
je 0x14030c7ff
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x14030c6b0
mov edx, dword [rsp + 0x34]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14030c82b
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14030c82b
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x14030c82b
mov ecx, 0x38
call fcn.1403336b8
mov rbx, rax
movzx r12d, word [r14]
movzx ebp, word [r14 + 2]
lea rax, fcn.14020c150
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 [0x14041a8c8]
jne 0x14030c76b
mov rcx, rdi
call fcn.1403005f0
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1403e5722]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14030c841
mov rdi, qword [rsp + 0x38]
and r14, rdi
cmp r14, qword [0x14041a8c8]
jne 0x14030c7c0
mov rcx, rdi
call fcn.1403005f0
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x60]
call fcn.14030eb40
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140334bf0
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsi], 0
jmp 0x14030c7c7
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, 0x25
call fcn.14036f7d0
mov qword [rsi], 0
test rdi, rdi
je 0x14030c7c7
mov rcx, rdi
call fcn.1403336f4
jmp 0x14030c7c7
int3
Function at 0x140325160
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14041af00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140325194
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140325194
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14032518e

Function at 0x140325db0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x140325ddb
xor ecx, ecx
lea r9, [0x1403eaa60]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140325dc0
ret
Function at 0x140327580
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140235610]
mov qword [rsp + 0x20], rax
lea rcx, [0x140426800]
lea rdx, [0x140235470]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140327614
cmp dword [0x140426808], 0
jne 0x140327610
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14042680c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140327610
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140334bf0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1403275f8
call fcn.14034cb60
int3