joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038840
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1413d3ad0]
mov rcx, qword [0x1413d3bb8]
test rcx, rcx
jne 0x14003888c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14003895a
mov rcx, rax
mov qword [0x1413d3bb8], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14003895a
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140038a70]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003894c
mov rcx, qword [rbx]
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x18], rax
call qword [rax]
mov rax, qword [rbp - 0x18]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x20]
je 0x140038925
cmp qword [rax + 0x10], 0x11
jae 0x14003890e
mov r8, qword [rbp - 0x10]
jmp 0x140038916
mov r8, qword [rbp - 0x10]
mov r8, qword [r8 - 8]
mov rcx, qword [0x1413d3bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1413d3bb8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14004e040
ud2

Function at 0x1400394e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14003951f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x140029090]
mov qword [rbp - 0x28], rax
lea rax, [0x1413c1ed0]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, [0x1413c1f08]
lea rcx, [rbp - 0x60]
call fcn.14004e110
ud2
Function at 0x33e151370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
jne 0x33e1514a9
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
jne 0x33e1514ac
mov rax, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
jmp 0x33e1514ad
nop
jmp 0x33e1514ad
nop
add rsp, 0x50
pop rbp
ret
Function at 0x33e1514cd
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov r9d, 0
lea r8, str.Gemini_Security
lea rax, str.Welcome_
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
mov dword [rbp - 4], 0
mov r9d, 4
mov r8d, 0x3000
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x33e15154f
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Allocate_memory___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xffffffff
jmp 0x33e15164d
lea rcx, [rbp - 0x18]
mov edx, dword [rbp - 4]
lea rax, [rbp - 0x18]
mov r9d, 0
mov r8, rcx
mov rcx, rax
call sym.DeAES_char__unsigned_long__char__unsigned_long_
lea rdx, [rbp - 0x1c]
mov rax, qword [rbp - 0x10]
mov r9, rdx
mov r8d, 0x20
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x33e1515ba
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_change_memory_protection___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffe
jmp 0x33e15164d
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x33e151617
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Create_the_thread___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffd
jmp 0x33e15164d
mov rax, qword [rbp - 0x10]
mov rdx, rax
lea rax, str._n_nalloc_mem_:__p_n
mov rcx, rax
call sym.printf_char_const__::_
mov rax, qword [rbp - 0x18]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x10]
call rax
mov eax, 0
add rsp, 0x50
pop rbp
ret

Function at 0x33e151800
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x33e151870
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x33e15c064]
mov rbx, rcx
test esi, esi
jle 0x33e1519a0
mov rax, qword [0x33e15c068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x33e1518bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x33e151945
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x33e1518a0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x33e1519c2
mov rax, qword [0x33e15c068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x33e15c068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x33e1519a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x33e15193e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x33e151950
add dword [0x33e15c064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x33e15c068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x33e15193e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x33e1518c8
mov rax, qword [0x33e15c068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x33e151d40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x33e15c0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x33e15c080]
test rbx, rbx
je 0x33e151d9c
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 eax, eax
jne 0x33e151d93
test rsi, rsi
je 0x33e151d93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x33e151d78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x33e151fb0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x33e151fc8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x33e151fd0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x33e151fe0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x33e15202d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x33e152024
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x33e15202f
add rax, 0x28
cmp rax, r9
jne 0x33e152010
xor eax, eax
ret

Function at 0x33e152030
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x33e1520c0
mov rdx, qword [0x33e159650]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x33e1520ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x33e1520ae
cmp word [rax + 0x18], 0x20b
jne 0x33e1520ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x33e1520c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x33e152099
add rbx, 0x28
cmp rbx, rdi
je 0x33e1520c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x33e152090
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x33e159650]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x33e1520f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x33e1520f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x33e1520f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x33e15214d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x33e152144
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x33e1520f0
add rax, 0x28
cmp rax, r9
jne 0x33e152130
xor eax, eax
ret

Function at 0x33e152150
Capabilities:
Parse pe header

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

Function at 0x33e152190
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x33e159650]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x33e1521b0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x33e1521b8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x33e1521b0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x33e152200
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x33e1521f7
test rcx, rcx
je 0x33e1521b0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x33e1521e8
xor eax, eax
ret
Function at 0x33e152210
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x33e159650]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x33e152270
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x33e152278
ret
cmp word [r8 + 0x18], 0x20b
jne 0x33e152270
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x33e152270
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x33e1522c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x33e1522d0
add rdx, 0x28
cmp r9, rdx
jne 0x33e1522b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x33e159650]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x33e152302
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x33e152310
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x33e152302
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x33e152302
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x33e152302
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x33e152365
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x33e152378
add rdx, 0x28
cmp rdx, r10
jne 0x33e152350
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x33e152387
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x33e152397
mov edx, dword [rax + 0xc]
test edx, edx
je 0x33e15236e
test ecx, ecx
jg 0x33e152380
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002148
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1412cbf46
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1412cbf6f
pop rbp
sub rbp, 0x33
sub rbp, 0x12cbf3c
sub rsp, 0x20
jmp 0x1412cbf8e
mov rax, 0x12cbf3c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffab9ad39d
xor byte [rax], dl
inc rax
dec rcx
jne 0x1412cbfad
jmp 0x1412cbfc4
invalid
Function at 0x140004720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14d, edx
mov rbp, rcx
xor edx, edx
call fcn.140008e10
movzx esi, al
test al, al
je 0x14000479e
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x14000481e
nop dword [rax + rax]
mov edi, dword [rbx + 0xe4]
lea ecx, [rdi - 3]
cmp ecx, 1
ja 0x14000478d
mov rdx, rbx
mov rcx, rbp
call fcn.140004db0
cmp byte [rbx + 0x148], 0
jne 0x14000479b
cmp edi, 4
jne 0x14000478d
cmp byte [rbx + 0x48], 0
jne 0x14000479b
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
jne 0x140004760
jmp 0x14000481a
xor sil, sil
cmp r14d, 8
ja 0x1400047af
mov eax, 0x141
bt eax, r14d
jb 0x14000481a
mov rbx, qword [rbp + 8]
mov ecx, r14d
mov dword [rsp + 0x30], 0x63764e5c
mov dword [rsp + 0x34], 0x74736f48
mov dword [rsp + 0x38], 0x7070632e
mov byte [rsp + 0x3c], 0
call fcn.140006570
mov qword [rsp + 0x28], rax
lea rdi, str.Failed_to_complete_transition_to__s
mov r9d, 1
mov qword [rsp + 0x20], rdi
mov r8d, 0x404
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140016af0
mov ecx, r14d
call fcn.140006570
mov r8, rax
mov rdx, rdi
mov ecx, 0xc
call fcn.140007fe0
movzx eax, sil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069d50
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [0x1400e00b4]
mov ecx, 0x1a0
call fcn.14006a284
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140004c74
mov edx, dword [rdi + 0x3a8]
lea ecx, [rdx + 1]
mov dword [rdi + 0x3a8], ecx
lea rcx, [rdi + 0x150]
lea r9, [rdi + 0x18]
lea r8, [rdi + 8]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rax
call fcn.14000ba80
mov rsi, rax
jmp 0x140004c76
xor esi, esi
test rsi, rsi
jne 0x140004cef
mov dword [rbp - 0x20], 0x63764e5c
mov dword [rbp - 0x1c], 0x74736f48
mov dword [rbp - 0x18], 0x7070632e
mov byte [rbp - 0x14], sil
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140004ca1
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
lea rsi, str.Failed_to_allocate_plugin_entry_for__ls
mov qword [rsp + 0x20], rsi
mov r9d, 1
mov r8d, 0xa8
lea rdx, [rbp - 0x20]
mov rcx, qword [rdi + 8]
call fcn.140016d80
cmp qword [rbx + 0x18], 8
jb 0x140004cd5
mov rbx, qword [rbx]
mov r8, rbx
mov rdx, rsi
mov ecx, 0x2a
call fcn.1400080a0
mov eax, 1
jmp 0x140004d8b
mov rdx, rbx
mov rcx, rsi
call fcn.14000c5b0
test al, al
jne 0x140004d66
mov dword [rbp - 0x20], 0x63764e5c
mov dword [rbp - 0x1c], 0x74736f48
mov dword [rbp - 0x18], 0x7070632e
mov byte [rbp - 0x14], al
cmp qword [rbx + 0x18], 8
jb 0x140004d20
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
lea rax, str.Failed_to_load_library__ls
mov qword [rsp + 0x20], rax
mov r9d, 2
mov r8d, 0xaf
lea rdx, [rbp - 0x20]
mov rcx, qword [rdi + 8]
call fcn.140016d80
mov rcx, rsi
call fcn.14000bc60
mov edx, 0x1a0
mov rcx, rsi
call fcn.140069cb8
mov eax, 2
jmp 0x140004d8b
cmp qword [rdi + 0x28], 0
jne 0x140004d73
mov qword [rdi + 0x28], rsi
jmp 0x140004d85
mov rax, qword [rdi + 0x30]
mov qword [rax + 0xf0], rsi
mov qword [rsi + 0xf8], rax
mov qword [rdi + 0x30], rsi
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140069d50
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004db0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, rdx
mov rdi, rcx
lea r9, [rcx + 8]
mov r8, rcx
mov edx, dword [rcx + 0x3a0]
lea rcx, [rsp + 0x78]
call fcn.14000ef60
nop
mov ecx, dword [rsi + 0xe0]
cmp ecx, 1
jl 0x140004f27
mov dword [rsp + 0xa0], 0x63764e5c
mov dword [rsp + 0xa4], 0x74736f48
mov dword [rsp + 0xa8], 0x7070632e
mov byte [rsp + 0xac], 0
mov rbx, qword [rdi + 8]
call fcn.140006570
lea rbp, [rsi + 0xa0]
lea rdx, str.Mandatory
lea rcx, str.Optional
cmp byte [rsi + 0x48], 0
cmovne rcx, rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rcx
lea rax, str._s_plugin__s_is_in_state__s._Unload_it
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, 0x228
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call fcn.140016af0
mov r8, rbp
lea rdx, str.Container_is_going_to_unload_plugin__s
mov rcx, rdi
call fcn.140005120
mov eax, dword [rsi + 0x198]
mov dword [rsp + 0x40], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
cmp dword [rsi + 0xe0], 3
jl 0x140004ef1
mov rcx, rsi
call fcn.14000e260
mov rcx, qword [rdi + 0x150]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x10]
call qword [0x1400d5670]
mov r8, rbp
lea rdx, str.Container_has_stopped_plugin__s
mov rcx, rdi
call fcn.140005120
mov rcx, rsi
call fcn.14000e660
mov rcx, qword [rdi + 0x150]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x10]
call qword [0x1400d5670]
mov r8, rbp
lea rdx, str.Container_has_uninitialized_plugin__s
mov rcx, rdi
call fcn.140005120
mov rcx, rsi
call fcn.14000e7e0
nop
lea rcx, [rsp + 0x78]
call fcn.14000f0a0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140069d50
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x70
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x398]
test rcx, rcx
je 0x140004f99
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x1400d5670]
xor ebp, ebp
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rsi
mov qword [rdi + 0x398], rbp
cmp qword [rdi + 0x28], rbp
je 0x140005016
mov edx, dword [rdi + 0x3a0]
lea r9, [rdi + 8]
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.14000ef60
mov rsi, qword [rdi + 0x30]
test rsi, rsi
je 0x140005004
nop dword [rax + rax]
mov rbx, rsi
mov rsi, qword [rsi + 0xf8]
mov rcx, rbx
call fcn.14000bc60
mov edx, 0x1a0
mov rcx, rbx
call fcn.140069cb8
test rsi, rsi
jne 0x140004fe0
lea rcx, [rsp + 0x30]
mov qword [rdi + 0x30], rbp
mov qword [rdi + 0x28], rbp
call fcn.14000f0a0
mov rax, qword [rdi + 0x3b0]
test rax, rax
je 0x14000507b
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov r9d, 4
lea rax, str.Kill_test_time_timer__p
mov dword [rsp + 0x58], 0x63764e5c
mov dword [rsp + 0x5c], 0x74736f48
mov dword [rsp + 0x60], 0x7070632e
lea r8d, [r9 + 0x6b]
mov byte [rsp + 0x64], bpl
mov qword [rsp + 0x20], rax
call fcn.140016af0
mov rcx, qword [rdi + 0x3b0]
call fcn.140012180
mov qword [rdi + 0x3b0], rbp
cmp qword [rdi + 0x150], rbp
je 0x1400050e2
mov rbx, qword [rdi + 0x158]
mov qword [rdi + 0x150], rbp
mov qword [rdi + 0x158], rbp
test rbx, rbx
je 0x1400050d8
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400050d8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x1400d5670]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400050d8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x1400d5670]
mov dword [rdi + 0x3a8], 0x8000
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov byte [rdi + 0x160], bpl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140069d50
mov rbp, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret