joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18036c140
Capabilities:
Hash data using tiger

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d6ea1]
call fcn.18024f670
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rax]
xor rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0
movzx eax, al
lea rcx, [0x1804ddb50]
lea rdx, [0x1804ddb50]
mov r8, qword [rsp + 0x20]
shr r8, 0x10
movzx r8d, r8b
mov rdx, qword [rdx + r8*8 + 0x800]
mov rax, qword [rcx + rax*8]
xor rax, rdx
lea rcx, [0x1804ddb50]
mov rdx, qword [rsp + 0x20]
shr rdx, 0x20
movzx edx, dl
xor rax, qword [rcx + rdx*8 + 0x1000]
lea rcx, [0x1804ddb50]
mov rdx, qword [rsp + 0x20]
shr rdx, 0x30
movzx edx, dl
xor rax, qword [rcx + rdx*8 + 0x1800]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
lea rax, [0x1804ddb50]
mov rcx, qword [rsp + 0x20]
shr rcx, 8
movzx ecx, cl
lea rdx, [0x1804ddb50]
mov r8, qword [rsp + 0x20]
shr r8, 0x18
movzx r8d, r8b
mov rdx, qword [rdx + r8*8 + 0x1000]
mov rax, qword [rax + rcx*8 + 0x1800]
xor rax, rdx
lea rcx, [0x1804ddb50]
mov rdx, qword [rsp + 0x20]
shr rdx, 0x28
movzx edx, dl
xor rax, qword [rcx + rdx*8 + 0x800]
mov rcx, qword [rsp + 0x20]
shr rcx, 0x38
movzx ecx, cl
lea rdx, [0x1804ddb50]
xor rax, qword [rdx + rcx*8]
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 5
je 0x18036c2b4
cmp dword [rsp + 0x28], 7
je 0x18036c2cc
cmp dword [rsp + 0x28], 9
je 0x18036c2e4
jmp 0x18036c2fa
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
jmp 0x18036c2fa
mov rax, qword [rsp + 0x20]
shl rax, 3
sub rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
jmp 0x18036c2fa
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
lea rax, [rax + rcx*8]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
add rsp, 0x30
pop rdi
ret
Function at 0x18037b1a0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
lea rcx, [0x1805d7730]
call fcn.18024f670
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0xf0000020
mov r9d, 1
lea r8, [0x18056a3c0]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18037b22e
mov dword [rsp + 0x20], 0xf0000028
mov r9d, 1
lea r8, [0x18056a3f0]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18037b22e
xor eax, eax
jmp 0x18037b26b
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
cmp eax, 1
jne 0x18037b25c
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsp + 0x68]
jmp 0x18037b26b
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804ef5c0]
call fcn.18024f440
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x1803807f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, [0x1805d7b6b]
call fcn.18024f670
cmp dword [rsp + 0x60], 0
je 0x1803809da
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 4]
cmp dword [rax + 8], ecx
jne 0x180380978
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0xc], 0
jne 0x1803808a0
mov dword [rsp + 0x20], 0
jmp 0x180380855
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x20], eax
jge 0x18038089e
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x14]
inc eax
and eax, 0xff
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 0x14], al
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x14]
test eax, eax
je 0x18038089c
jmp 0x18038089e
jmp 0x18038084b
jmp 0x180380903
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
dec eax
mov dword [rsp + 0x20], eax
jmp 0x1803808ba
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x20], eax
jl 0x180380903
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x14]
inc eax
and eax, 0xff
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx + 0x14], al
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x14]
test eax, eax
je 0x180380901
jmp 0x180380903
jmp 0x1803808b0
mov rax, qword [rsp + 0x68]
add rax, 0x138
mov rcx, qword [rsp + 0x68]
add rcx, 0xa4
mov rdx, qword [rsp + 0x68]
add rdx, 0x14
mov qword [rsp + 0x28], rdx
mov r8, qword [rsp + 0x68]
movsxd r8, dword [r8]
imul r8, r8, 0xc0
mov qword [rsp + 0x30], r8
lea r9, [0x180587600]
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x30]
call qword [r9 + rax + 0x28]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18038096c
mov eax, dword [rsp + 0x24]
jmp 0x1803809dc
mov rax, qword [rsp + 0x68]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x68]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rdx + rcx + 0xa4]
xor eax, ecx
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 8]
inc eax
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
jmp 0x180380815
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1803927c0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x180562540]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rcx, [0x1805d89a6]
call fcn.18024f670
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x180392a1e
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180392a13
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x18039299c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x44], eax
jne 0x18039299c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x40], eax
je 0x18039299c
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x1803928e4
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x18058ab28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x1803928df
mov dword [rsp + 0x20], 0
jmp 0x1803929bb
jmp 0x180392967
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x180392967
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18058ab28]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x180392957
mov dword [rsp + 0x20], 0
jmp 0x1803929bb
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18039284d
cmp dword [rsp + 0x20], 0
je 0x1803929d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1803929d5
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x180392a13
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x180392a13
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18058ab28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804f3980]
call fcn.18024f440
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18024f8b0
add rsp, 0x80
pop rdi
ret
Function at 0x180392a60
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d89a6]
call fcn.18024f670
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1803927c0
test eax, eax
jne 0x180392ac6
mov dword [rsp + 0x20], 9
jmp 0x180392b48
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180392b48
mov dword [rsp + 0x24], 0
jmp 0x180392ae5
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x24], eax
jae 0x180392b48
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180392b46
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.180392590
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180392adb
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x180392b60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d89a6]
call fcn.18024f670
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180392bfc
mov dword [rsp + 0x20], 0
jmp 0x180392b95
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180392be5
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180392be3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180392b8b
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18058ab28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180392c10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
lea rcx, [0x1805d89a6]
call fcn.18024f670
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18058ab60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180392ca2
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180392ccb
mov eax, 0xa
jmp 0x180392e05
cmp dword [rsp + 0x88], 0
je 0x180392d39
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180392d37
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x180392d85
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180392d69
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1803c2230
jmp 0x180392d85
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1803c2230
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804f39e0]
call fcn.18024f440
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x180394390
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d8afa]
call fcn.18024f670
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1803943f6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1803943f6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1803943f6
xor eax, eax
jmp 0x180394442
mov dword [rsp + 0x20], 1
jmp 0x18039440a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x20], eax
jae 0x18039443d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18039443b
xor eax, eax
jmp 0x180394442
jmp 0x180394400
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180397d30
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d8bba]
call fcn.18024f670
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x50]
mov eax, dword [rax]
xor eax, ecx
and eax, 0xff
cdqe
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx]
shr ecx, 8
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdx + rax*4]
xor eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
and eax, 0xff
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 4]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x40]
imul eax, dword [rax + 4], 0x8088405
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
shr eax, 0x18
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + 8]
xor eax, ecx
and eax, 0xff
cdqe
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 8]
shr ecx, 8
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdx + rax*4]
xor eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 8], eax
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1803a3260
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805d8c05]
call fcn.18024f670
mov rax, qword [rsp + 0x30]
lea rcx, [0x1804f5280]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x70], 9
mov rax, qword [rsp + 0x30]
lea rcx, [0x1804f5a80]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x74], 5
add rsp, 0x20
pop rdi
ret
Function at 0x1803ab590
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
lea rcx, [0x1805d8c41]
call fcn.18024f670
lea rax, [0x1804f5dd0]
add rsp, 0x20
pop rdi
ret

Function at 0x1803ab700
Capabilities:
Encrypt data using rc4 prga
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d8c41]
call fcn.18024f670
mov dword [rsp + 0x20], 0
jmp 0x1803ab729
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x1803ab753
mov eax, dword [rsp + 0x40]
shr eax, 8
mov ecx, dword [rsp + 0x40]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1804f5dd0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x40], eax
jmp 0x1803ab71f
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1803ab770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
lea rcx, [0x1805d8c41]
call fcn.18024f670
mov dword [rsp + 0x20], 0
jmp 0x1803ab799
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x1803ab7c6
mov eax, dword [rsp + 0x40]
shl eax, 8
mov ecx, dword [rsp + 0x40]
shr ecx, 0x18
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1804f61d0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x40], eax
jmp 0x1803ab78f
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1803c0b40
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
lea rcx, [0x1805d94da]
call fcn.18024f670
cmp qword [0x18058ab48], 0
jne 0x1803c0be3
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0xf0000020
mov r9d, 1
lea r8, [0x1805761e0]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1803c0bd7
mov dword [rsp + 0x20], 0xf0000028
mov r9d, 1
lea r8, str.Microsoft_Base_Cryptographic_Provider_v1.0
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1803c0bd7
mov eax, 0xffffffff
jmp 0x1803c0c14
mov rax, qword [rsp + 0x38]
mov qword [0x18058ab48], rax
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
mov rcx, qword [0x18058ab48]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
cmp eax, 1
jne 0x1803c0c08
mov dword [rsp + 0x44], 0
jmp 0x1803c0c10
mov dword [rsp + 0x44], 0xffffffff
mov eax, dword [rsp + 0x44]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804fc190]
call fcn.18024f440
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x140002a62
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140002a81
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140021028

Function at 0x1400056cb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140021028

Function at 0x14000570a
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x1410630f0], 0
jne 0x140005722
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.1400056cb
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005644
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x1410630f0]
test rbx, rbx
je 0x140005753
test byte [rbx + 7], 0x40
jne 0x140005753
mov rcx, rbx
call fcn.140003aef
lea rcx, [0x140027320]
call fcn.14001bc70
cmp byte [rax], 0
je 0x14000578b
lea rcx, [0x140027220]
mov byte [rax], 0
call fcn.14001bc70
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140004054
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005df7
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x1410630c0]
xor ebx, ebx
lea r14, [0x140027320]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140005e7d
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14002835b]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.140021028
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140005cd0
mov rcx, r14
call fcn.14001bc70
cmp byte [rax], 0
jne 0x140005eaf
inc rbx
jmp 0x140005e30
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret