joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039770
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.14006f000
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x14003985e
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14003985e
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14003985e
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x14003985e
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14003985e
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x140039860
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14006c530
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140039f50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r14, rcx
movsxd r15, r8d
lea rcx, [rsp + 0x40]
call fcn.140028020
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140028960
xor edi, edi
mov dword [rsp + 0x80], r15d
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x38]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
cmp rdx, 8
jb 0x140039ff8
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039ff3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a1b2
call fcn.14006c550
mov rax, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
mov qword [rsp + 0xe0], rbx
mov rcx, rdi
mov qword [rsp + 0xa8], rbp
movabs rbx, 0xcbf29ce484222325
mov rbp, qword [rsp + 0x60]
mov rdx, rbx
mov qword [rsp + 0xa0], rsi
lea rsi, [rax + rax]
mov qword [rsp + 0x98], r12
mov r12, qword [rsp + 0x78]
cmp r12, 8
mov qword [rsp + 0x90], r13
movabs r13, 0x100000001b3
cmovae r8, rbp
test rsi, rsi
je 0x14003a074
nop
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r13
cmp rcx, rsi
jb 0x14003a060
mov r9, r15
lea r8, [rsp + 0x60]
xor r9, rdx
lea rcx, [r14 + 0x18]
lea rdx, [rsp + 0x20]
call fcn.140027054
cmp qword [rax + 8], rdi
je 0x14003a130
cmp r12, 8
lea rcx, [rsp + 0x60]
cmovae rcx, rbp
test rsi, rsi
je 0x14003a0c3
nop dword [rax]
movzx eax, byte [rdi + rcx]
inc rdi
xor rbx, rax
imul rbx, r13
cmp rdi, rsi
jb 0x14003a0b0
xor r15, rbx
lea r8, [rsp + 0x60]
mov r9, r15
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x18]
call fcn.140027054
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003a130
mov rcx, qword [r14 + 0x48]
mov r8, qword [r14 + 0x30]
and rcx, r15
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14003a11c
cmp rax, rdx
jne 0x14003a112
mov rax, qword [r14 + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x14003a127
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
jmp 0x14003a127
cmp rax, rdx
jne 0x14003a127
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [r14 + 0x20]
call fcn.14003ca70
mov r13, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xe0]
cmp r12, 8
jb 0x14003a17f
lea rdx, [r12*2 + 2]
mov rax, rbp
cmp rdx, 0x1000
jb 0x14003a177
mov rbp, qword [rbp - 8]
add rdx, 0x27
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a1ac
mov rcx, rbp
call fcn.14006c550
mov rbp, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14006c530
add rsp, 0xb0
pop r15
pop r14
pop rdi
ret
call fcn.14007d788
int3
call fcn.14007d788
int3
Function at 0x14003bfe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rbx, rcx
mov r11, qword [rdx + 0x10]
mov r10, rdx
jb 0x14003bffe
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
add r11, r11
je 0x14003c034
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r11
jb 0x14003c020
movsxd rdi, dword [rdx + 0x20]
mov r8, rdx
xor rdi, r9
lea rdx, [rsp + 0x20]
mov r9, rdi
mov rcx, rbx
call fcn.140027054
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003c0af
mov r8, qword [rbx + 0x30]
and r8, rdi
shl r8, 4
add r8, qword [rbx + 0x18]
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14003c08b
cmp rax, rdx
jne 0x14003c081
mov rax, qword [rbx + 8]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x14003c096
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
jmp 0x14003c096
cmp rax, rdx
jne 0x14003c096
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [rbx + 8]
call fcn.14003ca70
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x14003ee30
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14003ee5c
jle 0x14003ee58
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003ee71
jle 0x14003ee6d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003ee84
jle 0x14003ee81
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14003ee99
jle 0x14003ee95
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x14003ef05
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x14003eebe
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x14003eeea
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003eee2
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14003eef1
add rbx, 0x118
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14003eefe
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ef20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14003ef4d
mov rcx, qword [rcx + 0x10]
cmp rdx, rcx
je 0x14003ef4d
test rcx, rcx
jle 0x14003ef49
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rdi
mov r10, qword [rbx + 0x10]
test r10, r10
jne 0x14003ef66
mov eax, 0xc0000141
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x14003f129
movsxd rdx, dword [r10 + 0x3c]
add rdx, r10
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], rdx
cmp dword [rdx], 0x4550
jne 0x14003f129
mov eax, 0x20b
mov qword [rsp + 0x40], rsi
mov r9, rdx
cmp word [rdx + 0x18], ax
jne 0x14003efb7
mov byte [rbx + 0x19], 1
lea rdi, [rdx + 0x108]
mov rax, qword [rdx + 0x30]
mov r8b, 1
jmp 0x14003efc8
mov byte [rbx + 0x19], 0
lea rdi, [rdx + 0xf8]
mov eax, dword [rdx + 0x34]
xor r8b, r8b
mov qword [rbx + 0x30], rax
mov eax, dword [rdx + 0x50]
mov dword [rbx + 0x38], eax
mov eax, dword [rdx + 0x54]
mov dword [rbx + 0x40], eax
mov eax, dword [rdx + 0x28]
mov dword [rbx + 0x3c], eax
mov eax, 0x5e
movzx r11d, word [rdx + 0x5c]
mov dword [rbx + 0x54], r11d
movzx eax, word [rax + r9]
mov dword [rbx + 0x5c], eax
movzx eax, word [rdx + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [rbx + 0x1a], al
test r8b, r8b
je 0x14003f011
add rdx, 0xf8
jmp 0x14003f018
add rdx, 0xe8
mov eax, dword [rdx]
test eax, eax
je 0x14003f053
cmp byte [rbx + 0x18], 0
mov r8d, eax
je 0x14003f0a7
mov rcx, qword [rbx + 0x60]
mov r9, qword [rbx + 0x68]
cmp rcx, r9
je 0x14003f053
mov edx, dword [rcx + 0xc]
cmp r8, rdx
jb 0x14003f04a
mov eax, dword [rcx + 8]
add eax, edx
cmp r8, rax
jb 0x14003f099
add rcx, 0x28
cmp rcx, r9
jne 0x14003f038
mov byte [rbx + 0x1b], 0
mov rax, qword [rbx + 0x20]
xor esi, esi
cmp si, word [rax + 6]
jae 0x14003f117
mov qword [rsp + 0x38], rbp
nop dword [rax]
mov rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x70]
je 0x14003f0f0
movups xmm0, xmmword [rdi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rdi + 0x20]
movsd qword [rdx + 0x20], xmm0
add qword [rbx + 0x68], 0x28
jmp 0x14003f0fc
mov eax, dword [rcx + 0x14]
sub rax, rdx
add rax, r10
add rax, r8
jmp 0x14003f0aa
add rax, r10
test rax, rax
je 0x14003f053
test byte [rax + 0x10], 1
je 0x14003f053
sub eax, r10d
mov byte [rbx + 0x1b], 1
add eax, 0x10
lea rdx, [rbx + 0xf8]
lea rcx, [rbx + 0x138]
mov dword [rbx + 0x58], eax
call fcn.1400468b0
test al, al
je 0x14003f057
xor edx, edx
lea rcx, [rbx + 0x138]
call fcn.1400469f0
jmp 0x14003f057
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.140040960
mov rax, qword [rbx + 0x20]
inc esi
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x14003f070
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov eax, 0xc000007b
add rsp, 0x20
pop rdi
ret
Function at 0x140044f90
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor esi, esi
lea r9, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x50], rsi
add rcx, 0x78
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
call fcn.1400423a0
cmp qword [rsp + 0x50], rsi
je 0x14004508d
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004501c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x140045053
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x48], rsi
test rdx, rdx
je 0x14004508d
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x48]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400450a0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140045144
call fcn.1400425a0
test al, al
je 0x140045144
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400450f6
jle 0x1400450f2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x140045136
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140045136
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140045136
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140045144
call fcn.140042270
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004a390
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1400d03c8], 0
jne 0x14004a401
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x1400d03b8], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1400d03c0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400d03c8], rax
lea rax, [0x1400d03b8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006c530
add rsp, 0x68
ret
Function at 0x140057970
Capabilities:
Terminate thread

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor ebp, ebp
test rcx, rcx
je 0x1400579a5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400579ba
jle 0x1400579b6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
nop dword [rax]
mov edx, edi
mov rcx, rbx
call fcn.1400576b0
inc edi
cmp edi, 4
jl 0x1400579c0
cmp qword [rbx + 0x10], rbp
je 0x140057aaf
call fcn.1400147cc
mov rcx, qword [rbx]
mov dword [rsp + 0x40], ebp
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
je 0x140057a45
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], ebp
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140057a3a
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], ebp
jl 0x140057a45
lea rcx, [rbx + 8]
call fcn.140057ad0
jmp 0x140057aa3
mov qword [rsp + 0x78], rsi
mov rsi, qword [rbx + 8]
mov qword [rsp + 0x80], r14
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], bpl
jne 0x140057a87
mov r8, qword [rdi + 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
call fcn.140057b40
mov rcx, rdi
mov edx, 0x38
mov rdi, qword [rdi]
call fcn.14006c550
cmp byte [rdi + 0x19], bpl
je 0x140057a60
mov r14, qword [rsp + 0x80]
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov rsi, qword [rsp + 0x78]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x50], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006c530
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x140058750
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
jne 0x140058775
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x10], 3
jne 0x140058838
cmp byte [rcx + 0x16], 0
jne 0x140058838
call fcn.140027a30
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov ecx, 0x20
call fcn.14006c558
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x38], 0x1f
movups xmm0, xmmword [str.Wow64SuspendThread]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400b9f20]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], 0
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140058860
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005882a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058825
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058853
call fcn.14006c550
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.14007d788
int3

Function at 0x140058860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400483a0
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jb 0x140058896
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400588c4
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x1400588b1
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140028dd0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14005890c
cmp rbx, qword [rsi + 8]
je 0x14005890c
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140058916
mov rcx, qword [r14]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp rax
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140058930
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x970
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov edi, edx
mov rbx, rcx
cmp edx, 4
ja 0x140058b0f
xor edx, edx
mov qword [rsp + 0x988], rsi
mov r8d, 0x670
lea rcx, [rsp + 0x2f0]
call fcn.14006f000
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call fcn.14006f000
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x1400589bf
mov dword [rsp + 0x320], 0x100010
lea r8, [rsp + 0x2f0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x1400589d6
mov dword [rsp + 0x20], 0x100010
lea r8, [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test sil, sil
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
js 0x140058ae6
mov edx, dword [r8]
test edi, edi
jne 0x140058a04
and edx, 0xfff0fffe
mov dword [r8], edx
jmp 0x140058a66
cmp edi, 1
jne 0x140058a0e
and edx, 0xfffffffb
jmp 0x140058a20
cmp edi, 2
mov eax, 0xffffffef
mov ecx, 0xffffffbf
cmovne eax, ecx
and edx, eax
cmp edi, 1
jne 0x140058a2d
and edx, 0xff3fffff
jmp 0x140058a3f
cmp edi, 2
mov eax, 0xf3ffffff
mov ecx, 0x3fffffff
cmovne eax, ecx
and edx, eax
cmp edi, 1
jne 0x140058a4f
and edx, 0xffcfffff
mov dword [r8], edx
jmp 0x140058a66
cmp edi, 2
mov eax, 0xfcffffff
mov ecx, 0xcfffffff
cmovne eax, ecx
and eax, edx
mov edx, eax
mov dword [r8], eax
mov eax, edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x140058a82
btr edx, 8
mov dword [r8], edx
mov rcx, rbx
mov edi, 0xc000071c
call fcn.140058750
test sil, sil
jne 0x140058ab3
test al, al
je 0x140058ae4
mov rax, qword [rbx]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x140058acd
test al, al
je 0x140058ae4
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
je 0x140058ae4
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
mov rsi, qword [rsp + 0x988]
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.14006c530
mov rbx, qword [rsp + 0x990]
add rsp, 0x970
pop rdi
ret
xor eax, eax
jmp 0x140058aee
Function at 0x140058b20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x970
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x670
call fcn.14006f000
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call fcn.14006f000
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov rax, qword [rcx + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x140058ba4
mov dword [rsp + 0x320], 0x100010
lea r8, [rsp + 0x2f0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x140058bbb
mov dword [rsp + 0x20], 0x100010
lea r8, [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test sil, sil
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
jns 0x140058bda
xor eax, eax
jmp 0x140058ccd
xor edx, edx
mov ecx, edx
mov eax, edx
cmp qword [rsp + rax*8 + 0x338], rbx
je 0x140058c05
cmp dword [rsp + rax*4 + 0x24], ebx
je 0x140058c05
inc ecx
inc rax
cmp rax, 4
jl 0x140058be0
mov eax, 0xc0000225
jmp 0x140058ccd
movsxd rax, ecx
test sil, sil
jne 0x140058c17
mov qword [rsp + rax*8 + 0x338], rdx
jmp 0x140058c1b
mov dword [rsp + rax*4 + 0x24], edx
mov edx, dword [r8]
test ecx, ecx
jne 0x140058c2a
and edx, 0xfff0fffe
jmp 0x140058c4a
cmp ecx, 1
jne 0x140058c37
and edx, 0xff0ffffb
jmp 0x140058c4a
cmp ecx, 2
jne 0x140058c44
and edx, 0xf0ffffef
jmp 0x140058c4a
and edx, 0xfffffbf
mov eax, edx
mov dword [r8], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x140058c69
btr edx, 8
mov dword [r8], edx
mov rcx, rdi
mov ebx, 0xc000071c
call fcn.140058750
test sil, sil
jne 0x140058c9a
test al, al
je 0x140058ccb
mov rax, qword [rdi]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x140058cb4
test al, al
je 0x140058ccb
mov rax, qword [rdi]
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
je 0x140058ccb
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebx
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret