joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400029b0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400029d9
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
repz ret

Function at 0x140002a40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140002a9f

Function at 0x140002a90
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.140002a90
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

Function at 0x140002b20
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140002b7f
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002b70
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
repz ret
Function at 0x140002c00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140002c5a

Function at 0x140002c7a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002c50
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret

Function at 0x140002d10
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140002d6a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140002d60
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret
Function at 0x14000f8c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14000f9e0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14000f920
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14000f920
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14000f920
Function at 0x14003b6b0
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 [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14003b6df
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b6e2
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14003b730
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x14003b705
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b708
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14003b73f
xor esi, esi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x14003b784
cmp byte [rdi + 8], 0
jne 0x14003b770
mov rcx, qword [rdi]
jmp 0x14003b779
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 8], 0
jne 0x14003b752
mov rcx, qword [rdi]
jmp 0x14003b75b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14003b784
mov esi, dword [rsp + 0x24]
jmp 0x14003b784
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov edx, esi
call fcn.140116260
mov sil, 1
jmp 0x14003b719
Function at 0x140041220
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14004126c
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 0x140041277
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14004125a
mov qword [rdi], rsi
call fcn.1400412c0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400412c0
mov r14, qword [rdi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400412a3
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rdi], 0
jmp 0x140041248
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x14004128b

Function at 0x1400415e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403546b0]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140041640
mov rsi, qword [0x1403546a8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140171860
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403546b0]
call fcn.14016f8b4
cmp dword [0x1403546b0], 0xffffffff
jne 0x14004161c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140173760
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, 0x88
call fcn.14016ecd4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1403546f8]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140041700
lea r8, [0x1403546c8]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400eaff0
mov qword [0x1403546a8], rsi
lea rcx, [0x1403546b0]
call fcn.14016ef8c
jmp 0x14004161c
lea rcx, [0x1403546f8]
call fcn.14016f8b4
cmp dword [0x1403546f8], 0xffffffff
jne 0x1400416d1
xorps xmm0, xmm0
movups xmmword [0x1403546e8], xmm0
movups xmmword [0x1403546d8], xmm0
movups xmmword [0x1403546c8], xmm0
lea rcx, [0x1403546c8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403546f8]
call fcn.14016ef8c
jmp 0x1400416d1
Function at 0x140041af0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.140171800
sub rsp, rax
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov qword [rcx], 0xffffffffffffffff
mov dword [rcx + 8], 0
mov ecx, dword [0x1403411e0]
cmp ecx, 0xffffffff
je 0x140041c08
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x140041c08
mov eax, dword [0x1403544a8]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140041c9c
mov rbx, qword [0x1403544a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140041ce2
mov rax, qword [0x140352c90]
inc rax
xor ecx, ecx
lea rdx, [0x140352ca0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140041cef
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [0x140352c90], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x140041d04
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140171860
mov rax, rsi
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebx, dword [0x1403411e0]
cmp ebx, 0xffffffff
jne 0x140041c37
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140041d0a
mov ebx, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x1403411e0], ebx
jne 0x140041d0d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140041d07
lea r14, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call fcn.140173760
lea rdx, [rsp + 0x23]
mov r12, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, ebx
call r12
mov ecx, 0x1000
call fcn.14016f248
mov r15, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, r14
call fcn.1401730b0
or r15, 3
mov ecx, ebx
mov rdx, r15
call r12
jmp 0x140041b49
lea rcx, [0x1403544a8]
call fcn.14016f8b4
cmp dword [0x1403544a8], 0xffffffff
jne 0x140041b6e
mov ecx, 8
call fcn.14016ecd4
mov rbx, rax
mov rcx, rax
call fcn.140075520
mov qword [0x1403544a0], rbx
lea rcx, [0x1403544a8]
call fcn.14016ef8c
jmp 0x140041b6e
mov rcx, rbx
call fcn.140047ff0
jmp 0x140041b86
inc rcx
cmp rcx, 0x100
jne 0x140041b99
jmp 0x140041bce
int3
int3
int3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ebx, dword [0x1403411e0]
jmp 0x140041c37
Function at 0x140046c50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140046c7c
call fcn.1400412c0
cmp qword [rsi], r15
je 0x140046cab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140046cd2
cmp r12, 2
jb 0x140046ca3
mov qword [rsi], r15
call fcn.1400412c0
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 0x140046cfe
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400412c0
mov r14, qword [rsi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x140046d2a
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi], 0
jmp 0x140046c95
call fcn.1400412c0
mov rbx, qword [rdi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x140046d38
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x140211850.0]
mov qword [rdi], 0
jmp 0x140046cc1
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x140046ce6
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x140046d12
Function at 0x14004f290
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
mov dword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov eax, dword [0x14035c0b0]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004f398
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004f391
mov rcx, qword [0x14035c0a0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035c0a8]
jne 0x14004f391
mov rbx, qword [rax + rcx]
mov rcx, qword [rsi]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x14004f3da
mov rax, qword [0x1403428e0]
and rax, rbx
cmp rax, qword [0x1403428c8]
je 0x14004f3e4
mov qword [rsi], rbx
mov dword [rsi + 8], 0
mov qword [rsi + 0x10], rdi
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004f3f1
mov rcx, qword [0x14035c0a0]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14035c0a8]
mov rdx, qword [0x14035c0a0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x14004f30d
lea rcx, [0x14035c0b0]
call fcn.14016f8b4
cmp dword [0x14035c0b0], 0xffffffff
jne 0x14004f2d8
xorps xmm0, xmm0
movups xmmword [0x14035c0a0], xmm0
lea rcx, [0x14035c0a0]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035c0b0]
call fcn.14016ef8c
jmp 0x14004f2d8
call fcn.1401571d0
jmp 0x14004f327
mov rcx, rbx
call fcn.140156f20
jmp 0x14004f33e
test rsi, rsi
je 0x14004f386
call fcn.140001120
jmp 0x14004f362
Function at 0x140064430
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [0x14035aaf8]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006450a
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140064500
mov rcx, qword [0x14035aae8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035aaf0]
jne 0x140064500
mov rdi, qword [rax + rcx]
test rdi, rdi
je 0x140064500
cmp byte [rsi], 0
je 0x140064500
mov rax, qword [rdi]
test rax, rax
js 0x14006454c
cmp dword [rdi + 0x14], 1
movabs rbx, 0x4000000000000000
jne 0x14006455d
cmp qword [rdi + 8], 0
jne 0x140064596
movabs rax, 0xbfffffffffffffff
lock and qword [rdi], rax
mov rsi, qword [rsi + 8]
cmp qword [rdi + 8], 0
jne 0x1400645ba
mov rax, qword [rdi]
and rax, rbx
movabs rcx, 0xffffffffffffff
and rsi, rcx
or rsi, rax
mov qword [rdi], rsi
dec dword [rdi + 0x14]
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14035aaf8]
call fcn.14016f8b4
cmp dword [0x14035aaf8], 0xffffffff
jne 0x140064461
xorps xmm0, xmm0
movups xmmword [0x14035aae8], xmm0
lea rcx, [0x14035aae8]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035aaf8]
call fcn.14016ef8c
jmp 0x140064461
mov rcx, qword [0x14035aae0]
call fcn.140225ee0
jmp 0x1400644a8
cmp byte [rsi + 0x10], 0
je 0x1400644d5
cmp qword [rdi + 8], 0
je 0x14006458d
lea rcx, [rdi + 8]
mov r14, qword [rdi]
call fcn.14003b950
movabs rcx, 0xff00000000000000
and rcx, r14
or rcx, rax
mov qword [rdi], rcx
lock or qword [rdi], rbx
jmp 0x1400644d5
lea rcx, [rdi + 8]
mov r14, qword [rdi]
call fcn.14003b950
movabs rcx, 0xff00000000000000
and rcx, r14
or rcx, rax
mov qword [rdi], rcx
jmp 0x1400644c7
lea rcx, [rdi + 8]
mov r14, qword [rdi]
call fcn.14003b950
movabs rcx, 0xff00000000000000
and rcx, r14
or rcx, rax
mov qword [rdi], rcx
jmp 0x1400644e4
Function at 0x140066d00
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 [rcx]
mov qword [rcx], 0
cmp r14, 0xffffffffffffffff
je 0x140066d2f
test r14, r14
je 0x140066dda
call fcn.1400412c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp r14, 0xffffffffffffffff
je 0x140066de2
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
je 0x140066dea
cmp r14, 0xffffffffffffffff
je 0x140066def
call fcn.1400412c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rdi], 1
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140066d90
call fcn.1400412c0
cmp qword [rdi + 8], r14
je 0x140066dc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x140066dff
cmp r15, 2
jb 0x140066dba
mov qword [rdi + 8], r14
call fcn.1400412c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140066e17
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140066d4e
xor r14d, r14d
jmp 0x140066d46
xor r14d, r14d
jmp 0x140066d7b
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140066d73
call fcn.1400412c0
mov rcx, qword [rdi + 8]
call fcn.140071ab0
mov qword [rdi + 8], 0
jmp 0x140066dab
call fcn.1400412c0
mov rcx, qword [rsi]
call fcn.140071ab0
mov qword [rsi], 0
jmp 0x140066dce
Function at 0x1400683d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400683fc
call fcn.1400412c0
mov qword [rsi], 0
test r15, r15
je 0x140068432
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140068485
cmp r12, 2
jb 0x14006842a
mov qword [rsi], r15
call fcn.1400412c0
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 0x140068459
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400412c0
mov rbx, qword [rdi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400684b4
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x140211850.0]
mov qword [rdi], 0
jmp 0x140068448
call fcn.1400412c0
mov r14, qword [rsi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x1400684c2
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi], 0
jmp 0x14006841c
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x14006846d
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x140068499

Function at 0x140069ac0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
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 0x140069b48
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140069b4f
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140069b23
mov qword [rsi], rdi
call fcn.1400412c0
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 0x140069b4c
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov byte [rsi + 8], 1
int3
call fcn.1400412c0
mov r14, qword [rsi]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x140069b7b
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rsi], 0
jmp 0x140069b11
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x140069b63