joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001ba7c
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
and qword [rbp - 0x11], 0
xorps xmm0, xmm0
and qword [rbp + 0xf], 0
mov edi, r8d
mov r8d, setsockopt
mov dword [rbp + 0x67], 0x10400
mov rsi, rdx
mov rbx, rcx
movups xmmword [rbp + 0x17], xmm0
lea r14d, [r8 - 0xf]
mov edx, r14d
mov ecx, r14d
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x18001bae9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x18001bc13
xor edx, edx
lea rcx, [rbp + 0x17]
lea r8d, [rdx + 0x30]
call qword [sym.imp.ntdll.dll_memset]
and dword [rbp + 0x1b], 0
lea r9, [rbp - 0x11]
lea r8, [rbp + 0x17]
mov dword [rbp + 0x1f], r14d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
movzx ecx, di
mov word [rbp + 7], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 9], ax
mov r8d, reloc.WS2_32.dll_recv
mov rax, qword [rbp - 0x11]
lea rdx, [rbp + 7]
mov rcx, qword [rax + 0x20]
mov eax, dword [rcx + 4]
mov rcx, qword [rbx]
mov dword [rbp + 0xb], eax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18001bade
mov rcx, qword [rbx]
lea r9, [rbp + 0x67]
mov esi, 0xffff
mov r14d, 4
mov edx, esi
mov dword [rsp + 0x20], r14d
mov r8d, 0x1002
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea r9, [rbp + 0x67]
mov r8d, 0x1001
mov dword [rsp + 0x20], r14d
mov edx, esi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx]
lea edi, [r14 - 3]
lea r9, [rbp - 0x19]
mov dword [rbp - 0x19], edi
lea r8d, [r14 + 4]
mov dword [rsp + 0x20], r14d
mov edx, esi
call qword [sym.imp.WS2_32.dll_setsockopt]
and qword [rsp + 0x40], 0
lea r9d, [r14 + 8]
and qword [rsp + 0x38], 0
lea r8, [rbp - 9]
mov rcx, qword [rbx]
mov eax, 0x2710
and dword [rbp - 0x15], 0
mov edx, 0x98000004
mov dword [rbp - 5], eax
mov dword [rbp - 1], eax
lea rax, [rbp - 0x15]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rbp - 9], edi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rbx]
lea r9, [rbp + 0x7f]
lea r8d, [r14 + 0x7c]
mov dword [rbp + 0x7f], 0xa0001
mov edx, esi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WS2_32.dll_setsockopt]
xor eax, eax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x18001bc2c
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ebx, r8d
add rcx, 0x18
mov rdi, rdx
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rcx, qword [rsi]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, [rsi + 0x18]
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18001bc90
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
and dword [rbp + 0x20], 0
mov rbx, rdx
mov r14d, r8d
mov rdi, rcx
mov rcx, rbx
xor edx, edx
mov r8d, 0x1000
call qword [sym.imp.ntdll.dll_memset]
and dword [rbp - 0x2c], 0
lea rsi, [rdi + 8]
and dword [rsi], 0
xor r9d, r9d
and qword [rbp - 0x20], 0
xorps xmm0, xmm0
xor r8d, r8d
mov qword [rbp - 0x28], rbx
xor ecx, ecx
mov dword [rbp - 0x30], 0x1000
lea edx, [r9 + 1]
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
and qword [rsp + 0x30], 0
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi]
mov r9, rsi
mov qword [rbp - 8], rax
mov r8d, 1
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x3e5
jne 0x18001bd7e
xor r8d, r8d
lea rdx, [rbp - 8]
mov r9d, r14d
lea ecx, [r8 + 1]
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
test eax, eax
je 0x18001bd5a
cmp eax, 0x102
jne 0x18001bd7e
jmp 0x18001bd76
mov rcx, qword [rdi]
lea rax, [rbp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rdx, [rbp - 0x20]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x18001bd8d
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18001ce24
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rbp, qword [rcx]
mov r15, rdx
mov rbx, rcx
call fcn.1800042a4
mov rcx, qword [rbx + 0x58]
mov rdx, rax
mov r14, rax
call qword [sym.imp.USER32.dll_EnumWindows]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x134d74f
movdqu xmmword [rsp + 0x24], xmm0
mov dword [rsp + 0x34], 0x12001
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov rcx, r14
mov rdx, qword [r14 + 0x30]
call rdx
add eax, 8
mov qword [rsp + 0x3c], rbx
mov dword [rsp + 0x38], eax
call fcn.1800042a4
mov rcx, rax
mov rsi, rax
call qword [rax + 0x18]
lea r8d, [rbx + 0x28]
mov rcx, rsi
lea rdx, [rsp + 0x20]
call qword [rsi + 0x28]
mov r9, qword [r15 + 0x38]
xor edx, edx
mov rbx, qword [rsi + 0x28]
mov rcx, r15
call r9
mov rdx, rax
mov r8d, 8
mov rcx, rsi
call rbx
mov rax, qword [r14 + 0x30]
mov rcx, r14
mov rdi, qword [rsi + 0x28]
call rax
mov r8, qword [r14 + 0x38]
xor edx, edx
mov rcx, r14
mov ebx, eax
call r8
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call rdi
mov rax, qword [rsi + 0x30]
mov rcx, rsi
mov rdi, qword [rbp + 0x30]
call rax
mov r8, qword [rsi + 0x38]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call r8
mov r8d, ebx
mov rdx, rax
mov rcx, rbp
call rdi
mov rcx, rsi
call fcn.180004324
mov rcx, r15
call fcn.180004324
mov rcx, r14
call fcn.180004324
lea r11, [rsp + 0x50]
xor eax, eax
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180021a10
Capabilities:
Encode data using xor

Disassembly:
mov r8d, r8d
jmp 0x180021a10
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r11, r8
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x180021a39
xor eax, eax
jmp 0x180021cbe
lea r15, [0x180000000]
not r9d
cmp r8, 0x17
jb 0x180021c4f
test r10b, 3
je 0x180021a75
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [r15 + rax*4 + 0x2c610]
sub r11, 1
jne 0x180021a4d
movabs rax, 0xcccccccccccccccd
xor edi, edi
mul r11
xor esi, esi
xor ebp, ebp
mov rbx, rdx
xor r14d, r14d
shr rbx, 4
lea rax, [rbx + rbx*4]
shl rax, 2
sub r11, rax
sub rbx, 1
mov qword [rsp + 0x80], r11
mov qword [rsp + 0x88], rbx
je 0x180021c08
xor r9d, dword [r10]
lea rdx, [0x180000000]
xor edi, dword [r10 + 4]
mov r12d, 1
xor esi, dword [r10 + 8]
xor ebp, dword [r10 + 0xc]
xor r14d, dword [r10 + 0x10]
movzx eax, r9b
add r10, 0x14
mov r13d, r9d
mov r11d, edi
mov ebx, esi
mov r9d, dword [r15 + rax*4 + 0x2ca10]
movzx eax, dil
mov qword [rsp + 0x78], r10
mov edi, dword [r15 + rax*4 + 0x2ca10]
movzx eax, sil
mov esi, dword [r15 + rax*4 + 0x2ca10]
mov eax, ebp
mov qword [rsp + 0x20], rax
mov r10, qword [rsp + 0x20]
movzx eax, bpl
mov ebp, dword [r15 + rax*4 + 0x2ca10]
mov eax, r14d
mov qword [rsp + 0x28], rax
movzx eax, r14b
mov r14d, dword [r15 + rax*4 + 0x2ca10]
mov r15d, 0x100
lea eax, [r12*8]
inc r12d
movsxd r8, eax
mov rax, r13
mov rcx, r8
shr rax, cl
movzx ecx, al
mov rax, r11
add rcx, r15
xor r9d, dword [rdx + rcx*4 + 0x2ca10]
mov rcx, r8
shr rax, cl
movzx ecx, al
mov rax, rbx
add rcx, r15
xor edi, dword [rdx + rcx*4 + 0x2ca10]
mov rcx, r8
shr rax, cl
movzx edx, al
lea rax, [0x180000000]
add rdx, r15
xor esi, dword [rax + rdx*4 + 0x2ca10]
mov rax, r10
shr rax, cl
movzx edx, al
lea rax, [0x180000000]
add rdx, r15
xor ebp, dword [rax + rdx*4 + 0x2ca10]
lea rdx, [0x180000000]
mov rax, qword [rsp + 0x28]
shr rax, cl
movzx ecx, al
add rcx, r15
add r15, 0x100
xor r14d, dword [rdx + rcx*4 + 0x2ca10]
cmp r12d, 4
jl 0x180021b3e
sub qword [rsp + 0x88], 1
lea r15, [0x180000000]
mov r10, qword [rsp + 0x78]
jne 0x180021ab7
mov r11, qword [rsp + 0x80]
lea r15, [0x180000000]
xor r9d, dword [r10]
mov ecx, r9d
call fcn.180021cd4
xor eax, dword [r10 + 4]
xor eax, edi
mov ecx, eax
call fcn.180021cd4
xor eax, dword [r10 + 8]
xor eax, esi
mov ecx, eax
call fcn.180021cd4
xor eax, dword [r10 + 0xc]
xor eax, ebp
mov ecx, eax
call fcn.180021cd4
xor eax, dword [r10 + 0x10]
xor eax, r14d
mov ecx, eax
call fcn.180021cd4
mov r9d, eax
add r10, 0x14
cmp r11, 8
jb 0x180021c91
mov rdx, r11
shr rdx, 3
imul rcx, rdx, 0xfffffffffffffff8
add r11, rcx
mov r8d, 8
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [r15 + rax*4 + 0x2c610]
sub r8, 1
jne 0x180021c69
sub rdx, 1
jne 0x180021c63
test r11, r11
je 0x180021cb8
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [r15 + rax*4 + 0x2c610]
sub r11, 1
jne 0x180021c96
not r9d
mov eax, r9d
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180021cd4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8d, 4
movzx edx, cl
lea rax, [0x18002c610]
shr ecx, 8
xor ecx, dword [rax + rdx*4]
sub r8, 1
jne 0x180021cda
mov eax, ecx
ret
Function at 0x180026b80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x180034008]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.DLL_IsProcessorFeaturePresent]
test eax, eax
je 0x180026bbc
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.180024a80
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.ntdll.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.DLL_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_RtlLookupFunctionEntry]
test rax, rax
je 0x180026c78
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_UnhandledExceptionFilter]
test eax, eax
jne 0x180026cde
test ebx, ebx
jne 0x180026cde
lea ecx, [rax + 2]
call fcn.180024a80
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180024640
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x2fc4ca510
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4caf12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ef108]
test eax, eax
je 0x2fc4cafaa
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ef110]
mov qword [rbp - 8], rax
jmp 0x2fc4caf8e
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 0x2fc4caf82
cmp qword [rbp - 0x10], 0
je 0x2fc4caf82
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 0x2fc4caf48
lea rax, [0x2fc4ef0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cafab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb0b0
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 0x2fc4cb0d8
mov eax, 0
jmp 0x2fc4cb126
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 0x2fc4cb101
mov eax, 0
jmp 0x2fc4cb126
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 0x2fc4cb121
mov eax, 0
jmp 0x2fc4cb126
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb12c
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 0x2fc4cb1aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb1a1
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 0x2fc4cb1a1
mov rax, qword [rbp - 8]
jmp 0x2fc4cb1bf
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 0x2fc4cb174
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140006e30
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x1400114e0
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 0x14001151d
test rdx, rdx
je 0x14001151d
mov rax, qword [rax]
cmp rax, r9
jne 0x140011500
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 0x140007410
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, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x14063c32c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1401a4b70
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 [0x14063c32c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1400075a0
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 0x1400075bc
cmp rcx, r8
jl 0x1400075af
mov qword [rdx + 0x80], rcx
test dword [0x140633e50], 1
je 0x1400075eb
cmp byte [rsp + 0xd0], 0
je 0x1400075eb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140007110
mov rsp, r8
jmp rax
Function at 0x1400075f0
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 [0x14063c32c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret