joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2eda35f10
Capabilities:
Link many functions at runtime

Disassembly:
push r12
sub rsp, 0x20
cmp qword [0x2eda421f8], 0
je 0x2eda35f90
cmp qword [0x2eda421f0], 0
je 0x2eda35fc8
cmp qword [0x2eda421e8], 0
je 0x2eda36008
cmp qword [0x2eda421e0], 0
je 0x2eda36040
cmp qword [0x2eda421d8], 0
je 0x2eda36080
cmp qword [0x2eda421d0], 0
je 0x2eda360c0
cmp qword [0x2eda421c8], 0
je 0x2eda36100
cmp qword [0x2eda421c0], 0
je 0x2eda36135
add dword [0x2eda42200], 1
add rsp, 0x20
pop r12
ret
lea rcx, [0x2eda3eb10]
call fcn.2eda35e40
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x2eda421f8], rax
call fcn.2eda35ed0
cmp qword [0x2eda421f0], 0
jne 0x2eda35f2e
nop dword [rax]
lea rcx, [0x2eda3eb31]
call fcn.2eda35dc0
mov rcx, qword [0x2eda421f8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x2eda421f0], rax
call fcn.2eda35ed0
cmp qword [0x2eda421e8], 0
jne 0x2eda35f3c
nop dword [rax]
lea rcx, [0x2eda3eb46]
call fcn.2eda35e40
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x2eda421e8], rax
call fcn.2eda35ed0
cmp qword [0x2eda421e0], 0
jne 0x2eda35f4a
nop dword [rax]
lea rcx, [0x2eda3eb61]
call fcn.2eda35dc0
mov rcx, qword [0x2eda421e8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x2eda421e0], rax
call fcn.2eda35ed0
cmp qword [0x2eda421d8], 0
jne 0x2eda35f58
nop dword [rax]
lea rcx, [0x2eda3eb78]
call fcn.2eda35dc0
mov rcx, qword [0x2eda421e8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x2eda421d8], rax
call fcn.2eda35ed0
cmp qword [0x2eda421d0], 0
jne 0x2eda35f66
nop dword [rax]
lea rcx, [0x2eda3eb91]
call fcn.2eda35dc0
mov rcx, qword [0x2eda421e8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x2eda421d0], rax
call fcn.2eda35ed0
cmp qword [0x2eda421c8], 0
jne 0x2eda35f74
nop dword [rax]
lea rcx, [0x2eda3eba8]
call fcn.2eda35e40
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, r12
mov qword [0x2eda421c8], rax
call fcn.2eda35ed0
cmp qword [0x2eda421c0], 0
jne 0x2eda35f82
lea rcx, [0x2eda3ebc7]
call fcn.2eda35dc0
mov rcx, qword [0x2eda421c8]
mov r12, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
mov qword [0x2eda421c0], rax
call fcn.2eda35ed0
add dword [0x2eda42200], 1
add rsp, 0x20
pop r12
ret

Function at 0x2eda36730
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2eda3c5f0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.2eda3c5f0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x2eda367a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x2eda42254]
mov r12, rcx
test ebx, ebx
jle 0x2eda368d0
mov rax, qword [0x2eda42258]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x2eda367ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x2eda36873
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x2eda367d0
mov rcx, r12
call fcn.2eda36f20
mov rsi, rax
test rax, rax
je 0x2eda368f2
mov rax, qword [0x2eda42258]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.2eda37050
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x2eda42258]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2eda368d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2eda3686c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2eda36880
add dword [0x2eda42254], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x2eda42258]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2eda3686c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2eda36730
nop dword [rax]
xor ebx, ebx
jmp 0x2eda367f7
mov rax, qword [0x2eda42258]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2eda36730
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.2eda36730
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2eda36b90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x2eda42280]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2eda42260]
test rbx, rbx
je 0x2eda36be4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x2eda36bdb
test r12, r12
je 0x2eda36bdb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2eda36bc0
lea rcx, [0x2eda42280]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x2eda36f20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2eda3f1a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2eda36f40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2eda36f48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2eda36f40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x2eda36f95
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2eda36f8c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2eda36f40
add rax, 0x28
cmp rax, r9
jne 0x2eda36f78
xor eax, eax
ret

Function at 0x2eda36fa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2eda3f1a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x2eda36fc0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2eda36fc8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x2eda36fc0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x2eda37050
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2eda3f1a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x2eda37070
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x2eda37078
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x180001817
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp edx, 1
je 0x180001837
mov rbx, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [str.KERNEL32.dll]
call rbx
xor ecx, ecx
mov r12, rax
call rbx
mov rdi, qword [0x1803e85d7]
mov rcx, r12
mov dword [rsp + 0x2c], 0
mov rsi, rax
movsxd rax, dword [rax + 0x3c]
mov ebp, dword [rsi + rax + 0x28]
mov rax, qword [0x1803e85a7]
mov rdx, qword [0x1803e85cf]
mov rbx, rbp
sub edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rbx, rdi
mov edx, dword [0x1803e85b3]
mov r8d, 0x40
lea r9, [rsp + 0x2c]
add rbx, rsi
mov rcx, rbx
call rax
mov r9d, dword [0x1803e85b3]
mov rdx, qword [0x1803e85a7]
lea r8d, [r9 - 1]
test r9d, r9d
je 0x180001826
mov rax, rbp
sub rax, rdi
lea rax, [rsi + rax + 0x10]
cmp rdx, rax
lea rax, [rdx + 0x10]
setae cl
cmp rbx, rax
setae al
or cl, al
je 0x180001a17
cmp r8d, 0xe
jbe 0x180001a17
mov ecx, r9d
xor eax, eax
shr ecx, 4
mov ecx, r8d
xor eax, eax
jmp 0x180001a2a
mov rax, r8
movzx r8d, byte [rdx + rax]
cmp rax, rcx
mov byte [rbx + rax], r8b
lea r8, [rax + 1]
jne 0x180001a27
jmp 0x180001826
Function at 0x18022dc14
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
xor r9d, r9d
mov qword [rbp - 0x40], rdx
lea rax, [rbp + 0x20]
mov qword [rbp - 0x34], r9
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x20]
mov dword [rbp - 0x2c], r9d
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x24]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], r9
mov dword [rbp - 4], r9d
mov dword [rbp - 0x38], r9d
mov dword [rbp - 8], r8d
call fcn.1800672cc
mov rcx, qword [rbp - 0x18]
mov edx, 1
mov r8, qword [rbp - 0x28]
mov r9, qword [rbp - 0x40]
sub r8, rcx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rsp, 0x60
pop rbp
ret

Function at 0x18022dc80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1803e3008]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov ebx, r8d
mov r9d, r8d
mov r8, rcx
mov rsi, rdx
mov rdi, rcx
lea rdx, [0x18023d540]
lea rcx, str.marshal.dumps
call sym.python310.dll_PySys_Audit
test eax, eax
js 0x18022dd5f
and qword [rsp + 0x2c], 0
lea rax, [rsp + 0x60]
and dword [rsp + 0x34], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x50], 0
mov edx, ebx
and dword [rsp + 0x5c], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x58], ebx
call fcn.1800f24c4
test eax, eax
jne 0x18022dd5f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800662b4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18022dd42
call sym.python310.dll__Py_hashtable_destroy
mov r8, qword [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x20]
sub r8, rcx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180181080
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret

Function at 0x18022e1ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [r8 + 0x20]
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [r8 + 0x18], rax
jne 0x18022e1df
mov edx, 1
mov rcx, rbx
call fcn.18012edb4
test eax, eax
je 0x18022e1ea
mov rax, qword [rbx + 0x18]
mov byte [rax], dil
inc qword [rbx + 0x18]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.18012ed40

Function at 0x180236df8
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmove eax, ecx
add rsp, 0x28
ret

Function at 0x180236e24
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180236ea8
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
neg eax
sbb eax, eax
neg eax
dec eax
add rsp, 0x28
ret
Function at 0x41ec90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x41ec9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x41ecad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x41ec95
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x41ecc5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x41ecb2
sub eax, 3
jb 0x41ecdf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x41ed16
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x41ed06
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x41ed04
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x41ecf3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.0041ec52
jmp 0x41ec9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xcc00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x41ed62
cmp rsi, rcx
jae 0x41ed6a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x41ed49
cmp al, 0x8f
ja 0x41ed49
cmp byte [rsi - 2], 0xf
je 0x41ed4f
sub al, 0xe8
cmp al, 1
ja 0x41ed33
cmp rsi, rcx
jae 0x41ed6a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x41ed39
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x41ed6a
lodsb al, byte [rsi]
jmp 0x41ed49
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1c000]
mov eax, dword [rdi]
or eax, eax
je 0x41edc7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1e000]
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 0x41ed77
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 0x41edc1
mov qword [rbx], rax
add rbx, 8
jmp 0x41ed97
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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
mov byte [fcn.0041ee4a], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0041ee4a
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x41ee3a
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x1400040a0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x14000bbf0
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 0x14000bc2d
test rdx, rdx
je 0x14000bc2d
mov rax, qword [rax]
cmp rax, r9
jne 0x14000bc10
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 0x1400048f0
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 0x140004992
mov ebx, 1
test ebx, ebx
jle 0x140004978
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x140004970
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x140004992
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x140004963
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400049b0
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 [0x1402e89d8]
mov rbp, rcx
mov rdi, qword [rax + r8*8]
mov eax, 0x100
cmp byte [rax + rdi], 0
jne 0x1400049f0
call fcn.14006970c
mov ebx, 0x10
add rbx, rdi
mov rcx, rbx
call fcn.1400078d0
xor r14d, r14d
lea rcx, [rbp + 0x10]
test al, al
cmovne r14, rbx
call fcn.14000c6f0
mov qword [0x1402e1b90], r14
test sil, sil
je 0x140004a2e
mov rcx, qword [0x1402e1e40]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov eax, dword [0x1402e1b88]
or eax, 2
mov dword [0x1402e1b88], 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.140008060
mov rcx, rax
call fcn.1400080c0
mov r8b, 1
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x10]
call fcn.14000c4b0
call fcn.140008060
mov rcx, rax
call fcn.1400080c0
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140004ac5
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
cmp rbx, r14
je 0x140004a90
mov rcx, rbx
call fcn.140006fe0
test al, al
jne 0x140004a90
inc esi
test dil, dil
jne 0x140004a90
mov rcx, rbx
call fcn.140007570
jmp 0x140004a90
lea rcx, [rsp + 0x20]
call fcn.14000c6d0
test esi, esi
je 0x140004b80
cmp esi, ebp
jl 0x140004b07
test dil, dil
je 0x140004b07
mov edx, 0x64
mov ecx, r15d
call fcn.1400048f0
inc r15d
xor dil, dil
test r15b, 0x7f
jne 0x140004a54
call sub.KERNEL32.dll_SwitchToThread
jmp 0x140004a54
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 0x140004b5e
mov eax, ebx
pause
sub rax, 1
jne 0x140004b56
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x70], rbp
jg 0x140004b78
inc edi
rol ebx, 1
cmp edi, 0x1e
jl 0x140004b50
mov dil, 1
jmp 0x140004a54
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 0x140004fe0
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 [0x1402e89d8]
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.1400e2620
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 [0x1402e89d8]
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 0x140005170
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 0x14000518c
cmp rcx, r8
jl 0x14000517f
mov qword [rdx + 0x80], rcx
test dword [0x1402e1b88], 1
je 0x1400051bb
cmp byte [rsp + 0xd0], 0
je 0x1400051bb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140004ce0
mov rsp, r8
jmp rax
Function at 0x1400051c0
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 [0x1402e89d8]
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