joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bea40
Capabilities:
Encode data using xor
Encrypt data using dpapi
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea r9, [rsp + 0x60]
mov dword [rsp + 0x30], esi
mov r8, rax
mov dword [rsp + 0x28], esi
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400beb95
mov rcx, qword [rsp + 0x60]
lea edx, [rsi + 4]
xor r9d, r9d
mov qword [rsp + 0x20], 0x61c
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x1400beb74
mov edx, 0x610
lea ecx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400beb69
lea rdx, [rdi + 0xc]
mov r8d, 0x610
mov rcx, rax
call fcn.1400cac20
mov edx, 0x610
lea r8d, [rsi + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SystemFunction041]
test eax, eax
jne 0x1400beb52
mov r9d, dword [rbx + 0x400]
lea r10, [rbx + 0x404]
test r9d, r9d
je 0x1400beb2b
mov rdx, r10
mov r8d, r9d
mov cl, byte [rdx]
mov al, cl
xor al, sil
mov sil, cl
xor al, 0x43
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x1400beb0d
mov r9d, dword [rbx + 0x400]
mov eax, dword [rbx + 0x604]
lea r8, [rbx + 0x200]
mov dword [rsp + 0x28], eax
lea rcx, str._Username__:__s_n_Domain____:__s_n_Password__:__.s_n_flags_type:_0x_08x_n
mov rdx, rbx
mov qword [rsp + 0x20], r10
call fcn.14000d9f0
jmp 0x1400beb60
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___RtlDecryptMemory:_0x_08x_n
call fcn.14000d9f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1400beb88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___MapViewOfFile__0x_08x__n
call fcn.14000d9f0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400beba9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___DuplicateHandle__0x_08x__n
call fcn.14000d9f0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c2164
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea rax, [rdx + r9]
xor edi, edi
mov r9, rax
mov rbx, r8
sub r9, rdx
mov r10, rdx
cmp rdx, rax
mov r11, rcx
cmova r9, rdi
test r9, r9
je 0x1400c21e4
sub r10, rbx
movzx edx, byte [r11 + 0x100]
inc rdi
movzx r8d, byte [rdx + r11]
add byte [r11 + 0x101], r8b
movzx eax, byte [r11 + 0x101]
mov cl, byte [rax + r11]
mov byte [rdx + r11], cl
add rcx, r8
movzx eax, byte [r11 + 0x101]
mov byte [rax + r11], r8b
movzx eax, cl
mov cl, byte [rax + r11]
xor cl, byte [r10 + rbx]
inc byte [r11 + 0x100]
mov byte [rbx], cl
inc rbx
cmp rdi, r9
jb 0x1400c2192
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400c5670
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
and qword [rax - 0x38], rbp
mov edx, 0x80000000
and dword [rax - 0x40], ebp
lea r8d, [rbp + 3]
mov dword [rax - 0x48], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400c57b4
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400c5795
mov r12d, 0x10000000
lea ecx, [rbp + 0x40]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400c57a9
mov rax, qword [rsp + 0x80]
xor ecx, ecx
test rax, rax
jle 0x1400c578a
lea r14, [rcx + 0x10000000]
mov rbx, rax
sub rbx, rcx
mov rdx, rcx
cmp r14, rax
mov rcx, rsi
cmovl rbx, r12
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400c5762
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c5753
mov edx, dword [rsp + 0x78]
mov rcx, rdi
call fcn.1400c55d4
add ebp, eax
jmp 0x1400c5776
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___ReadFile__0x_08x__n
jmp 0x1400c576f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___SetFilePointerEx__0x_08x__n
mov edx, eax
call fcn.14000d9f0
mov rax, qword [rsp + 0x80]
mov rcx, r14
cmp r14, rax
jl 0x1400c56fb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c57a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___GetFileSizeEx__0x_08x__n
call fcn.14000d9f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c57c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___CreateFile__0x_08x__n
call fcn.14000d9f0
mov rbx, qword [rsp + 0x70]
mov eax, ebp
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140108394
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14010805c
Function at 0x140114324
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401140f6
call fcn.14010c3c8
mov dword [rax], SQLAllocHandle
call fcn.14010b0b0
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401140d8
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401140d8
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x140114128
lock or dword [rax + 0x14], 0x10
jmp 0x1401140d8
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140114145
mov rcx, qword [rbp + 0x20]
call fcn.1401205e0
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14011415a
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x140114160
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400f14e8
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140120ecc
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1401141b3
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1401140d8
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14011421f
mov rcx, qword [rbp + 0x20]
call fcn.1400f14e8
cmp eax, 0xffffffff
je 0x140114206
mov rcx, qword [rbp + 0x20]
call fcn.1400f14e8
cmp eax, 0xfffffffe
je 0x140114206
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400f14e8
movsxd rdi, eax
lea r15, [0x1401b1490]
mov rcx, rbx
sar rdi, 6
call fcn.1400f14e8
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14011420d
lea rax, [0x1401aa2f0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14011421f
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x140114255
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140114251
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140114251
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x140114273
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14011427e
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1401140dd
jmp 0x1401140a4
Function at 0x1398d50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1398d5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1398d6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1398d55
lea eax, [rcx + 1]
jmp 0x1398d7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1398d8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1398d74
sub eax, 3
jb 0x1398dae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1398dfd
sar eax, 1
movsxd rbp, eax
jb 0x1398de4
jmp 0x1398dbc
add ebx, ebx
jne 0x1398dba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1398de4
inc ecx
add ebx, ebx
jne 0x1398dca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1398de4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1398ddd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1398dcc
add ecx, 2
jmp 0x1398de9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01398d12
jmp 0x1398d5d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf82000]
mov eax, dword [rdi]
or eax, eax
je 0x1398e59
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf98000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1398e09
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1398e53
mov qword [rbx], rax
add rbx, 8
jmp 0x1398e29
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1398e9d
cmp al, 0xef
ja 0x1398e85
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1398e65
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1398e74
mov eax, dword [rdi]
add rdi, 4
jmp 0x1398e74
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1398ef1
sub rsp, 0xffffffffffffff80
jmp 0x45d040
Function at 0x140007860
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x280
movdqa xmmword [rsp + 0x2e0], xmm6
movdqa xmmword [rsp + 0x2f0], xmm7
movdqa xmmword [rsp + 0x300], xmm8
movdqa xmmword [rsp + 0x310], xmm9
movdqa xmmword [rsp + 0x320], xmm10
movdqa xmmword [rsp + 0x330], xmm11
movdqa xmmword [rsp + 0x340], xmm12
movdqa xmmword [rsp + 0x350], xmm13
movdqa xmmword [rsp + 0x360], xmm14
movdqa xmmword [rsp + 0x370], xmm15
mov eax, dword [0x140853518]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x280]
mov qword [rdx + 8], r8
call fcn.1401fe8b0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x140853518]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1400079f0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x140007a0c
cmp rcx, r8
jl 0x1400079ff
mov qword [rdx + 0x80], rcx
test dword [0x14084caa0], 1
je 0x140007a3b
cmp byte [rsp + 0xd0], 0
je 0x140007a3b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140007560
mov rsp, r8
jmp rax
Function at 0x140007a40
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x140853518]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000edb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, ecx
movsxd rbx, edx
lea rcx, [rsp + 0x50]
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov rdi, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.DLL_QueryPerformanceFrequency
mov r14d, 0x1e
mov rdx, rbx
imul rdx, qword [rsp + 0x50]
movabs rax, 0x431bde82d7b634db
imul rdx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rdi
cmp esi, r14d
cmovb r14d, esi
xor edi, edi
test r14d, r14d
jle 0x14000ee52
mov ebx, 1
test ebx, ebx
jle 0x14000ee38
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x14000ee30
lea rcx, [rsp + 0x50]
call sub.KERNEL32.DLL_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x14000ee52
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x14000ee23
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000ee70
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword gs:[0x58]
movzx esi, dl
mov r8d, dword [0x140853518]
mov rbp, rcx
mov rdi, qword [rax + r8*8]
mov eax, 0x118
cmp byte [rax + rdi], 0
jne 0x14000eeb0
call fcn.14006cf40
mov ebx, 0x30
add rbx, rdi
mov rcx, rbx
call fcn.14000a3e0
xor r14d, r14d
lea rcx, [rbp + 0x10]
test al, al
cmovne r14, rbx
call fcn.14000fe80
mov qword [0x14084caa8], r14
test sil, sil
je 0x14000eeee
mov rcx, qword [0x14084c970]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov eax, dword [0x14084caa0]
or eax, 2
mov dword [0x14084caa0], eax
call sub.KERNEL32.DLL_FlushProcessWriteBuffers
xor r15d, r15d
xor esi, esi
xor dil, dil
movabs r12, 0x431bde82d7b634db
mov ebp, esi
xor esi, esi
call fcn.14000aaa0
mov rcx, rax
call fcn.14000ab00
mov r8b, 1
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x10]
call fcn.14000fc40
call fcn.14000aaa0
mov rcx, rax
call fcn.14000ab00
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14000ef85
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
cmp rbx, r14
je 0x14000ef50
mov rcx, rbx
call fcn.140009af0
test al, al
jne 0x14000ef50
inc esi
test dil, dil
jne 0x14000ef50
mov rcx, rbx
call fcn.14000a080
jmp 0x14000ef50
lea rcx, [rsp + 0x20]
call fcn.14000fe60
test esi, esi
je 0x14000f040
cmp esi, ebp
jl 0x14000efc7
test dil, dil
je 0x14000efc7
mov edx, 0x64
mov ecx, r15d
call fcn.14000edb0
inc r15d
xor dil, dil
test r15b, 0x7f
jne 0x14000ef14
call sub.KERNEL32.DLL_SwitchToThread
jmp 0x14000ef14
lea rcx, [rsp + 0x70]
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call sub.KERNEL32.DLL_QueryPerformanceFrequency
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rax*4]
mov rax, r12
imul rcx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rbx
mov ebx, 1
xor edi, edi
nop word [rax + rax]
test ebx, ebx
jle 0x14000f01e
mov eax, ebx
pause
sub rax, 1
jne 0x14000f016
lea rcx, [rsp + 0x70]
call sub.KERNEL32.DLL_QueryPerformanceCounter
cmp qword [rsp + 0x70], rbp
jg 0x14000f038
inc edi
rol ebx, 1
cmp edi, 0x1e
jl 0x14000f010
mov dil, 1
jmp 0x14000ef14
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f7c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x14000a09d
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x14000a09d
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x14000f7c0
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x140844038]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
je 0x14000f830
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x40100003
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x14000f827
mov eax, dword [rsp + 0x50]
test eax, eax
jns 0x14000f827
test eax, 0x18000000
jne 0x14000f827
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [0x14084cac8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14006d030
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
ret

Function at 0x14000fa10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14000fa24
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000fab0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
test rax, rax
jne 0x14000fad9
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x14000faf0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14000fb25
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14000ffc0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x14084cad0]
test al, al
jne 0x140010171
lea rcx, [0x14084cad8]
call fcn.14000fc10
movzx eax, byte [0x14084cad0]
test al, al
je 0x14000fffb
lea rcx, [0x14084cad8]
call fcn.14000fc30
add rsp, 0x28
ret
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
call sub.KERNEL32.DLL_QueryPerformanceFrequency
test eax, eax
je 0x140010159
mov rbp, qword [rsp + 0x30]
cmp rbp, 0x64
jl 0x140010159
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
movabs rax, 0xa3d70a3d70a3d70b
mov qword [rsp + 0x48], rsi
imul rbp
mov qword [rsp + 0x20], rdi
xor edi, edi
lea rbx, [rdx + rbp]
sar rbx, 6
mov rax, rbx
shr rax, 0x3f
add rbx, rax
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov rsi, qword [rsp + 0x30]
mov eax, 0x3e8
pause
sub rax, 1
jne 0x140010065
lea rcx, [rsp + 0x30]
add edi, 0x3e8
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov rax, qword [rsp + 0x30]
sub rax, rsi
cmp rax, rbx
jl 0x140010060
movsd xmm3, qword [0x14075f748]
xorps xmm1, xmm1
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm0, rbp
mov ecx, 1
cvtsi2sd xmm2, rax
mov eax, edi
cvtsi2sd xmm1, rax
mulsd xmm2, qword [0x14075f760]
mulsd xmm1, xmm0
movsd xmm0, qword [0x14075f750]
divsd xmm2, xmm1
movsd xmm1, qword [0x14075f758]
maxsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, qword [0x14075f740]
cvttsd2si edx, xmm0
cmp edx, ecx
cmovl edx, ecx
mov dword [0x140843558], edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
divsd xmm1, xmm0
addsd xmm1, qword [0x14075f740]
cvttsd2si eax, xmm1
movd xmm1, edx
cmp eax, ecx
cvtdq2ps xmm1, xmm1
cmovl eax, ecx
mov dword [0x14084355c], eax
mov byte [0x14084cad0], cl
mov rcx, qword [0x14084c970]
mov rax, qword [rcx]
call qword [rax + 0x180]
lea rcx, [0x14084cad8]
call fcn.14000fc30
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
ret
lea rcx, [0x14084cad8]
mov byte [0x14084cad0], 1
call fcn.14000fc30
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
ret