joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140081460
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140183a10
sub rsp, rax
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, dword [0x14030e580]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x1400814f8
lea rcx, [rsp + 0x2c]
call fcn.1400d45f0
test al, al
je 0x140081573
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x1400814d6
lea rcx, [rsp + 0x2c]
call fcn.1400d45f0
test al, al
je 0x140081576
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140081576
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x14030e580], ecx
mov ecx, dword [rsp + 0x2c]
je 0x1400814f8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14030e580]
mov dword [rsp + 0x2c], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140081570
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401867a0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14018369c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140186330
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140183a80
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
int3
int3
int3

Function at 0x140081650
Capabilities:
Get thread local storage value

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

Function at 0x140081690
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14030e580]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x1400816b8
test rdi, rdi
je 0x1400816d1
call fcn.140081460
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140084ed0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x1401caed0]
mov qword [rcx], rax
add rcx, 8
call fcn.140018190
lea rcx, [rsi + 0x10]
call fcn.140018190
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.140018190
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x150], 0
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [reloc.WS2_32.dll_accept]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.1400d6ca0
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], 0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.1400816e0
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400816e0
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.1400816e0
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], 0x3f800000
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call sym.nacl64.exe__ovly_debug_event
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.1400936c0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400937b0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.1400706e0
mov rcx, rsi
call fcn.140085170
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14008511a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.140082cc0
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.140082e30
mov qword [0x140344630], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140183a80
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140090b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ba
call fcn.14006f2e0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140080100
cmp byte [rsi + 0x17], 0
jns 0x140090be6
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140080230
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140183a80
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x140090c20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x60]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x140090c60
xor esi, esi
jmp 0x140090cc5
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x60], 0
je 0x140090c7e
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x140090c70
jmp 0x140090c80
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14006d160
lea rbx, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.14006e350
mov rcx, rsi
mov rdx, rbx
call fcn.14006d270
mov rcx, rbx
call fcn.14006d240
mov rcx, rdi
call fcn.14006d240
mov sil, 1
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140183a80
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret

Function at 0x140090cf0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140090d60
cmp word [rsp + 0x60], 0
je 0x140090d60
mov qword [rsp + 0x50], rdi
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x140090d40
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14006d160
jmp 0x140090db4
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.14006d110
mov rcx, rdi
call fcn.140090c20
test al, al
je 0x140090d88
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14006d140
jmp 0x140090daa
lea rax, [0x1401cb1b4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 3
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14006d160
lea rcx, [rsp + 0x38]
call fcn.14006d240
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140183a80
mov rax, rsi
add rsp, 0x278
pop rdi
pop rsi
ret
Function at 0x140090de0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdx, [0x1401cb1bc]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov r9d, 0x376
call fcn.14006f2e0
lea rcx, [rsp + 0x68]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.140080100
mov word [rsp + 0x80], 0
lea rbx, [rsp + 0x80]
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x140090ed8
mov qword [rsp + 0x28], rbx
cmp word [rsp + 0x80], 0
je 0x140090e91
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp word [rsp + rax*2 + 0x82], 0
lea rax, [rax + 1]
jne 0x140090e80
jmp 0x140090e93
xor eax, eax
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14006d160
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.14006e350
mov rcx, rsi
mov rdx, rbx
call fcn.14006d270
mov rcx, rbx
call fcn.14006d240
mov rcx, rdi
call fcn.14006d240
mov dil, 1
lea rcx, [rsp + 0x68]
call fcn.140080230
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140183a80
mov eax, edi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret

Function at 0x140090f00
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, [0x1401cb1d1]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x386
call fcn.14006f2e0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140080100
cmp byte [rsi + 0x17], 0
jns 0x140090f56
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rdi
call fcn.140080230
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140183a80
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140093850
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14009387f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140093882
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400938a3
test bl, bl
je 0x1400938f2
cmp byte [rdi + 8], 0
je 0x1400938e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400938e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x1400938ba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400938bd
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400938d3
xor edi, edi
jmp 0x14009396e
cmp byte [rdi + 8], 0
je 0x140093926
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140093929
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
je 0x140093903
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140093906
mov rcx, qword [rdi]
call fcn.140093520
mov rcx, qword [0x140342858]
mov dil, 1
test rcx, rcx
je 0x14009396e
mov edx, eax
mov r8d, esi
call fcn.14006c090
jmp 0x14009396e
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14009393c
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
je 0x14009394d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140093950
mov rcx, qword [rdi]
call fcn.140093520
mov rcx, qword [0x140342858]
test rcx, rcx
je 0x14009396b
mov edx, eax
mov r8d, esi
call fcn.14006c090
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140183a80
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400942f0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov r15, rcx
xor edi, edi
test rcx, rcx
setne dil
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl edi, 0x10
mov ecx, reloc.WS2_32.dll_recv
call fcn.14018360c
mov r14, rax
mov qword [rax], rsi
test rbx, rbx
setne byte [rax + 8]
mov dword [rax + 0xc], ebp
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], 0
lea r8, [0x140094660]
xor ecx, ecx
mov rdx, r15
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14009436e
test rbx, rbx
je 0x14009439b
mov qword [rbx], rax
jmp 0x1400943a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x140094387
mov ebx, eax
cmp eax, 0x5af
je 0x140094387
cmp ebx, 0xe
jne 0x1400943c3
mov rcx, r15
call fcn.140093470
mov rcx, r14
call fcn.140183668
xor esi, esi
jmp 0x1400943a7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov sil, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140183a80
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov eax, dword [0x1403446a0]
mov ecx, dword [0x1403488a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x14009443b
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, ebx
call fcn.14007af80
movzx eax, byte [rsp + 0x4f]
test al, al
cmovs rsi, qword [rsp + 0x38]
cmovs rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rax
mov rcx, qword [0x140344698]
lea rdx, [rsp + 0x50]
call fcn.1400e0750
cmp byte [rsp + 0x4f], 0
jns 0x14009438f
mov rcx, qword [rsp + 0x38]
call fcn.140183668
jmp 0x14009438f
lea rcx, [0x1403446a0]
call fcn.140183810
cmp dword [0x1403446a0], 0xffffffff
jne 0x1400943e4
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.1400e0730
mov qword [0x140344698], rax
lea rcx, [0x1403446a0]
call fcn.1401838a8
jmp 0x1400943e4
xor r8d, r8d
mov r9d, 1
jmp 0x1400942f0

Function at 0x140094b80
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140094bfb
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140094bfb
cmp dword [rsp + 0x38], 4
jne 0x140094bfb
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140183a80
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x140094c20
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rsi
push rdi
mov eax, 0x1048
call fcn.140183a10
sub rsp, rax
mov rsi, r8
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x840]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140094cda
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x140094c9f
mov edi, 0x3f4
cmp eax, 1
jne 0x140094cda
lea rdx, [rsp + 0x840]
jmp 0x140094cd0
lea rcx, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x140094cda
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400662b4
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140183a80
mov eax, edi
add rsp, 0x1048
pop rdi
pop rsi
ret

Function at 0x1400951f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov eax, dword [0x1403446b8]
mov ecx, dword [0x1403488a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140095250
lea rsi, [0x1403446b0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140183a80
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x1403446b8]
call fcn.140183810
cmp dword [0x1403446b8], 0xffffffff
jne 0x14009522c
lea rcx, [rsp + 0x64]
mov r8d, 0x118
xor edx, edx
call fcn.1401867a0
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14018360c
mov rsi, rax
mov edi, dword [rsp + 0x2c]
mov eax, dword [0x1403446f0]
mov ecx, dword [0x1403488a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140095311
lea r8, [0x1403446c0]
lea rdx, [rsp + 0x60]
mov rcx, rsi
mov r9d, edi
call fcn.1400954c0
mov qword [0x1403446b0], rsi
lea rcx, [0x1403446b8]
call fcn.1401838a8
jmp 0x14009522c
lea rcx, [0x1403446f0]
call fcn.140183810
cmp dword [0x1403446f0], 0xffffffff
jne 0x1400952e2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movups xmmword [0x1403446e0], xmm2
movups xmmword [0x1403446d0], xmm1
movups xmmword [0x1403446c0], xmm0
lea rcx, [0x1403446f0]
call fcn.1401838a8
jmp 0x1400952e2
Function at 0x1400953a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1403446f0]
mov ecx, dword [0x1403488a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140095423
movzx eax, word [0x1403446c0]
cmp rax, 0xc
ja case.0x1400953f2.1
xor esi, esi
lea rcx, [0x14009548c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov esi, 2
jmp case.0x1400953f2.0
mov esi, 4
jmp case.0x1400953f2.0
mov esi, 1
jmp case.0x1400953f2.0
mov esi, 3
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140183a80
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1403446f0]
call fcn.140183810
cmp dword [0x1403446f0], 0xffffffff
jne 0x1400953d5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movups xmmword [0x1403446e0], xmm2
movups xmmword [0x1403446d0], xmm1
movups xmmword [0x1403446c0], xmm0
lea rcx, [0x1403446f0]
call fcn.1401838a8
jmp 0x1400953d5

Function at 0x140096370
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov r14, r9
mov r15, r8
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
cmp dword [rcx + 8], 0
setne al
mov ebp, edx
sar ebp, 0x1f
lea r12d, [rax + rax]
add r12d, 4
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r8
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [r14], rax
test rax, rax
jne 0x140096404
call fcn.1400e1780
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r15
mov edx, r12d
mov r8d, ebp
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [r14], rax
test rax, rax
jne 0x140096404
call fcn.1400e1780
mov rbx, qword [r14]
test rbx, rbx
je 0x140096458
mov rsi, qword [rsp + 0xc0]
lea rdx, [rsp + 0x28]
mov r8d, gethostbyname
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rsp + 0x40]
sub rcx, rbx
add rcx, qword [rsp + 0x30]
test rax, rax
cmove rcx, rax
mov qword [rsi], rcx
mov sil, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140183a80
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14009643a

Function at 0x140096b70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x140096bb2
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
nop word [rax + rax]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140096bbc
add rdi, rbx
sub rsi, rbx
jne 0x140096b90
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140096be0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x28
call fcn.140068910
lea rdx, str.enable_low_end_device_mode
mov rcx, rax
call fcn.140068e10
test al, al
je 0x14007f3a6
mov eax, 0x20000000
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x140096be0
push rsi
sub rsp, 0x70
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x7fffffffffffffff
cmp rcx, rdx
cmovb rdx, rcx
xor esi, esi
test eax, eax
cmovne rsi, rdx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140183a80
mov rax, rsi
add rsp, 0x70
pop rsi
ret
Function at 0x140097550
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140344740]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400976bf
jp 0x1400976bf
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140344750]
mov ecx, dword [0x1403488a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400976de
mov eax, dword [0x140344760]
mov ecx, dword [0x1403488a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140097718
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rsi, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rsi, qword [0x140344758]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x1401bb3e0]
subpd xmm1, xmmword [0x1401bb3f0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401cb658]
ucomisd xmm1, xmm0
ja 0x1400976bf
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140344748]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1401bb3e0]
subpd xmm1, xmmword [0x1401bb3f0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x140344740], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140183a80
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140344750]
call fcn.140183810
cmp dword [0x140344750], 0xffffffff
jne 0x1400975d1
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140344748], rdx
lea rcx, [0x140344750]
call fcn.1401838a8
jmp 0x1400975d1
lea rcx, [0x140344760]
call fcn.140183810
cmp dword [0x140344760], 0xffffffff
jne 0x1400975f6
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x140344758], rax
lea rcx, [0x140344760]
call fcn.1401838a8
jmp 0x1400975f6