joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400025cc
Capabilities:
Load ntoskrnl

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
lea rcx, str.ntoskrnl.exe
mov rbx, r8
mov rsi, rdx
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov edi, 1
xor edx, edx
mov rcx, rax
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, str.ntoskrnl.exe
mov rbp, rax
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
mov edx, edi
call fcn.140002300
mov r14, rax
lea rdi, [rbx + 0xc]
jmp 0x140002682
mov ecx, dword [rdi + 4]
lea r8, [0x140008110]
mov rdx, rsi
call fcn.140001f34
mov rbx, rax
mov rcx, qword [rax]
jmp 0x140002679
js 0x140002672
lea r8, [0x140008110]
mov rdx, rsi
call fcn.140001f34
mov rcx, rbp
lea rdx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r14
sub rcx, rbp
add rax, rcx
mov qword [rbx], rax
add rbx, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140002648
add rdi, 0x14
mov ecx, dword [rdi]
lea r8, [0x140008110]
mov rdx, rsi
call fcn.140001f34
test rax, rax
jne 0x14000262e
mov rcx, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.KERNEL32.dll_FreeLibrary]

Function at 0x1400027fc
Capabilities:
Access pe header
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
lea r9, [0x140008110]
xor r8d, r8d
mov al, r8b
lea edx, [r8 + 5]
add al, al
inc r8d
add dl, al
xor byte [r9], dl
inc r9
cmp r8d, 0x1e00
jb 0x14000281d
lea rcx, [0x140008110]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
lea rcx, str..GIO
mov rsi, rax
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [rsi + 0x50]
mov rcx, rax
mov rdi, rax
call fcn.140001478
mov ecx, dword [rsi + 0x90]
lea r8, [0x140008110]
mov rdx, rsi
mov rbx, rax
call fcn.140001f34
mov r8, rax
mov rdx, rsi
call fcn.1400025cc
mov r9, rsi
mov r8, rbx
mov rcx, rdi
call fcn.1400026bc
mov r8d, dword [rsi + 0x28]
mov rdx, rbp
add r8, rbx
mov rcx, rdi
call fcn.1400023d0
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140002744
mov edx, 0x1e00
lea rcx, [0x140008110]
call fcn.140001008
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x1400029f8
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push rbx
sub rsp, 0x150
mov rbx, rcx
lea r9, [0x140009f10]
xor r8d, r8d
mov al, r8b
lea edx, [r8 + 5]
add al, al
inc r8d
add dl, al
xor byte [r9], dl
inc r9
cmp r8d, 0x6650
jb 0x140002a0e
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, str._s:_s
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8, rax
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.140001188
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 6
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
and qword [rsp + 0x20], 0
lea rdx, [0x140009f10]
mov rcx, rax
xor r9d, r9d
mov r8d, 0x6650
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x6650
lea rcx, [0x140009f10]
call fcn.140001008
add rsp, 0x150
pop rbx
ret

Function at 0x140002ad8
Capabilities:
Delete file
Delete registry key
Persist via windows service
Set registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rdi, rcx
mov dword [rbp + 0x178], 1
lea rcx, str.systemCurrentControlSetServices
mov ebx, edx
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
lea r8, [rbp + 0x188]
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, str._s:_s
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140001188
test ebx, ebx
je 0x140002c22
lea rcx, str.___s
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
lea r9, [rsp + 0x30]
mov edx, 0x104
mov r8, rax
lea rcx, [rbp + 0x40]
call fcn.140001188
mov rcx, qword [rbp + 0x188]
lea r8, [rbp + 0x180]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
lea rcx, str.ImagePath
lea ebx, [rax + 1]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, qword [rbp + 0x180]
mov r9d, 2
mov rdx, rax
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.Type
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, qword [rbp + 0x180]
mov r9d, 4
mov rdx, rax
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0x178]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002c3d
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbp + 0x188]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x250
pop rdi
pop rbx
pop rbp
ret
Function at 0x140002f6c
Capabilities:
Access pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x80
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
call fcn.140001eb4
movzx ecx, ax
movzx ebx, ax
call fcn.140002e34
test eax, eax
je 0x1400030e3
lea rcx, str.C:Users123Downloads_roflanPominki.dll
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
call fcn.140001bb4
mov rdi, rax
test rax, rax
je 0x1400030fc
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rsi, rax
test rax, rax
je 0x140003115
lea rcx, str.ProcessHacker
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
lea rdx, [rsp + 0x90]
call fcn.140001e64
lea rcx, str.kernel32.dll
mov dword [0x140010670], eax
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringW]
mov r8d, 1
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140001840
mov rax, qword [rax]
test rax, rax
je 0x14000312e
mov edx, dword [rsi + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400017a4
mov r8, rsi
mov rdx, rdi
movups xmm6, xmmword [rax]
movsd xmm7, qword [rax + 0x10]
movq rcx, xmm6
call fcn.140001fc4
test eax, eax
je 0x140003147
mov ecx, dword [rsp + 0x90]
mov r8, rsi
mov rdx, rdi
call fcn.1400020b0
test eax, eax
je 0x140003175
mov r8, rsi
mov rdx, rdi
movq rcx, xmm6
call fcn.1400021e8
mov ecx, dword [rsp + 0x90]
mov r8, rsi
movq rdx, xmm6
call fcn.140001a58
mov rdx, rsi
movq rcx, xmm6
call fcn.14000225c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x140008100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
xor eax, eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
ret
lea rcx, str.FACE:_Ldr_failed_2
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
movzx edx, bx
call fcn.140001c6c
int3
lea rcx, str.FACE:_Invalid_DLL
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
movzx edx, bx
call fcn.140001c6c
int3
lea rcx, str.FACE:_Invalid_PE_Header
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
movzx edx, bx
call fcn.140001c6c
int3
lea rcx, str.FACE:_Process_closed
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
movzx edx, bx
call fcn.140001c6c
int3
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm6
movsd qword [rsp + 0x30], xmm7
call fcn.1400017fc
lea rcx, str.FACE:_Reloc_failed
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
movzx edx, bx
call fcn.140001c6c
int3
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm6
movsd qword [rsp + 0x30], xmm7
call fcn.1400017fc
lea rcx, str.FACE:_Import_failed
call qword [sym.imp.VMProtectSDK64.dll_VMProtectDecryptStringA]
mov rcx, rax
movzx edx, bx
call fcn.140001c6c
int3
Function at 0x1400041b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004202
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004202
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004202
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004202
cmp dword [rcx + 0x84], 0xe
jbe 0x140004202
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004204
xor al, al
add rsp, 0x28
ret
Function at 0x1400041d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000421e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000421e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000421e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000421e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000421e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004220
xor al, al
add rsp, 0x28
ret
Function at 0x140011299
Capabilities:
Terminate process

Disassembly:
jmp 0x140014b10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011339
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015e60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015e80
xor al, al
jmp 0x140015f01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015e93
xor al, al
jmp 0x140015f01
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015ebd
xor al, al
jmp 0x140015f01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015ed1
xor al, al
jmp 0x140015f01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015ee3
xor al, al
jmp 0x140015f01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015eff
xor al, al
jmp 0x140015f01
mov al, 1
add rsp, 0x38
ret
Function at 0x140004910
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x14000c4c0
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14000c4fd
test rdx, rdx
je 0x14000c4fd
mov rax, qword [rax]
cmp rax, r9
jne 0x14000c4e0
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret

Function at 0x140005160
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 0x140005202
mov ebx, 1
test ebx, ebx
jle 0x1400051e8
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x1400051e0
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x140005202
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x1400051d3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140005220
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 [0x1403a1128]
mov rbp, rcx
mov rdi, qword [rax + r8*8]
mov eax, 0x108
cmp byte [rax + rdi], 0
jne 0x140005260
call fcn.14006a040
mov ebx, 0x10
add rbx, rdi
mov rcx, rbx
call fcn.140006f10
xor r14d, r14d
lea rcx, [rbp + 0x10]
test al, al
cmovne r14, rbx
call fcn.14000cfc0
mov qword [0x14039a2e0], r14
test sil, sil
je 0x14000529e
mov rcx, qword [0x14039a590]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov eax, dword [0x14039a2d8]
or eax, 2
mov dword [0x14039a2d8], 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.1400061f0
mov rcx, rax
call fcn.140006250
mov r8b, 1
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x10]
call fcn.14000cd80
call fcn.1400061f0
mov rcx, rax
call fcn.140006250
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140005335
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
cmp rbx, r14
je 0x140005300
mov rcx, rbx
call fcn.140006620
test al, al
jne 0x140005300
inc esi
test dil, dil
jne 0x140005300
mov rcx, rbx
call fcn.140006bb0
jmp 0x140005300
lea rcx, [rsp + 0x20]
call fcn.14000cfa0
test esi, esi
je 0x1400053f0
cmp esi, ebp
jl 0x140005377
test dil, dil
je 0x140005377
mov edx, 0x64
mov ecx, r15d
call fcn.140005160
inc r15d
xor dil, dil
test r15b, 0x7f
jne 0x1400052c4
call sub.KERNEL32.dll_SwitchToThread
jmp 0x1400052c4
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 0x1400053ce
mov eax, ebx
pause
sub rax, 1
jne 0x1400053c6
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x70], rbp
jg 0x1400053e8
inc edi
rol ebx, 1
cmp edi, 0x1e
jl 0x1400053c0
mov dil, 1
jmp 0x1400052c4
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 0x140005850
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 [0x1403a1128]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
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.140145500
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 [0x1403a1128]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
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 0x1400059e0
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 0x1400059fc
cmp rcx, r8
jl 0x1400059ef
mov qword [rdx + 0x80], rcx
test dword [0x14039a2d8], 1
je 0x140005a2b
cmp byte [rsp + 0xd0], 0
je 0x140005a2b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140005550
mov rsp, r8
jmp rax
Function at 0x140005a30
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 [0x1403a1128]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
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 0x14000c8d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x140006bcd
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x140006bcd
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x14000c8d0
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x140391b58]
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 0x14000c940
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x40100003
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000c937
mov eax, dword [rsp + 0x50]
test eax, eax
jns 0x14000c937
test eax, 0x18000000
jne 0x14000c937
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [0x14039a6d0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14006a100
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
ret

Function at 0x14000cb20
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 0x14000cb34
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 0x14000cbc0
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 0x14000cbe9
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x14000cc00
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 0x14000cc35
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