joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140076770
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1400e1d20]
adc byte [0x1400e1d20], al
Function at 0x14007d670
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov edi, edx

Function at 0x14007e1a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4f0
mov rbx, rdx
mov rsi, rcx
mov eax, dword [rdx + 0x10]
movzx ebp, word [rdx + 0x40]
movzx r15d, word [rdx + 0x42]
movzx r12d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x14007e1fc
mov r14, qword [rbx]
cmp bp, 0x2e
jne 0x14007e2f0
test r15w, r15w
je 0x14007e1fc
cmp r15w, 0x2e
jne 0x14007e2f0
test r12w, r12w
jne 0x14007e2f0
lea r14, [rsp + 0x80]
mov r8d, 0x250
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [rbx + 8]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x14007e2d5
mov r14, qword [rbx]
lea rbx, [rsp + 0x80]
mov r15, qword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x14007e251
mov rcx, rdi
mov rdx, rbx
call r15
test eax, eax
je 0x14007e2d5
cmp word [rsp + 0xac], 0x2e
jne 0x14007e27a
movzx eax, word [rsp + 0xae]
test ax, ax
je 0x14007e240
cmp ax, 0x2e
jne 0x14007e27a
cmp word [rsp + 0xb0], 0
je 0x14007e240
lock inc qword [r14]
jle 0x14007e3d9
mov rdi, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x40], eax
movzx ebp, word [rsp + 0xac]
movzx r15d, word [rsp + 0xae]
movzx r12d, word [rsp + 0xb0]
lea rdx, [rsp + 0xb2]
jmp 0x14007e31b
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
jne case.0x140078c13.250
mov qword [rsi], 0
jmp 0x14007e3c7
lock inc qword [r14]
jle 0x14007e3d9
lea rdx, [rbx + 0x46]
mov rdi, qword [rbx + 0x14]
mov eax, dword [rbx + 0x3c]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rbx + 0x2c]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rbx + 0x1c]
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x2d2]
mov r8d, 0x21e
mov eax, 0x21e
ud2
Function at 0x140088c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
lea rcx, [rsp + 0x40]
call case.0x14002753a.1010
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x140088ce6
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.140088ba0
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140088cf4
movdqu xmm6, xmmword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140088d14
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x140088d05
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call fcn.140077290
dec dword [rax - 0x39]
invalid
add byte [rax], al
add byte [rax], al
invalid
mov qword [rsi], 0
Function at 0x14008b090
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 [0x1400f02c0]
mov rcx, qword [0x1400f0220]
test rcx, rcx
jne 0x14008b0dc
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14008b1aa
mov rcx, rax
mov qword [0x1400f0220], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14008b1aa
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14008b600]
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 0x14008b19c
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x18]
je 0x14008b175
cmp qword [rax + 0x10], 0x11
jae 0x14008b15e
mov r8, qword [rbp - 0x20]
jmp 0x14008b166
mov r8, qword [rbp - 0x20]
mov r8, qword [r8 - 8]
mov rcx, qword [0x1400f0220]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1400f0220]
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 - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400a42a0
ud2
Function at 0x14008baf0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.1400a05d0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov qword [rbp + 0xfd8], rdx
mov r14, rcx
lea rsi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xfec], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea r15, [rbp + 0xfec]
mov qword [rbp + 0xfc8], r15
lea r12, case.0x14007e7c4.142
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xfb0]
mov rcx, r14
mov rdx, rsi
mov r8d, 0x1000
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x14008bcde
mov r13, qword [sym.imp.kernel32.dll_SleepEx]
lea rsi, [rbp + 0xfb0]
mov rdi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], r14
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfec], 0
je 0x14008bbb7
cmp dword [rbp + 0xff0], 0
jne 0x14008bcf3
mov ebx, dword [rbp + 0xff4]
test rbx, rbx
je 0x14008bcf3
cmp ebx, 0x1000
ja 0x14008bd37
xor r14d, r14d
nop dword [rax + rax]
cmp r14, rbx
ja 0x14008bd23
lea rdx, [r14 + rbp]
add rdx, 0xffffffffffffffb0
mov r8d, ebx
sub r8d, r14d
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov rcx, qword [rbp + 0xfd8]
mov r9, rsi
call rdi
test eax, eax
je 0x14008bce6
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfec], 0
je 0x14008bc60
cmp dword [rbp + 0xff0], 0
jne 0x14008bcec
mov eax, dword [rbp + 0xff4]
add r14, rax
cmp r14, rbx
jne 0x14008bc00
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov r14, qword [rbp + 0xfe0]
mov rcx, r14
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rsi
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
jne 0x14008bbb7
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x14008bcf3
call qword [sym.imp.kernel32.dll_GetLastError]
mov r14, qword [rbp + 0xfe0]
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, r14
call rsi
mov rcx, qword [rbp + 0xfd8]
call rsi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r14
mov rdx, rbx
call fcn.1400a4780
jmp 0x14008bd4b
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rbx
call fcn.1400a44b0
ud2
Function at 0x14008bda0
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 0x14008bde3
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
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, [0x14007ba20]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
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, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400a4370
ud2

Function at 0x14008dc40
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14008dd47
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14008dc78
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14008dd30
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14008dd12
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14008dcce
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14008dceb
jmp 0x14008dce0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14008dce6
cmp eax, 0x6d
jne 0x14008dd02
mov byte [rsi + 1], 0
jmp 0x14008dcf6
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14008dcf8
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400a5460
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x14008dc85
mov r8d, 0x10
mov rcx, rbx
call fcn.1400a5460
mov rax, qword [rbx + 8]
jmp 0x14008dc78
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400a7cc0
ud2
Function at 0x1400923d0
Capabilities:
Move file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r9
mov rbx, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x20]
call case.0x14002753a.1010
mov rax, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x18]
test rax, rax
je 0x1400924ef
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.14007d790
mov rax, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
test rax, rax
je 0x1400924ef
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x20]
mov rdx, rbx
mov r8, rdi
call case.0x14002753a.1010
mov rax, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x18]
test rax, rax
je 0x1400924d2
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.14007d790
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
test rdi, rdi
je 0x1400924d2
mov r14, qword [rbp - 0x28]
mov rcx, r14
mov rdx, rdi
mov r8d, 1
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x1400924fd
test rsi, rsi
je 0x1400924c0
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp - 0x30], 0
je 0x140092529
mov rcx, qword [0x1400f0220]
xor esi, esi
jmp 0x1400924e4
mov r14, qword [rbp - 0x28]
cmp qword [rbp - 0x30], 0
je 0x1400924ef
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x14009252d
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, rbx
jmp 0x1400924d6
xor esi, esi
jmp 0x1400924ef
mov rsi, rbx
jmp 0x1400924d6
Function at 0x1400a0b14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a0b5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a0b5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a0b5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a0b5e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a0b5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a0b60
xor al, al
add rsp, 0x28
ret

Function at 0x1400a65c0
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400a6615
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400a6615
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400a6615
mov rbx, rax
xor edi, edi
jmp 0x1400a66a1
lea rcx, [0x1400d98f8]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1400a672c
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400a672c
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400a672c
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400a672c
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400a672c
mov rbx, qword [rsp + 0x20]
movzx eax, byte [0x1400f02c0]
mov rcx, qword [0x1400f0220]
test rcx, rcx
jne 0x1400a66c9
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400a6733
mov rcx, rax
mov qword [0x1400f0220], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400a6733
mov r14, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rbx
xor eax, eax
lock cmpxchg qword [0x1400f0128], r14
je 0x1400a671f
mov rsi, rax
cmp qword [r14], 0
je 0x1400a670a
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x1400f0220]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
mov r14, rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400a6750
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1400a42a0
ud2
Function at 0x14001138e
Capabilities:
Terminate process

Disassembly:
jmp 0x140019c40
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011483
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001af90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001afb0
xor al, al
jmp 0x14001b031
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001afc3
xor al, al
jmp 0x14001b031
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001afed
xor al, al
jmp 0x14001b031
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001b001
xor al, al
jmp 0x14001b031
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001b013
xor al, al
jmp 0x14001b031
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001b02f
xor al, al
jmp 0x14001b031
mov al, 1
add rsp, 0x38
ret
Function at 0x140002ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
mov r9, rdx
or rax, 0xffffffffffffffff
xor edx, edx
div r8
cmp r9, rax
jbe 0x140002edc
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
imul r9, r8
cmp r9, 0x1000
jb 0x140002f25
test cl, 0x1f
je 0x140002ef5
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140002f05
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140002f15
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140002f22
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
add rsp, 0x28
jmp fcn.140065184

Function at 0x140003440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x2f]
jmp fcn.140002ec0

Function at 0x140009cd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x1f]
jmp fcn.140002ec0

Function at 0x140011344
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x37]
jmp fcn.140002ec0

Function at 0x140013568
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 0x30]
mov rdi, rdx
test rbx, rbx
je 0x1400135b7
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400135b7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140077040]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400135b7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140077040]
mov edx, 1
mov rcx, rdi
lea r8d, [rdx + 0x37]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140002ec0

Function at 0x140014660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8d, 0x48
jmp fcn.140002ec0

Function at 0x14001801c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
mov r14, rcx
mov rdi, qword [rcx]
mov rbx, qword [rdi + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x140018090
mov rdx, qword [rdi + 0x10]
mov rcx, r14
call fcn.140018a04
nop
mov rdi, qword [rdi]
mov rdx, qword [rbx + 0x58]
cmp rdx, 8
jb 0x140018075
inc rdx
mov r8d, 2
mov rcx, qword [rbx + 0x40]
call fcn.140002ec0
nop
mov edx, 1
lea r8d, [rdx + 0x5f]
mov rcx, rbx
call fcn.140002ec0
nop
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x140018048
mov rax, qword [r14]
mov qword [rax + 8], rax
mov rax, qword [r14]
mov qword [rax], rax
mov rax, qword [r14]
mov qword [rax + 0x10], rax
and qword [r14 + 8], 0
mov edx, 1
lea r8d, [rdx + 0x5f]
mov rcx, qword [r14]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
jmp fcn.140002ec0
Function at 0x14001887c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8d, 0x40
jmp fcn.140002ec0

Function at 0x1400189a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x5f]
jmp fcn.140002ec0
Function at 0x140033bd8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
mov rdi, qword [rax]
mov qword [rax], rax
mov rax, qword [rcx]
mov qword [rax + 8], rax
and qword [rcx + 8], 0
cmp rdi, qword [rcx]
je 0x140033c58
mov rdx, qword [rdi + 0x68]
mov rsi, qword [rdi]
cmp rdx, 8
jb 0x140033c23
mov rcx, qword [rdi + 0x50]
inc rdx
mov r8d, 2
call fcn.140002ec0
mov rdx, qword [rdi + 0x48]
cmp rdx, 8
jb 0x140033c3f
mov rcx, qword [rdi + 0x30]
inc rdx
mov r8d, 2
call fcn.140002ec0
mov edx, 1
mov rcx, rdi
lea r8d, [rdx + 0x77]
call fcn.140002ec0
mov rdi, rsi
cmp rsi, qword [rbx]
jne 0x140033c04
mov rcx, qword [rbx]
mov edx, 1
lea r8d, [rdx + 0x77]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140002ec0

Function at 0x140035c18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8d, 0xf0
jmp fcn.140002ec0

Function at 0x140035c2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8d, 0x220
jmp fcn.140002ec0

Function at 0x140035f24
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x4f]
jmp fcn.140002ec0

Function at 0x140035f38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x77]
jmp fcn.140002ec0

Function at 0x14003b9b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, rdx
mov edx, 1
lea r8d, [rdx + 0x47]
jmp fcn.140002ec0

Function at 0x14003c084
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rdx, qword [rdx + 0x38]
cmp rdx, 8
jb 0x14003c0a9
mov rcx, qword [rbx + 0x20]
inc rdx
mov r8d, 2
call fcn.140002ec0
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x47]
add rsp, 0x20
pop rbx
jmp fcn.140002ec0

Function at 0x14003c124
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rdx, qword [rdx + 0x40]
cmp rdx, 8
jb 0x14003c149
mov rcx, qword [rbx + 0x28]
inc rdx
mov r8d, 2
call fcn.140002ec0
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x47]
add rsp, 0x20
pop rbx
jmp fcn.140002ec0