joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402d4f50
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x2d0
mov qword [rax - 0x260], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
movsd xmm6, qword [0x1402bf110]
mov ebx, ebp
lea r15, [0x1401ad6d0]
or esi, 0xffffffff
movsd xmm7, qword [0x1402bf100]
nop word [rax + rax]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
subsd xmm6, xmm0
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.14035bee0
mov rdi, rax
mov r8d, esi
lea rdx, [0x1401ade58]
lea rcx, [rsp + 0x20]
call fcn.1402ce480
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140376d70
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1402d503a
cmp eax, 0xffffffff
je 0x1402d5048
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1402d5048
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1402d5058
mov dl, 0x20
call fcn.140376df0
movaps xmm1, xmm6
mov rcx, qword [rdi]
call fcn.140377050
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x1402d5074
mov dl, 0x20
call fcn.140376df0
nop
lea rcx, [rsp + 0x38]
call fcn.14036f730
inc ebx
cmp ebx, 0x1e
jl 0x1402d4fc0
mov edx, 0x104
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x1402d5144
mov qword [rsp + 0x68], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], r15
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14035bee0
mov rbx, rax
mov r8d, esi
lea rdx, [0x1401ade80]
lea rcx, [rsp + 0x28]
call fcn.1402ce480
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140376d70
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1402d510f
cmp eax, 0xffffffff
je 0x1402d511d
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1402d511d
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x1402d512e
mov dl, 0x20
call fcn.140376df0
nop
lea rcx, [rsp + 0x40]
call fcn.14036f730
lea rax, [0x1400495e0]
mov qword [r14], rax
jmp 0x1402d5157
mov r8d, esi
lea rdx, [rsp + 0x90]
mov rcx, r14
call fcn.1402d3550
mov rax, r14
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1404e17d0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1402d7920
Capabilities:
Enumerate process modules

Disassembly:
push rsi
mov eax, 0x1250
call fcn.1404e2160
sub rsp, rax
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rsi, rcx
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1402d7abb
mov qword [rsp + 0x1260], rbx
xor ebx, ebx
mov qword [rsp + 0x1268], rbp
mov ebp, dword [rsp + 0x28]
shr ebp, 2
mov qword [rsp + 0x1270], rdi
mov qword [rsp + 0x1278], r14
test ebp, ebp
je 0x1402d7a99
or r14, 0xffffffffffffffff
nop word [rax + rax]
mov r8d, dword [rsp + rbx*4 + 0x30]
mov eax, ebx
test r8d, r8d
je 0x1402d7a8f
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1402d7a8f
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1402d7a86
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x1030]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x1402d7a86
cmp word [rsp + 0x1030], 0
jne 0x1402d7a19
xor eax, eax
jmp 0x1402d7a2e
lea rcx, [rsp + 0x1030]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x1402d7a24
cmp qword [rsi + 0x18], 8
jb 0x1402d7a3a
mov rdx, qword [rsi]
jmp 0x1402d7a3d
mov rdx, rsi
mov r10, qword [rsi + 0x10]
mov r9, rax
cmp r10, rax
cmovb r9, r10
test r9, r9
je 0x1402d7a77
lea r8, [rsp + 0x1030]
nop dword [rax + rax]
movzx ecx, word [r8]
cmp word [rdx], cx
jne 0x1402d7ad4
add rdx, 2
add r8, 2
sub r9, 1
jne 0x1402d7a60
xor r9d, r9d
test r9d, r9d
jne 0x1402d7a86
cmp r10, rax
jb 0x1402d7a86
jbe 0x1402d7ae3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, ebp
jb 0x1402d79a0
xor al, al
mov rdi, qword [rsp + 0x1270]
mov rbp, qword [rsp + 0x1268]
mov rbx, qword [rsp + 0x1260]
mov r14, qword [rsp + 0x1278]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1404e17d0
add rsp, 0x1250
pop rsi
ret
cmp word [rdx], cx
mov r9d, 1
cmovb r9d, r14d
jmp 0x1402d7a7a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1402d7a9b
Function at 0x1402d7be0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1402d7c73
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1402d7c6a
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1402d7c54
add rax, 2
test ecx, ecx
jne 0x1402d7c40
mov rcx, rbx
test edx, edx
je 0x1402d7c96
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1402d7c30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1402d7c75
Function at 0x1403277c0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
lea r9, [rsp + 0x50]
movzx eax, r8w
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rdi, rdx
mov r8, rdx
xor r14d, r14d
mov rcx, rbx
mov dword [rsp + 0x40], r14d
movzx edx, ax
call fcn.1403293e0
mov eax, dword [rbx + 0x70]
dec eax
cmp eax, 1
ja 0x140327847
mov rcx, rdi
call fcn.140310450
test eax, eax
je 0x140327847
mov rcx, qword [rbx + 0xa8]
lea r9, [rsp + 0x44]
lea edx, [r14 + 0x29]
mov dword [rsp + 0x44], r14d
lea r8d, [r14 + 0x1b]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
jne 0x140327973
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
sub edx, 0x2733
je 0x140327897
cmp edx, 0x3a
je 0x140327969
jmp 0x14032795f
mov qword [rsp + 0x88], rbp
mov edi, r14d
mov qword [rsp + 0x80], rsi
xor sil, sil
xor bpl, bpl
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 4
nop dword [rax]
mov rcx, qword [rbx + 0xa8]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x140327935
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x140327926
mov rcx, qword [rbx + 0xa8]
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov dword [rsp + 0x48], r14d
mov r8d, 0x1007
mov dword [rsp + 0x20], 4
mov bpl, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [rsp + 0x40]
jmp 0x14032792d
test sil, sil
sete sil
mov rdx, rbx
call fcn.140329110
inc edi
test sil, sil
je 0x140327945
cmp edi, 2
jl 0x1403278c0
mov rsi, qword [rsp + 0x80]
test bpl, bpl
mov rbp, qword [rsp + 0x88]
jne 0x140327969
mov eax, 0x2734
mov rdx, rbx
mov ecx, eax
call fcn.140329110
cmp dword [rbx + 0x68], 3
je 0x140327973
xor al, al
jmp 0x14032797c
mov dword [rbx + 0x68], 3
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1404e17d0
add rsp, 0x90
pop r14
pop rdi
pop rbx
ret
Function at 0x140328090
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov rcx, qword [rcx + 0xa8]
lea rax, [r11 + 0x10]
xor ebx, ebx
mov qword [r11 - 0x10], rdx
mov qword [r11 - 0x28], rbx
lea r9, [r11 + 8]
mov dword [r11 - 0x18], r8d
lea rdx, [r11 - 0x18]
mov qword [r11 - 0x30], rbx
lea r8d, [rbx + 1]
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], ebx
mov qword [r11 - 0x38], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x14032810f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140328102
lea ecx, [rax - 0x2745]
cmp ecx, 1
ja 0x1403280f8
mov eax, ebx
add rsp, 0x50
pop rbx
ret
or rax, 0xffffffffffffffff
add rsp, 0x50
pop rbx
ret
mov rax, 0xfffffffffffffffe
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov rax, 0xfffffffffffffffe
je 0x140328127
mov eax, dword [rsp + 0x60]
add rsp, 0x50
pop rbx
ret
Function at 0x140328470
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x680
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov r15, qword [rsp + 0x6d0]
movzx ebp, r9b
mov r12, qword [rsp + 0x6d8]
movzx edi, r8b
mov r14d, edx
mov rbx, rcx
test r8b, r8b
je 0x1403284e6
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x1403284e6
call fcn.1403e2360
test al, al
je 0x1403284e6
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov sil, 1
call fcn.1403e24c0
jmp 0x1403284e9
xor sil, sil
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.140502370
test dil, dil
je 0x14032851d
mov rax, qword [rbx + 0xa8]
mov qword [rsp + 0x258], rax
mov dword [rsp + 0x250], 1
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x208
call fcn.140502370
xor r8d, r8d
mov dword [rsp + 0x40], r8d
test bpl, bpl
je 0x140328566
mov rax, qword [rbx + 0xa8]
mov qword [rsp + 0x468], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x460], 1
mov dword [rsp + 0x40], 1
mov eax, 0x10624dd3
lea r9, [rsp + 0x40]
imul r14d
mov ecx, r14d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
lea rdx, [rsp + 0x250]
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, dword [rbx + 0xa8]
test r14d, r14d
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
cmovs rax, r8
inc ecx
lea r8, [rsp + 0x460]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov edi, eax
test eax, eax
jle 0x1403285e2
mov rcx, qword [rbx + 0xa8]
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1403285e2
dec edi
test sil, sil
je 0x1403285f5
mov rcx, qword [rbx + 0xb0]
mov dl, 1
call fcn.1403e24c0
test edi, edi
jle 0x140328632
mov rcx, qword [rbx + 0xa8]
lea rdx, [rsp + 0x250]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
lea rdx, [rsp + 0x460]
setne al
mov byte [r15], al
mov rcx, qword [rbx + 0xa8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
setne al
mov byte [r12], al
mov eax, edi
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.1404e17d0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140328660
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x460], rax
movzx ebp, r8b
mov ebx, edx
mov rdi, rcx
test r8b, r8b
je 0x1403286b7
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x1403286b7
call fcn.1403e2360
test al, al
je 0x1403286b7
mov rcx, qword [rdi + 0xb0]
xor edx, edx
mov sil, 1
call fcn.1403e24c0
jmp 0x1403286ba
xor sil, sil
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140502370
mov r8, qword [rdi + 0xa8]
mov eax, 0x10624dd3
imul ebx
mov ecx, ebx
mov dword [rsp + 0x40], 1
sar edx, 6
mov eax, edx
mov qword [rsp + 0x48], r8
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub ecx, eax
imul eax, ecx, 0x3e8
xor ecx, ecx
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
test bpl, bpl
je 0x140328735
test ebx, ebx
lea rdx, [rsp + 0x40]
cmovs rax, rcx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
jmp 0x140328788
mov qword [rsp + 0x258], r8
lea r9, [rsp + 0x250]
test ebx, ebx
mov dword [rsp + 0x250], 1
lea r8, [rsp + 0x40]
cmovs rax, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jle 0x140328788
mov rcx, qword [rdi + 0xa8]
lea rdx, [rsp + 0x250]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140328788
dec ebx
test sil, sil
je 0x14032879b
mov rcx, qword [rdi + 0xb0]
mov dl, 1
call fcn.1403e24c0
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x14035bdd0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x58
mov qword [r11 - 0x20], 0xfffffffffffffffe
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x38], rax
mov r9, rdx
mov r8, rcx
mov edx, 2
lea rcx, [r11 - 0x28]
call fcn.14035d7b0
nop
mov ecx, dword [0x140587604]
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140582a64], eax
jle 0x14035be62
lea rcx, [0x140582a64]
call fcn.1404e1a10
cmp dword [0x140582a64], 0xffffffff
jne 0x14035be62
lea rcx, [0x140015930]
call fcn.14035bc80
mov dword [0x140582a60], eax
lea rcx, [0x140582a64]
call fcn.1404e19b0
or edx, 0xffffffff
cmp dword [0x140582a60], 0
je 0x14035bea6
mov eax, edx
lock xadd dword [0x140582a60], eax
cmp eax, 1
jne 0x14035bea6
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14035be91
mov ecx, 7
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x40000015
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14035bec4
cmp eax, 0xffffffff
je 0x14035bed2
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14035bed2
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
add rsp, 0x58
ret

Function at 0x14035c010
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x58
mov qword [r11 - 0x20], 0xfffffffffffffffe
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x38], rax
mov r9, rdx
mov r8, rcx
mov edx, 3
lea rcx, [r11 - 0x28]
call fcn.14035d7b0
nop
lea rcx, [0x1400495e0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14035c077
cmp eax, 0xffffffff
je 0x14035c086
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14035c086
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
nop
test eax, eax
je 0x14035c09d
mov ecx, 7
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
mov rcx, rax
mov edx, 0x40000015
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
int3
Function at 0x14035c910
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov ebx, ecx
lea r8, [rbp + 0x77]
mov qword [rbp + 0x37], r8
lea rcx, [rbp - 0x31]
call fcn.14036dfd0
nop
mov edx, ebx
lea rcx, [rbp - 0x29]
call fcn.1403c4a10
nop
mov byte [rbp - 0x39], 0x29
mov dword [rbp - 0x21], 2
lea rcx, [0x140015c8c]
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 7], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.14035b5a0
nop
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x14035c9b5
cmp eax, ebx
je 0x14035c9c3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14035c9c3
mov rcx, qword [rbp - 0x29]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov qword [rbp + 0xf], 2
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
lea r8, [rbp - 0x31]
lea rdx, [rbp + 0xf]
lea ecx, [rax + 2]
call fcn.14035d8a0
mov ecx, dword [0x140587604]
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140582a64], eax
jle 0x14035ca3f
lea rcx, [0x140582a64]
call fcn.1404e1a10
cmp dword [0x140582a64], 0xffffffff
jne 0x14035ca3f
lea rcx, [0x140015930]
call fcn.14035bc80
mov dword [0x140582a60], eax
lea rcx, [0x140582a64]
call fcn.1404e19b0
cmp dword [0x140582a60], 0
je 0x14035ca80
mov eax, ebx
lock xadd dword [0x140582a60], eax
cmp eax, 1
jne 0x14035ca80
lea ecx, [rax + 0x16]
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14035ca6b
mov ecx, 7
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x40000015
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
test eax, eax
je 0x14035ca9c
cmp eax, 0xffffffff
je 0x14035caaa
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14035caaa
mov rcx, qword [rbp - 0x31]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
add rsp, 0xa8
pop rbx
pop rbp
ret
Function at 0x14035cac0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xa8
mov qword [rbp + 0x2f], 0xfffffffffffffffe
or ebx, 0xffffffff
mov edx, ebx
lea rcx, [rbp - 0x29]
call fcn.1403c4a10
nop
lea r8, [rbp + 0x6f]
mov qword [rbp + 0x37], r8
mov rdx, qword [rbp + 0x67]
lea rcx, [rbp - 0x31]
call fcn.14036dfd0
nop
mov byte [rbp - 0x39], 0x29
mov dword [rbp - 0x21], 2
lea rax, [0x140015c8c]
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x21]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 7], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.14035b5a0
mov qword [rbp + 0xf], 2
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
lea r8, [rbp - 0x31]
lea rdx, [rbp + 0xf]
lea ecx, [rbx + 3]
call fcn.14035d8a0
mov ecx, dword [0x140587604]
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140582a64], eax
jle 0x14035cbcd
lea rcx, [0x140582a64]
call fcn.1404e1a10
cmp dword [0x140582a64], ebx
jne 0x14035cbcd
lea rcx, [0x140015930]
call fcn.14035bc80
mov dword [0x140582a60], eax
lea rcx, [0x140582a64]
call fcn.1404e19b0
cmp dword [0x140582a60], 0
je 0x14035cc0e
mov eax, ebx
lock xadd dword [0x140582a60], eax
cmp eax, 1
jne 0x14035cc0e
lea ecx, [rax + 0x16]
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14035cbf9
mov ecx, 7
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x40000015
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
test eax, eax
je 0x14035cc2c
cmp eax, 0xffffffff
je 0x14035cc3b
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14035cc3b
mov rcx, qword [rbp - 0x31]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x14035cc57
cmp eax, 0xffffffff
je 0x14035cc65
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14035cc65
mov rcx, qword [rbp - 0x29]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
add rsp, 0xa8
pop rbx
pop rbp
ret
Function at 0x14035ef00
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x58
mov qword [r11 - 0x20], 0xfffffffffffffffe
lea rax, [r11 + 0x18]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x38], rax
mov r9, rdx
mov r8, rcx
mov edx, 1
lea rcx, [r11 - 0x28]
call fcn.14035d7b0
nop
mov ecx, dword [0x140587604]
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140582a6c], eax
jle 0x14035ef92
lea rcx, [0x140582a6c]
call fcn.1404e1a10
cmp dword [0x140582a6c], 0xffffffff
jne 0x14035ef92
lea rcx, [0x140015948]
call fcn.14035bc80
mov dword [0x140582a68], eax
lea rcx, [0x140582a6c]
call fcn.1404e19b0
or edx, 0xffffffff
cmp dword [0x140582a68], 0
je 0x14035efd6
mov eax, edx
lock xadd dword [0x140582a68], eax
cmp eax, 1
jne 0x14035efd6
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14035efc1
mov ecx, 7
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x40000015
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14035eff4
cmp eax, 0xffffffff
je 0x14035f002
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14035f002
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
add rsp, 0x58
ret

Function at 0x14035f010
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rbx, r8
mov rdi, rdx
mov esi, ecx
call fcn.14035eba0
test al, al
je 0x14035f03e
xor al, al
jmp 0x14035f0ad
mov r9, rbx
mov r8, rdi
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.14035cc70
nop
mov eax, 0xa
mov word [rsp + 0x58], ax
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.1403646a0
lea rcx, [rsp + 0x20]
call fcn.14036dfa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14035f09d
cmp eax, 0xffffffff
je 0x14035f0ab
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x14035f0ab
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret