joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3609f7c60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp edx, 2
je 0x3609f7d90
ja 0x3609f7ca8
test edx, edx
je 0x3609f7d28
mov eax, dword [0x360b3e088]
test eax, eax
je 0x3609f7e10
mov dword [0x360b3e088], 1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp edx, 3
jne 0x3609f7c95
mov eax, dword [0x360b3e088]
test eax, eax
je 0x3609f7c95
lea r12, [0x360b3e0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x360b3e080]
test rbx, rbx
je 0x3609f7d14
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x3609f7e38
test eax, eax
jne 0x3609f7e38
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3609f7ce8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3609f7c95
mov eax, dword [0x360b3e088]
test eax, eax
jne 0x3609f7da8
mov eax, dword [0x360b3e088]
cmp eax, 1
jne 0x3609f7c95
mov rbx, qword [0x360b3e080]
test rbx, rbx
je 0x3609f7d61
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call fcn.360a00000
test rbx, rbx
jne 0x3609f7d50
lea rcx, [0x360b3e0a0]
mov qword [0x360b3e080], 0
mov dword [0x360b3e088], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x3609f7c95
call fcn.3609f8240
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r12, [0x360b3e0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x360b3e080]
test rbx, rbx
je 0x3609f7dfc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x3609f7e28
test rsi, rsi
je 0x3609f7e28
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3609f7dd8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3609f7d32
lea rcx, [0x360b3e0a0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x3609f7c8b
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3609f7dd8
jmp 0x3609f7dfc
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3609f7ce8
jmp 0x3609f7d14

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

Disassembly:
mov r8, qword [0x360b3b220]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x3609f7f90
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x3609f7f98
ret
cmp word [rdx + 0x18], 0x20b
jne 0x3609f7f90
movzx eax, word [rdx + 0x14]
sub rcx, r8
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x3609f7fe5
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x3609f7fdc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x3609f7f90
add rax, 0x28
cmp rax, r9
jne 0x3609f7fc8
xor eax, eax
ret
Function at 0x3609f7ff0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x360b3b220]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x3609f800f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x3609f8018
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x3609f800f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x3609f80b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x360b3b220]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3609f80cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3609f80d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x3609f8360
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x3609f8390
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp 0x360a001b0
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x360a001c0
xor eax, eax
ret
jmp fcn.3609f7b60

Function at 0x3609f83d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x3609f8400
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x3609f8418
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1814d5210
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1814d5397
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1814d5241
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1814d5227
add dl, dl
jne 0x1814d524e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1814d52ae
xor eax, eax
add dl, dl
jne 0x1814d525d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1814d5365
add dl, dl
jne 0x1814d526e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1814d527b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1814d5288
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1814d5295
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1814d52a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1814d5236
mov eax, 1
add dl, dl
jne 0x1814d52be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1814d52cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1814d52b3
sub eax, ebx
mov ebx, 1
jne 0x1814d5304
mov ecx, 1
add dl, dl
jne 0x1814d52e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1814d52f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1814d52db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1814d5236
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1814d5320
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1814d532d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1814d5315
cmp eax, 0x7d00
jae 0x1814d5353
cmp eax, 0x500
jb 0x1814d534e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1814d5236
cmp eax, 0x7f
ja 0x1814d5356
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1814d5236
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1814d538a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1814d5236
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140001020
Capabilities:
Compare security identifiers
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x60
in al, dx
invalid
lea rax, [rsp + 0x3c]
and al, 0x3c

Function at 0x140001780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x30
mov al, 0x24
mov byte [rsp + 0x27], 0x4b
and al, 0x27
mov dl, byte [r12 + r12 + 0x27]
push rsp
and al, 0x27

Function at 0x140004078
Capabilities:
Parse pe header

Disassembly:
mov al, 0x1d
mov cl, byte [rsp + 0x2f]
mov ax, word [rcx]
mov edx, dword [rsp + 0x30]
invalid
bnd jae 0x1400040e1
invalid
Function at 0x4010a4
Capabilities:
Get graphical window text

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [0x00411fc8]
cmp rax, 0
je 0x4010c9
jmp 0x4010ce
jmp 0x40118b
mov eax, 0x2800
mov r8, rax
lea rax, [0x0040f7c8]
mov r11, rax
mov rax, qword [0x00411fc8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_GetWindowTextA
lea rax, [0x0040f7c8]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_strlen
cmp rax, 0
jne 0x40113c
mov rax, qword [rbp + 0x10]
mov r8, rax
lea rax, [0x0040f0d9]
mov r11, rax
lea rax, [0x0040f7c8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf
jmp 0x40116c
mov rax, qword [rbp + 0x10]
mov r9, rax
lea rax, [0x0040f7c8]
mov r8, rax
lea rax, str._s_r_n_s
mov r11, rax
lea rax, [0x0040f7c8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf
lea rax, [0x0040f7c8]
mov r11, rax
mov rax, qword [0x00411fc8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SetWindowTextA
leave
ret

Function at 0x401877
Capabilities:
Get graphical window text

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov eax, dword [rbp + 0x10]
movsxd rax, eax
shl rax, 3
lea rcx, [0x00411fd0]
add rcx, rax
mov eax, 0x400
mov r8, rax
lea rax, [0x00413fd0]
mov r11, rax
mov rax, qword [rcx]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_GetWindowTextA
lea rax, [0x00413fd0]
leave
ret

Function at 0x401882
Capabilities:
Get graphical window text

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov eax, dword [rbp + 0x10]
movsxd rax, eax
shl rax, 3
lea rcx, [0x00411fd0]
add rcx, rax
mov eax, 0x400
mov r8, rax
lea rax, [0x00413fd0]
mov r11, rax
mov rax, qword [rcx]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_GetWindowTextA
lea rax, [0x00413fd0]
leave
ret
Function at 0x402035
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xe0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
lea rax, [0x004022bd]
mov qword [rbp - 0x70], rax
mov eax, 3
mov dword [rbp - 0x78], eax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x60], rax
mov eax, 0
mov dword [rbp - 0x68], eax
mov eax, 0
mov dword [rbp - 0x64], eax
mov eax, 0xd8e9ec
mov r10, rax
mov rcx, r10
call sub.gdi32.dll_CreateSolidBrush
mov qword [rbp - 0x48], rax
movabs rax, 0x7f00
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_LoadCursorA
mov qword [rbp - 0x50], rax
movabs rax, 0x7f00
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_LoadIconA
mov qword [rbp - 0x58], rax
lea rax, [0x0040f10b]
mov qword [rbp - 0x38], rax
movabs rax, 0
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x78]
mov r10, rax
mov rcx, r10
call sub.user32.dll_RegisterClassA
movzx eax, ax
cmp eax, 0
je 0x40210f
jmp 0x40214d
mov eax, 0x10
mov r9, rax
lea rax, str.error
mov r8, rax
lea rax, str.cannot_create_regist_window.
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_MessageBoxA
mov eax, 0
jmp 0x4022bb
movabs rax, 0
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x50], rax
movabs rax, 0
mov qword [rsp + 0x48], rax
movabs rax, 0
mov qword [rsp + 0x40], rax
mov eax, 0x258
mov qword [rsp + 0x38], rax
mov eax, 0x25f
mov qword [rsp + 0x30], rax
mov eax, 0x64
mov qword [rsp + 0x28], rax
mov eax, 0x64
mov qword [rsp + 0x20], rax
mov eax, 0xcf0000
mov r9, rax
lea rax, [0x0040f130]
mov r8, rax
lea rax, [0x0040f10b]
mov r11, rax
mov eax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_CreateWindowExA
mov qword [0x004143d0], rax
movabs rax, 0
mov qword [rsp + 0x28], rax
mov eax, 0
mov qword [rsp + 0x20], rax
mov rax, qword [0x004143d0]
mov r9, rax
lea rax, [0x00401e00]
mov r8, rax
movabs rax, 0
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_CreateThread
mov eax, dword [rbp + 0x28]
mov r11, rax
mov rax, qword [0x004143d0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_ShowWindow
mov rax, qword [0x004143d0]
mov r10, rax
mov rcx, r10
call sub.user32.dll_UpdateWindow
mov eax, 0
mov r9, rax
mov eax, 0
mov r8, rax
movabs rax, 0
mov r11, rax
lea rax, [rbp - 0x30]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_GetMessageA
cmp eax, 0
je 0x4022b8
lea rax, [rbp - 0x30]
mov r10, rax
mov rcx, r10
call sub.user32.dll_TranslateMessage
lea rax, [rbp - 0x30]
mov r10, rax
mov rcx, r10
call sub.user32.dll_DispatchMessageA
jmp 0x402260
mov eax, dword [rbp - 0x20]
leave
ret
Function at 0x402328
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x68]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [rbp - 0x2c]
and eax, 1
cmp eax, 0
je 0x402361
movzx eax, word [rbp - 0x28]
mov dword [rbp - 0x7c], eax
jmp 0x402369
mov eax, 0xa
mov dword [rbp - 0x7c], eax
movabs rax, 0
mov qword [rbp - 0x70], rax
call sub.kernel32.dll_GetCommandLineA
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x10]
cmp rax, 0
je 0x4023ab
mov rax, qword [rbp + 0x10]
mov r11, rax
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strstr
mov qword [rbp - 0x70], rax
movabs rax, 0
mov rcx, qword [rbp - 0x70]
cmp rax, rcx
jne 0x4023dd
lea rax, [0x0040f138]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__strdup
mov qword [rbp - 0x70], rax
jmp 0x40240e
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
cmp rax, rcx
jbe 0x40240e
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
movsx ecx, byte [rax]
cmp ecx, 0x22
jne 0x40240e
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
mov qword [rbp - 0x70], rax
mov eax, 0x30000
mov r11, rax
mov eax, 0x10000
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__controlfp
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [rbp - 0x7c]
mov r9, rcx
mov rcx, qword [rbp - 0x70]
mov r8, rcx
movabs rcx, 0
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040202a
leave
ret

Function at 0x402333
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x68]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [rbp - 0x2c]
and eax, 1
cmp eax, 0
je 0x402361
movzx eax, word [rbp - 0x28]
mov dword [rbp - 0x7c], eax
jmp 0x402369
mov eax, 0xa
mov dword [rbp - 0x7c], eax
movabs rax, 0
mov qword [rbp - 0x70], rax
call sub.kernel32.dll_GetCommandLineA
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x10]
cmp rax, 0
je 0x4023ab
mov rax, qword [rbp + 0x10]
mov r11, rax
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strstr
mov qword [rbp - 0x70], rax
movabs rax, 0
mov rcx, qword [rbp - 0x70]
cmp rax, rcx
jne 0x4023dd
lea rax, [0x0040f138]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__strdup
mov qword [rbp - 0x70], rax
jmp 0x40240e
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
cmp rax, rcx
jbe 0x40240e
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
movsx ecx, byte [rax]
cmp ecx, 0x22
jne 0x40240e
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
mov qword [rbp - 0x70], rax
mov eax, 0x30000
mov r11, rax
mov eax, 0x10000
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__controlfp
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [rbp - 0x7c]
mov r9, rcx
mov rcx, qword [rbp - 0x70]
mov r8, rcx
movabs rcx, 0
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040202a
leave
ret
Function at 0x140002890
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x180011da0
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 0x180011ddd
test rdx, rdx
je 0x180011ddd
mov rax, qword [rax]
cmp rax, r9
jne 0x180011dc0
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 0x180006af0
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 0x180006b92
mov ebx, 1
test ebx, ebx
jle 0x180006b78
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x180006b70
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x180006b92
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x180006b63
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x180006bb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword gs:[0x58]
movzx edi, dl
mov r8d, dword [0x1805f719c]
mov rsi, rcx
mov rbx, qword [rax + r8*8]
mov eax, 0x108
cmp byte [rax + rbx], 0
jne 0x180006bf6
call fcn.1800989c8
mov r14d, 0x10
add r14, rbx
mov rcx, r14
call fcn.180009b10
xor r12d, r12d
lea rcx, [rsi + 0x10]
test al, al
cmove r14, r12
call fcn.1800120c0
mov qword [0x1805ec078], r14
test dil, dil
je 0x180006c35
mov rcx, qword [0x1805ec330]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov eax, dword [0x1805ec070]
or eax, 2
mov dword [0x1805ec070], eax
call sub.KERNEL32.dll_FlushProcessWriteBuffers
xor dil, dil
mov r15d, r12d
mov esi, r12d
movabs r13, 0x431bde82d7b634db
nop dword [rax]
mov ebp, esi
mov esi, r12d
call fcn.18000a470
mov rcx, rax
call fcn.18000a4d0
mov r8b, 1
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x10]
call fcn.180011e80
call fcn.18000a470
mov rcx, rax
call fcn.18000a4d0
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x180006cd5
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
cmp rbx, r14
je 0x180006ca0
mov rcx, rbx
call fcn.180009250
test al, al
jne 0x180006ca0
inc esi
test dil, dil
jne 0x180006ca0
mov rcx, rbx
call fcn.1800097f0
jmp 0x180006ca0
lea rcx, [rsp + 0x20]
call fcn.1800120a0
test esi, esi
je 0x180006d90
cmp esi, ebp
jl 0x180006d17
test dil, dil
je 0x180006d17
mov edx, 0x64
mov ecx, r15d
call fcn.180006af0
inc r15d
xor dil, dil
test r15b, 0x7f
jne 0x180006c60
call sub.KERNEL32.dll_SwitchToThread
jmp 0x180006c60
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]
mov edi, r12d
lea rcx, [rax + rax*4]
mov rax, r13
imul rcx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rbx
mov ebx, 1
nop dword [rax + rax]
test ebx, ebx
jle 0x180006d6e
mov eax, ebx
pause
sub rax, 1
jne 0x180006d66
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x70], rbp
jg 0x180006d88
inc edi
rol ebx, 1
cmp edi, 0x1e
jl 0x180006d60
mov dil, 1
jmp 0x180006c60
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800071f0
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 [0x1805f719c]
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.18015a180
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 [0x1805f719c]
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 0x180007380
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 0x18000739c
cmp rcx, r8
jl 0x18000738f
mov qword [rdx + 0x80], rcx
test dword [0x1805ec070], 1
je 0x1800073cb
cmp byte [rsp + 0xd0], 0
je 0x1800073cb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x180006ef0
mov rsp, r8
jmp rax