joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b9bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x14020b531], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1401b9c58
lea rdx, [0x1401e6ea2]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1401b9cc0
mov rbx, qword [0x14020b3e8]
jmp 0x1401b9c15
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1401b9c10
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1401a8280
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x14020b3e8], rax
mov ebx, dword [rax]
mov qword [0x14020b3e8], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x14020b3e8], rdx
call fcn.1401b8d00
cmp eax, ebx
jne 0x1401b9d47
mov byte [0x14020b531], 1
jmp 0x1401b9bec
cmp byte [0x14020b530], 0
jne 0x1401b9c03
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x14020be68], rax
call rbx
mov qword [0x14020be60], rax
call rbx
mov qword [0x14020be58], rax
call rbx
mov qword [0x14020be50], rax
call rbx
mov qword [0x14020be48], rax
call rbx
mov qword [0x14020be40], rax
call rbx
mov qword [0x14020be38], rax
call rbx
mov byte [0x14020b530], 1
mov qword [0x14020be30], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x14020b3e0], rax
jmp 0x1401b9c03
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1401c2b10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1401d42a0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1401d42a0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1401c37e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14020c328]
test eax, eax
je 0x1401c387a
lea rax, [0x14020c300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14020c330]
mov qword [rbp - 8], rax
jmp 0x1401c385e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1401c3852
cmp qword [rbp - 0x10], 0
je 0x1401c3852
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1401c3818
lea rax, [0x14020c300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1401c387b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1401c3980
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1401c39a8
mov eax, 0
jmp 0x1401c39f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1401c39d1
mov eax, 0
jmp 0x1401c39f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1401c39f1
mov eax, 0
jmp 0x1401c39f6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1401c39fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1401c3a7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1401c3a71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1401c3a71
mov rax, qword [rbp - 8]
jmp 0x1401c3a8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1401c3a44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14024da42
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp edx, 0x33ff
jg 0x14024da64
add edx, edx
movzx r8d, dx
movzx edx, word [rcx]
cmp r8d, edx
jbe 0x14024dac3
and edx, 1
or edx, 2
lea rcx, [rcx + rdx*2]
jmp 0x14024da50
mov r8d, edx
shr r8d, 9
add r8d, 0x3400
shl edx, 6
and r8d, 0xfffe
mov eax, 0xffffffff
movzx r9d, word [rcx]
cmp r8d, r9d
jbe 0x14024da97
and r9d, 1
or r9, 2
mov r10, r9
jmp 0x14024dabd
mov r10d, r9d
and r10d, 0x7ffe
cmp r8d, r10d
jne 0x14024daf3
movzx r10d, word [rcx + 2]
cmp r10w, dx
jae 0x14024dae8
mov r10d, 3
test r9w, r9w
js 0x14024daf3
lea rcx, [rcx + r10*2]
jmp 0x14024da81
mov r9d, edx
and r9d, 0x7ffe
mov eax, 0xffffffff
cmp r8d, r9d
jne 0x14024daf3
movzx eax, word [rcx + 2]
test dl, 1
je 0x14024daf3
shl eax, 0x10
mov r10d, eax
jmp 0x14024dafc
xor edx, r10d
test edx, 0xffc0
je 0x14024daf4
ret
and r10d, 0x3f
shl r10d, 0x10
movzx eax, word [rcx + 4]
or eax, r10d
ret

Function at 0x140254cf8
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x140254d13
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14024b1c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140254dc1
mov rbx, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x140254dc1
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x140254dec
mov qword [rdi + 0x28], r14
mov al, 1
jmp 0x140254d09
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x140254d07
mov dword [rsi], 7
jmp 0x140254d07
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140254d07

Function at 0x1402694c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140269618
Function at 0x140003430
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x230
mov byte [rsp + 0x20], 0
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 0x207
rep stosb byte [rdi], al
lea rdx, [rsp + 0x20]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
add rsp, 0x230
pop rdi
ret

Function at 0x1400034b0
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x460
mov byte [rsp + 0x250], 0
lea rax, [rsp + 0x251]
mov rdi, rax
xor eax, eax
mov ecx, 0x207
rep stosb byte [rdi], al
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 0x207
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x208
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add rsp, 0x460
pop rdi
ret

Function at 0x1400037e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140003560]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x14000381a
xor al, al
jmp 0x14000382c
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
add rsp, 0x48
ret

