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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4c
call fcn.140071770
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400717a0
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rdi + 0x17], 0
jns 0x14006a722
mov rdi, qword [rdi]
lea rdx, [rsp + 0x2c]
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14006a82f
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14008b4ac
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r14
mov qword [rsp + 0x40], rax
xor ecx, ecx
nop word cs:[rax + rax]
mov rdx, rbx
add rdx, rcx
je 0x14006a838
mov byte [rdx], 0
inc rcx
cmp r14, rcx
jne 0x14006a760
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x2c]
mov rcx, rdi
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14006a864
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14006a864
mov r14, qword [rsp + 0x58]
test r14, r14
je 0x14006a864
mov ecx, 0x38
call fcn.14008b4ac
mov rdi, rax
movzx r8d, word [r14]
movzx r9d, word [r14 + 2]
lea rbx, [rsp + 0x30]
mov rcx, rax
mov rdx, rbx
call fcn.14002ebc0
mov qword [rsi], rdi
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14006a86d
lea rcx, [rsp + 0x60]
call fcn.140071800
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14008c940
mov rax, rsi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov qword [rsi], 0
jmp 0x14006a804
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.1400bf450
mov qword [rsi], 0
jmp 0x14006a7ff
mov rcx, rbx
call fcn.14008b4e8
jmp 0x14006a804

Function at 0x14006aa60
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 0x14006aaa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006aac1
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006aa9f
mov qword [rsi], rdi
call fcn.140071790
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 0x14006aad7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140071790
mov rcx, qword [rsi]
call fcn.140072ac0
mov qword [rsi], 0
jmp 0x14006aa8d
int3
Function at 0x14006ab10
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 0x14006abaa
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006ab94
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006ab71
mov qword [rsi], rdi
call fcn.140071790
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 0x14006abae
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140071790
mov rcx, qword [rsi]
call fcn.140072ac0
mov qword [rsi], 0
jmp 0x14006ab5f
mov byte [rsi + 8], 1
int3
Function at 0x140072580
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 [0x140127038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140072b00
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14013a568]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400725de
jnp 0x140072644
ucomisd xmm0, xmm6
jne 0x1400725ea
jnp 0x140072759
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x14010ee40]
subpd xmm1, xmmword [0x14010ee50]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401114b8]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008c940
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 [0x14013a578]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140072760
mov eax, dword [0x14013a588]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007279a
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 [0x14013a580]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401114b0]
ucomisd xmm2, xmm1
ja 0x1400725de
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14013a570]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x14010ee40]
subpd xmm0, xmmword [0x14010ee50]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14013a568], xmm0
jmp 0x1400725de
xor eax, eax
jmp 0x14007261c
lea rcx, [0x14013a578]
call fcn.14008b600
cmp dword [0x14013a578], 0xffffffff
jne 0x14007268d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14013a570], rdx
lea rcx, [0x14013a578]
call fcn.14008b698
jmp 0x14007268d
lea rcx, [0x14013a588]
call fcn.14008b600
cmp dword [0x14013a588], 0xffffffff
jne 0x1400726b2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14013a580], rax
lea rcx, [0x14013a588]
call fcn.14008b698
jmp 0x1400726b2
Function at 0x140078050
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14013e640]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400780b0
lea rsi, [0x14013e638]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008c940
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14013e640]
call fcn.14008b600
cmp dword [0x14013e640], 0xffffffff
jne 0x14007808c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14008ea70
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.14008b4ac
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14013e688]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140078170
lea r8, [0x14013e658]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.140049760
mov qword [0x14013e638], rsi
lea rcx, [0x14013e640]
call fcn.14008b698
jmp 0x14007808c
lea rcx, [0x14013e688]
call fcn.14008b600
cmp dword [0x14013e688], 0xffffffff
jne 0x140078141
xorps xmm0, xmm0
movups xmmword [0x14013e678], xmm0
movups xmmword [0x14013e668], xmm0
movups xmmword [0x14013e658], xmm0
lea rcx, [0x14013e658]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013e688]
call fcn.14008b698
jmp 0x140078141
Function at 0x1400781c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14013e640]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140078220
mov rsi, qword [0x14013e638]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008c940
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14013e640]
call fcn.14008b600
cmp dword [0x14013e640], 0xffffffff
jne 0x1400781fc
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14008ea70
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.14008b4ac
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14013e688]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400782e0
lea r8, [0x14013e658]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.140049760
mov qword [0x14013e638], rsi
lea rcx, [0x14013e640]
call fcn.14008b698
jmp 0x1400781fc
lea rcx, [0x14013e688]
call fcn.14008b600
cmp dword [0x14013e688], 0xffffffff
jne 0x1400782b1
xorps xmm0, xmm0
movups xmmword [0x14013e678], xmm0
movups xmmword [0x14013e668], xmm0
movups xmmword [0x14013e658], xmm0
lea rcx, [0x14013e658]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013e688]
call fcn.14008b698
jmp 0x1400782b1

Function at 0x14007c160
Capabilities:
Get thread local storage value

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

Function at 0x14007c1a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140136de4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14007c1de
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 0x14007c1d7
call fcn.14004ca90
jmp 0x14007c1be

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x14007c6fb
xor ecx, ecx
lea r9, [0x140115210]
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 0x14007c6e0
ret
Function at 0x140081400
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140140fa0]
cmp rsi, 1
jbe 0x140081423
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14007c1a0
lea rcx, [0x140140fa0]
call fcn.14004c840
test al, al
je 0x140081468
xorps xmm0, xmm0
movups xmmword [0x140140fa8], xmm0
lea rdi, [0x140140fa0]
lea rsi, [0x140140fa8]
mov rcx, rsi
xor edx, edx
call fcn.14004cca0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14004c900
jmp 0x140081413
mov rsi, qword [0x140140fa0]
jmp 0x140081413

Function at 0x140086ca0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401429d8]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140086cd5
lea rcx, [0x1401429c8]
add rsp, 0x28
jmp fcn.14007c160
lea rcx, [0x1401429d8]
call fcn.14008b600
cmp dword [0x1401429d8], 0xffffffff
jne 0x140086cc5
xorps xmm0, xmm0
movups xmmword [0x1401429c8], xmm0
lea rcx, [0x1401429c8]
xor edx, edx
call fcn.14004cca0
lea rcx, [0x1401429d8]
call fcn.14008b698
jmp 0x140086cc5
Function at 0x140086d10
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 0x140086e63
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 0x140086e5c
cmp r14, rax
ja 0x140086e68
lea rcx, [r14*8]
call fcn.14008b4ac
shl rbx, 3
add rbx, rax
je 0x140086e6d
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 0x140086e31
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 0x140086dbb
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 0x140086e3c
add r14, 0xfffffffffffffff8
test r14, r14
je 0x140086e99
mov rcx, qword [r14]
mov rax, qword [0x140129720]
and rax, rcx
cmp rax, qword [0x140129708]
je 0x140086e2a
mov qword [r14], 0
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
jne 0x140086df6
jmp 0x140086e3c
call fcn.14006be80
jmp 0x140086e15
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
test rdi, rdi
jne 0x140086e4b
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.14008b4e8
xor eax, eax
jmp 0x140086d8d
call fcn.1400a3d40
call fcn.1400bec20
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.1400bf450
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.1400bf450
int3

Function at 0x140087ac0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14005cda0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140142a30]
lea rdx, [0x14005cc20]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140087b54
cmp dword [0x140142a38], 0
jne 0x140087b50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140142a3c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140087b50
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008c940
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140087b38
call fcn.1400a3d40
int3
Function at 0x14008ad10
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140142ae8]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008ad76
lea rcx, [0x140142ad8]
xor edx, edx
call fcn.14007c1a0
mov eax, dword [0x140142b00]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14008adb1
lea rcx, [0x140142af0]
xor edx, edx
add rsp, 0x28
jmp fcn.14007c1a0
lea rcx, [0x140142ae8]
call fcn.14008b600
cmp dword [0x140142ae8], 0xffffffff
jne 0x14008ad35
xorps xmm0, xmm0
movups xmmword [0x140142ad8], xmm0
lea rcx, [0x140142ad8]
xor edx, edx
call fcn.14004cca0
lea rcx, [0x140142ae8]
call fcn.14008b698
jmp 0x14008ad35
lea rcx, [0x140142b00]
call fcn.14008b600
cmp dword [0x140142b00], 0xffffffff
jne 0x14008ad64
xorps xmm0, xmm0
movups xmmword [0x140142af0], xmm0
lea rcx, [0x140142af0]
xor edx, edx
call fcn.14004cca0
lea rcx, [0x140142b00]
call fcn.14008b698
jmp 0x14008ad64

Function at 0x14008af00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140142b08]
cmp rsi, 1
jbe 0x14008af23
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14007c1a0
lea rcx, [0x140142b08]
call fcn.14004c840
test al, al
je 0x14008af68
xorps xmm0, xmm0
movups xmmword [0x140142b10], xmm0
lea rdi, [0x140142b08]
lea rsi, [0x140142b10]
mov rcx, rsi
xor edx, edx
call fcn.14004cca0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14004c900
jmp 0x14008af13
mov rsi, qword [0x140142b08]
jmp 0x14008af13

Function at 0x14008ce60
Capabilities:
Access peb ldr_data

Disassembly:
push rcx
push r11
push r13
sub rcx, rcx
add rcx, 0x60
mov r11, qword gs:[rcx]
push r10
mov rcx, r11
add rcx, 0x10
mov r10, qword [rcx]
add r11, 0x18
mov r13, qword [r11]
mov rcx, r13
add rcx, 0x10
mov r11, qword [rcx]
push r12
mov r13, r11
add r13, 0x30
mov rcx, qword [r13]
cmp rcx, 0
je 0x14008ced3
mov r13, qword [r11 + 0x60]
mov r12, qword [r13]
and r12d, 0xdf00df
mov r13, qword [r13 + 0xc]
shl r13d, 8
add r13d, r12d
shl r13d, 2
sub r13d, 0xc914cd2c
cmp r13, 0
je 0x14008cedb
mov r13, qword [r11]
mov r11, r13
jmp 0x14008ce8f
mov r11d, dword [rcx + 0x3c]
add r11, rcx
add r11, 0x10
mov r13d, dword [r11 + 0x78]
add r13, rcx
push rbx
mov r12d, dword [r13 + 0x20]
add r12, rcx
mov ebx, dword [r12]
add rbx, rcx
mov r11d, dword [rbx + 0xb]
sub r11d, 0x746365
test r11d, r11d
jne 0x14008cf11
jmp 0x14008cf1f
inc r12
inc r12
inc r12
inc r12
jmp 0x14008cef5
mov r11d, dword [r13 + 0x20]
sub r12, r11
sub r12, rcx
loope 0x14008cf6b
shr esp, 1
mov r11d, dword [r13 + 0x24]
add r11, r12
add r11, rcx
mov r12d, dword [r11]
mov esp, dword [rbx]
mov r11d, dword [r13 + 0x1c]
and r12d, 0xffff
in al, 0xff
inc dword [rax]
invalid
shl r12d, 2
add r11, rcx
add r11, r12
mov r12d, dword [r11]
mov r11d, 0x1bb000
add r12, rcx
push rcx

Function at 0x14009ecc4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14009ee18
Function at 0x1400a1e60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x1400ff968]
mov rbp, rcx
call fcn.1400b3ea4
xor edi, edi
test rax, rax
je 0x1400a1f46
mov ebx, edi
call fcn.1400a1af8
mov r14d, dword [rax]
call fcn.1400a1af8
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400a66d8
mov rsi, rax
test rax, rax
je 0x1400a1ed7
call fcn.1400a1af8
mov dword [rax], r14d
jmp 0x1400a1f01
call fcn.1400a1af8
cmp dword [rax], 0x22
jne 0x1400a1f3e
call fcn.1400a1af8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400a66d8
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400a1f3e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400a1f05
cmp rax, 3
je 0x1400a1f20
mov rcx, rsi
call fcn.1400a1dbc
test al, al
je 0x1400a1f31
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400a1f31
mov dil, 1
mov rcx, rbx
call fcn.14006adb0
mov al, dil
jmp 0x1400a1f48
mov rcx, rbx
call fcn.14006adb0
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14008c940
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a39dc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140137d80]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400a3a3a
cmp word [rdx], r12w
jne 0x1400a3a3a
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400a3a40
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400a3b9b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400a3b76
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400a3a79
mov rcx, r9
jmp 0x1400a3a9c
cmp r9, rdx
jae 0x1400a3ab3
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400a3a5d
jmp 0x1400a3b9b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a3b70
cmp dword [rsp + 0x80], edi
je 0x1400a3b70
mov rdx, r14
lea r11, [0x140137d80]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400a3b49
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400a3b1c
mov word [rbx], r12w
jmp 0x1400a3b97
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400a3b25
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400a3b97
cmp word [rsp + 0x70], r12w
jne 0x1400a3b56
cmp rbx, rsi
je 0x1400a3b16
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400b2a90
cmp word [rsp + 0x70], r12w
je 0x1400a3b9b
mov word [rbx], r13w
jmp 0x1400a3b97
lea r11, [0x140137d80]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400a3b93
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400a3b9b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret