joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013d92c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14013d9fe
test rbx, rbx
je 0x14013da04
test r9, r9
je 0x14013da0a
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14013d9e7
cmp dword [rsp + 0x48], 3
jne 0x14013d9e7
test eax, eax
jne 0x14013d9e7
cmp dword [rdi], eax
je 0x14013d9e7
mov ecx, dword [rdi]
call fcn.14002d248
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14013d9db
cmp dword [rsp + 0x48], 3
jne 0x14013d9db
test eax, eax
jne 0x14013d9db
mov eax, 1
jmp 0x14013d9e9
mov rcx, qword [rbx]
call fcn.14002d240
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14002d274
int3
call fcn.14002d274
int3
call fcn.14002d274
int3

Function at 0x14013dd34
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14013dd45
xor eax, eax
jmp 0x14013dd73
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14013dd7c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14013dd8d
xor eax, eax
jmp 0x14013ddb1
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14019a52c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1417343f8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14172bd50]
test eax, eax
je 0x14019a577
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14172bd50]
test eax, eax
jne 0x14019a580
call fcn.140038d98
test eax, eax
je 0x14019a59c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x141723758]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14019a5a4
xor eax, eax
jmp 0x14019a609
test rbx, rbx
jne 0x14019a5c4
lea rcx, str.ChooseColorW
call fcn.140046c20
mov rbx, rax
test rax, rax
je 0x14019a5d7
mov qword [0x1417343f8], rax
mov rcx, rbx
call fcn.1401e9240
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14019a5ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14019a5ee
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019a607
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140204824
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1402046b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402046b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402046b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402046b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402046b7
cmp dword [rcx + 0x84], 0xe
jbe 0x1402046b7
cmp dword [rcx + 0xf8], 0
je 0x1402046b7
mov ecx, ebx
call fcn.140204758
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140204548
cmp dword [rbp + 0x20], 0
je 0x140204704
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14020470c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140204650
Function at 0x140f6f364
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f6f36e
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 0x140f6f397
pop rbp
sub rbp, 0x33
sub rbp, 0xf6f364
sub rsp, 0x20
jmp 0x140f6f3b6
mov rax, 0xf6f364
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffa5cd2d02
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6f3d5
jmp 0x140f6f3ec
mov rbp, rbx
mov dword [rbx + 0x202023e], ecx
add rbx, 0xa
add eax, dword [rdx]
add cl, byte [rdx + 3]
jmp 0x140f6f44a
invalid
Function at 0x419e70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x419eca
call fcn.0041c8a4
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x419eca
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x419eec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.004198f0
test rdi, rdi
mov esi, eax
je 0x419eea
test rbx, rbx
je 0x419eea
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x424d77
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0044cf98]
jne 0x42142a
rol rcx, 0x10
test cx, 0xffff
jne 0x421426
repz ret
ror rcx, 0x10
jmp 0x424cd0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x004528b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x004529a8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x424d55
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x004528b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x424d77
mov rax, qword [rsp + 0x88]
mov qword [0x004529a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00452948], rax
mov rax, qword [0x004529a8]
mov qword [0x00452820], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00452930], rax
mov dword [0x00452810], 0xc0000409
mov dword [0x00452814], 1
mov rax, qword [0x0044cf98]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0044cfa0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x004528a8], eax
mov ecx, 1
call fcn.0042f680
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0043dee8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x004528a8], 0
jne 0x424dfe
mov ecx, 1
call fcn.0042f680
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x42f3e0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.00425110
xor ebx, ebx
cmp qword [0x004532a0], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x42f511
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x42f443
xor eax, eax
jmp 0x42f5f1
lea rdx, [0x0043eac0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x42f43c
mov rcx, rax
call fcn.004250a0
lea rdx, [0x0043eab0]
mov rcx, rbp
mov qword [0x004532a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004250a0
lea rdx, [0x0043ea98]
mov rcx, rbp
mov qword [0x004532a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004250a0
lea rcx, [rsp + 0x30]
mov qword [0x004532b0], rax
call fcn.00422d90
test eax, eax
je 0x42f4c7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00424b10
cmp dword [rsp + 0x30], 2
jne 0x42f511
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004250a0
test rax, rax
mov qword [0x004532c0], rax
je 0x42f511
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004250a0
mov qword [0x004532b8], rax
mov rcx, qword [0x004532b8]
cmp rcx, rsi
je 0x42f5a3
cmp qword [0x004532c0], rsi
je 0x42f5a3
call fcn.00425170
call rax
test rax, rax
mov rbp, rax
je 0x42f56e
mov rcx, qword [0x004532c0]
call fcn.00425170
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x42f56e
test byte [rsp + 0x48], 1
jne 0x42f5a3
lea rcx, [rsp + 0x34]
call fcn.00422de0
test eax, eax
je 0x42f590
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00424b10
cmp dword [rsp + 0x34], 4
jb 0x42f59d
bts edi, 0x15
jmp 0x42f5d7
bts edi, 0x12
jmp 0x42f5d7
mov rcx, qword [0x004532a8]
cmp rcx, rsi
je 0x42f5d7
call fcn.00425170
call rax
test rax, rax
mov rbx, rax
je 0x42f5d7
mov rcx, qword [0x004532b0]
cmp rcx, rsi
je 0x42f5d7
call fcn.00425170
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x004532a0]
call fcn.00425170
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400030c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov word [rsp + 8], cx
sub rsp, 0x88
mov rax, qword [0x140052030]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x98], 0
je 0x1400030fb
cmp qword [rsp + 0xa0], 0
jne 0x140003102
xor eax, eax
jmp 0x1400031f2
mov dword [rsp + 0x48], 7
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, dword [rsp + 0x48]
mov edx, 0x40000000
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140003152
xor eax, eax
jmp 0x1400031f2
movzx eax, word [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
ja 0x14000319f
xor eax, eax
jmp 0x1400031f2
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x68], 0
jbe 0x1400031e6
mov dword [rsp + 0x44], 1
jmp 0x1400031ee
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140018320
add rsp, 0x88
ret
Function at 0x140007210
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1170
call fcn.140018990
sub rsp, rax
mov rax, qword [0x140052030]
xor rax, rsp
mov qword [rsp + 0x1160], rax
call fcn.140005860
call fcn.140004210
lea r8, [rsp + 0x80]
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov eax, dword [rsp + 0x12c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x2c], eax
cvtsi2ss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [0x14004c284]
cvtsi2ss xmm1, dword [rsp + 0x30]
divss xmm1, dword [0x14004c284]
movss dword [rsp + 0x34], xmm1
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x34]
call fcn.140003360
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rax, [rsp + 0x960]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov r8d, 0x400
lea rdx, [rsp + 0x960]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x40]
call fcn.140009f10
mov rcx, rax
call fcn.1400076c0
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140009f50
lea rdx, [rsp + 0x960]
lea rcx, [rsp + 0x160]
call fcn.140009f80
lea rcx, [rsp + 0x160]
call fcn.1400032f0
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rax, [rsp + 0x960]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x23]
movzx r8d, byte [rsp + 0x24]
movzx edx, byte [rsp + 0x25]
lea rcx, [rsp + 0x60]
call fcn.140009fb0
mov rcx, rax
call fcn.1400074c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x400
lea rdx, [rsp + 0x960]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x26]
movzx r8d, byte [rsp + 0x27]
movzx edx, byte [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140009f10
mov rcx, rax
call fcn.1400076c0
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140009f50
lea rdx, [rsp + 0x960]
lea rcx, [rsp + 0x160]
call fcn.140009f80
lea rcx, [rsp + 0x160]
call fcn.1400032f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140007ed0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400084f0
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14000bfc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14000bfe2
mov rcx, qword [rsp + 0x40]
call fcn.14000c1d0
jmp 0x14000bff9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14000bff9
mov rcx, qword [rsp + 0x40]
call fcn.14000c280
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14000c1d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14000c1f1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14000c275
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14000c240
mov dword [rsp + 4], 0x9908b0df
jmp 0x14000c248
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000c1e4
add rsp, 0x18
ret
Function at 0x14000c280
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp + 0x18], 0
jmp 0x14000c2a1
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0xe3
jae 0x14000c325
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14000c2f0
mov dword [rsp + 4], 0x9908b0df
jmp 0x14000c2f8
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000c294
jmp 0x14000c334
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0x26f
jae 0x14000c3bb
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
and eax, 1
test eax, eax
je 0x14000c385
mov dword [rsp + 0xc], 0x9908b0df
jmp 0x14000c38d
mov dword [rsp + 0xc], 0
mov eax, dword [rsp + 8]
shr eax, 1
xor eax, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000c327
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14000c402
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14000c40a
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
add rsp, 0x28
ret
Function at 0x140014330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov byte [rsp + 0x24], 0
mov rcx, qword [rsp + 0x258]
call fcn.140008000
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0
jmp 0x140014375
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jge 0x1400143bb
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x30]
mov eax, edx
cdqe
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.140014890
movsxd rcx, dword [rsp + 0x20]
movzx eax, byte [rax]
mov byte [rsp + rcx + 0x140], al
movsxd rax, dword [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
mov byte [rsp + rax + 0x40], cl
jmp 0x14001436b
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
jmp 0x1400143d7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jge 0x140014447
movsxd rax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x140]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + 0x24], al
movsxd rax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0x40], al
movsxd rax, dword [rsp + 0x28]
movzx ecx, byte [rsp + 0x24]
mov byte [rsp + rax + 0x40], cl
jmp 0x1400143cd
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
jmp 0x14001446b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x268]
cmp dword [rsp + 0x20], eax
jge 0x140014546
mov eax, dword [rsp + 0x2c]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x2c]
movzx eax, byte [rsp + rax + 0x40]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x2c]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + 0x24], al
movsxd rax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x2c]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + rcx + 0x40], al
movsxd rax, dword [rsp + 0x28]
movzx ecx, byte [rsp + 0x24]
mov byte [rsp + rax + 0x40], cl
movsxd rax, dword [rsp + 0x2c]
movzx eax, byte [rsp + rax + 0x40]
movsxd rcx, dword [rsp + 0x28]
movzx ecx, byte [rsp + rcx + 0x40]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x260]
movzx eax, byte [rcx + rax]
xor eax, dword [rsp + 0x34]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x260]
mov byte [rdx + rcx], al
jmp 0x140014461
mov rcx, qword [rsp + 0x258]
call fcn.140008150
add rsp, 0x248
ret