Function at 0x140003a60
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0x20], eax
add rsp, 0x38
ret

Function at 0x140003a80
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x240
mov dword [rsp + 0x20], 0xa
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 0x207
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
add rsp, 0x240
pop rdi
ret
Function at 0x140004950
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x28
lea rcx, str.76fFHJj
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add rsp, 0x28
ret

Function at 0x140004970
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x230
mov byte [rsp + 0x20], 0
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 0x207
rep stosb byte [rdi], al
mov r8d, 0x208
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowTextA]
add rsp, 0x230
pop rdi
ret
Function at 0x140004d20
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x78
call fcn.140004930
call fcn.140003ac0
mov rcx, qword [rsp + 0x90]
call fcn.140004ce0
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
jne 0x140004d73
xor al, al
jmp 0x140004f2a
call fcn.140004910
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140004daa
xor al, al
jmp 0x140004f2a
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
mov word [rsp + 0x24], ax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
movzx eax, word [rsp + 0x24]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140004e07
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
movzx ecx, word [rsp + 0x24]
cmp eax, ecx
jge 0x140004e71
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x10]
movzx ecx, word [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x90]
add rdx, rcx
mov rcx, rdx
movzx edx, word [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x38]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x30]
add r8, rdx
mov rdx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x140004dfa
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.1400049d0
test eax, eax
jne 0x140004eb3
jmp 0x140004f15
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov r9, qword [rax + 0x30]
mov r8, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x50]
call fcn.140004b90
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140005050
mov al, 1
jmp 0x140004f2a
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140004fc0
Capabilities:
Create thread

Disassembly:
mov byte [rsp + 8], cl
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140004f70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x140005013
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x140005013
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add rsp, 0x48
ret

Function at 0x140005364
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400053f5
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400053f5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400053f5
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400053d9
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400053d3
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400053db
add rdx, 0x28
jmp 0x1400053b8
xor edx, edx
test rdx, rdx
jne 0x1400053e4
xor al, al
jmp 0x1400053fb
test dword [rdx + 0x24], 0x80000000
je 0x1400053f1
xor al, al
jmp 0x1400053fb
mov al, 1
jmp 0x1400053fb
xor al, al
jmp 0x1400053fb
add rsp, 0x18
ret
Function at 0x140007818
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400075ec
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400075ec
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400075ec
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400075ec
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400075ec
cmp dword [rcx + 0x84], 0xe
jbe 0x1400075ec
cmp dword [rcx + 0xf8], esi
je 0x1400075ec
mov ecx, r14d
call fcn.140007734
mov ecx, 2
call fcn.1400092a8
nop
cmp byte [0x140025b20], 0
jne 0x1400076b6
mov r15d, 1
mov eax, r15d
xchg dword [0x140025b10], eax
test ebx, ebx
jne 0x14000765f
mov rdi, qword [0x140024008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140025b18]
cmp rcx, rax
je 0x140007656
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140005db0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140025b48]
jmp 0x14000766b
cmp ebx, r15d
jne 0x140007671
lea rcx, [0x140025b60]
call fcn.140007e10
nop
test ebx, ebx
jne 0x140007688
lea rdx, [0x140010460]
lea rcx, [0x140010440]
call fcn.1400084e0
lea rdx, [0x140010470]
lea rcx, [0x140010468]
call fcn.1400084e0
movzx eax, byte [0x140025b20]
test esi, esi
cmove eax, r15d
mov byte [0x140025b20], al
jmp 0x1400076b6
mov ecx, 2
call fcn.1400092fc
test esi, esi
jne 0x1400076cd
mov ecx, r14d
call fcn.1400076e8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000757c
Function at 0x1400053c0
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 [0x14057e040]
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.14012c530
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 [0x14057e040]
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 0x140005550
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 0x14000556c
cmp rcx, r8
jl 0x14000555f
mov qword [rdx + 0x80], rcx
test dword [0x1405771b0], 1
je 0x14000559b
cmp byte [rsp + 0xd0], 0
je 0x14000559b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x1400050c0
mov rsp, r8
jmp rax
Function at 0x1400055a0
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 [0x14057e040]
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 + pe_nt_image_headers64]
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 0x140006380
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 0x140006422
mov ebx, 1
test ebx, ebx
jle 0x140006408
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x140006400
lea rcx, [rsp + 0x50]
call sub.KERNEL32.DLL_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x140006422
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x1400063f3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret