joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b3a00
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400b3a00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x1c0]
call fcn.14000231f
mov dword [rsp + 0xd8], eax
mov rcx, qword [rsp + 0x1c0]
call fcn.140004683
mov qword [rsp + 0xe0], rax
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x30]
call fcn.14000519b
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x138]
call fcn.140004ab6
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x150]
call fcn.140002513
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
lea rax, str.__:_
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], 0xa
lea rax, [rsp + 0xf8]
lea rcx, [rsp + 0xe8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [rsp + 0xf8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x168]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xa8]
call fcn.140007a4f
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x1b0]
call fcn.140003fc6
nop
lea rcx, [rsp + 0xa8]
call fcn.14000278e
nop
lea rcx, [rsp + 0x80]
call fcn.14000278e
nop
lea rcx, [rsp + 0x58]
call fcn.140008440
nop
lea rcx, [rsp + 0x30]
call fcn.140008440
mov rax, qword [rsp + 0x1b0]
lea rcx, vtable.util::win::logged_runtime_error.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0x1b0]
call fcn.140001d61
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x198
pop rdi
pop rsi
ret

Function at 0x1400c7610
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400c7610
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400c764d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140008fb7
add rsp, 0x58
ret
Function at 0x140110d20
Capabilities:
Get geographical location

Disassembly:
jmp 0x140110d20
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140003f67
mov dword [rsp + 0x28], eax
call fcn.140005ab5
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x30], rax
mov r9d, dword [rsp + 0x28]
lea r8, [rsp + 0x20]
mov edx, 0x22
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x30
je 0x140110d9f
cmp dword [rsp + 0x24], 0x31
je 0x140110da6
cmp dword [rsp + 0x24], 0x32
je 0x140110dad
jmp 0x140110db4
mov eax, 2
jmp 0x140110db6
mov eax, 1
jmp 0x140110db6
mov eax, 3
jmp 0x140110db6
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x140135de0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140135de0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140135760
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140135e1f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140304020]
jmp 0x140135e29
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1401dbe00
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140002720
sub rsp, rax
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402e1e90]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1401dbff2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1401dbf46
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1401dbf46
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1401dbf2b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1401dbec8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401dbfb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401dc011
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1401dbfed
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401dc011
jmp 0x1401dbe9e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1401dc0c0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140002720
sub rsp, rax
mov rax, qword [0x1402d9140]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402e1e90]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1401dc2cd
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1401dc219
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1401dc219
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1401dc1f9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1401dc188
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401dc28d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401dc2ec
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1401dc2c8
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401dc2ec
jmp 0x1401dc15e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140004d81
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400046ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400046f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400046f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400046f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400046f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400046f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400046f8
xor al, al
add rsp, 0x28
ret
Function at 0x1502ac368
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp byte [0x15003b7c0], 0
jne 0x1502ac435
mov ecx, 0x40
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rbx, [0x15007e258]
mov eax, dword [rcx + rax]
cmp dword [0x15007e250], eax
jg 0x1502ac440
cmp qword [0x15007e270], 0x10
cmovae rbx, qword [0x15007e258]
xor dl, dl
movabs r9, 0x1445cff98
mov rax, rbx
movabs qword [0x1445cffa0], rax
and dword [r9], 0
jmp 0x1502ac428
inc rdi
cmp byte [rax + rdi], 0
je 0x1502ac47c
jmp 0x1502ac3d5
cmp al, 0x22
jne 0x1502ac3ef
test dl, dl
sete dl
jmp 0x1502ac3ff
cmp al, 0x2b
jne 0x1502ac3f7
test dl, dl
je 0x1502ac404
cmp al, 0xa
je 0x1502ac404
cmp al, 0xd
je 0x1502ac404
inc rbx
jmp 0x1502ac428
cmp dword [r9], 0x20
je 0x1502ac42e
lea rcx, [rbx + 1]
movsxd rax, dword [r9]
movabs r8, 0x1445cffa0
mov qword [r8 + rax*8], rcx
inc dword [r9]
mov byte [rbx], 0
mov rbx, rcx
mov al, byte [rbx]
test al, al
jne 0x1502ac3e4
mov byte [0x15003b7c0], 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x15007e250]
call fcn.15040b028
or rdi, 0xffffffffffffffff
cmp dword [0x15007e250], edi
jne 0x1502ac3a6
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
xorps xmm0, xmm0
movups xmmword [0x15007e258], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x15007e268], xmm1
jmp 0x1502ac3d5
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.1502a75e8
lea rcx, [0x1504489e8]
call fcn.15040af2c
nop
lea rcx, [0x15007e250]
call fcn.15040afbc
jmp 0x1502ac3a6
Function at 0x1502bc824
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x150012098]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
call fcn.150309768
test al, al
je 0x1502bc863
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1502bc85b
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
jmp 0x1502bc89d
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1502bc870
mov rdi, qword [rbx]
call fcn.150309730
movabs rcx, 0x147ad1db0
movabs rdx, 0x145a7b490
cmp eax, 1
cmove rcx, rdx
mov rdx, rdi
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1502bc8d3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1502bc8ce
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1502bc8fb
mov rcx, r8
call fcn.15040acc0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.15040aca0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call fcn.150419d24
int3
Function at 0x1502d00a4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
lea rax, [0x150012d60]
movzx eax, byte [rcx + rax]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 2
jb 0x1502d00cb
mov rax, qword [0x150079400]
and rax, r15
add rax, rax
mov rcx, qword [0x1500793e8]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x1500793d8]
cmp rbx, rbp
jne 0x1502d0180
mov rbx, rbp
mov rsi, rbp
movabs rax, 0x7ffffffffffffff
cmp qword [0x1500793e0], rax
je 0x1502d02fc
lea rax, [0x1500793d8]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.15040af44
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx ecx, word [0x150012d60]
mov word [rax + 0x10], cx
and qword [rax + 0x18], 0
mov r8, qword [0x1500793e0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1502d01c8
cvtsi2ss xmm0, rcx
jmp 0x1502d01dd
mov rdx, qword [rcx + rax*8]
movzx eax, word [0x150012d60]
jmp 0x1502d0196
cmp rbx, rdx
je 0x1502d01be
mov rbx, qword [rbx + 8]
cmp ax, word [rbx + 0x10]
jne 0x1502d018d
mov rbp, qword [rbx]
mov rsi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x1502d011b
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x1502d02e0
mov rbp, rbx
xor eax, eax
mov rsi, rbx
jmp 0x1502d01a8
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x150079408]
xorps xmm1, xmm1
test rcx, rcx
js 0x1502d01f3
cvtsi2ss xmm1, rcx
jmp 0x1502d0208
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1500793d0]
seta al
test al, al
je 0x1502d0277
call fcn.1502d0328
mov rcx, qword [0x150079400]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1500793e8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1500793d8]
cmp rax, rbx
je 0x1502d0263
mov r8, qword [rdx + rcx*8]
movzx ecx, word [rdi + 0x10]
jmp 0x1502d025a
mov rbx, rax
cmp rax, r8
je 0x1502d02ba
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x1502d024e
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rsi, rbx
mov rbp, qword [rsp + 0x20]
mov r8, qword [0x1500793e0]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x1500793e0], r8
mov qword [rdi], rbp
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x150079400]
and rax, r15
add rax, rax
mov rcx, qword [0x1500793e8]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1500793d8]
jne 0x1502d02c1
mov qword [rcx + rax*8], rdi
jmp 0x1502d02d3
mov qword [rsp + 0x20], rax
jmp 0x1502d0268
cmp r8, rsi
jne 0x1502d02cc
mov qword [rcx + rax*8], rdi
jmp 0x1502d02d8
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1502d02d8
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
lea rcx, [0x1501755e8]
call fcn.15040822c
int3
Function at 0x1502d0328
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1500793e0]
xorps xmm0, xmm0
add rcx, 1
js 0x1502d0349
cvtsi2ss xmm0, rcx
jmp 0x1502d035e
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1500793d0]
call fcn.1504413bc
movss xmm1, dword [0x1502703c8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1502d0390
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1502d0390
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x150079408]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x1502d03c5
cmp rdx, 0x200
jae 0x1502d03c2
shl rdx, 3
cmp rdx, rcx
jae 0x1502d03c5
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x1502d0540
mov rbx, qword [0x1500793d8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1500793e8]
lea rdx, [rdi + rdi]
call fcn.1502ae44c
mov rax, qword [0x1500793d8]
lea r9, [rdi - 1]
mov qword [0x150079400], r9
mov qword [0x150079408], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1502d0535
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 2
jb 0x1502d044c
mov rdi, qword [0x1500793e8]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1502d048a
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1502d04fb
mov r10, qword [rdi + r11*8 + 8]
movzx edx, word [rax + 0x10]
cmp dx, word [r10 + 0x10]
jne 0x1502d04d0
mov r10, qword [r10]
cmp r10, rax
je 0x1502d0483
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1502d0483
mov r10, qword [r10 + 8]
cmp dx, word [r10 + 0x10]
je 0x1502d050f
cmp qword [rdi + r11*8], r10
jne 0x1502d04c5
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x1502d0535
mov r9, qword [0x150079400]
jmp 0x1502d043c
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1502d04fb
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x150175640]
call fcn.15040822c
int3
Function at 0x1502d7af8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0x13e0
call fcn.15040bb90
sub rsp, rax
mov rax, qword [0x150012098]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
call fcn.150409c24
mov r9d, 0xffffffff
mov dword [rsp + 0x44], eax
mov edi, 1
mov dword [rsp + 0x13c4], r9d
mov edx, edi
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
add rdx, rdi
cmp rdx, r8
jb 0x1502d7b4f
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x20], rax
mov ecx, 0x40
or rax, 0xffffffffffffffff
sub rcx, rdi
shr rax, 1
cmp rax, r9
ja 0x1502d7b82
mov rbp, qword [0x150047668]
mov r14, qword [0x150047660]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
cmp r14, rbp
je 0x1502d7c27
lea rbx, [r14 + 0x40]
cmp rbx, rbp
je 0x1502d7c27
lea rsi, [rbx + 0x20]
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.1502d842c
cmp rax, rdi
je 0x1502d7c17
shl rax, 6
add rax, r14
cmp rbx, rax
je 0x1502d7c17
movups xmm0, xmmword [rax]
movups xmm2, xmmword [rbx]
movups xmm3, xmmword [rbx + 0x10]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rax], xmm2
movups xmmword [rax + 0x10], xmm3
add rax, 0x20
cmp rsi, rax
je 0x1502d7c17
movups xmm0, xmmword [rax]
movups xmm2, xmmword [rsi]
movups xmm3, xmmword [rsi + 0x10]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rax], xmm2
movups xmmword [rax + 0x10], xmm3
inc rdi
add rbx, 0x40
add rsi, 0x40
cmp rbx, rbp
jne 0x1502d7bb7
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.15040aca0
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1502d842c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
push r15
mov r15, rdx
lea rdi, [rdx - 1]
mov rsi, rcx
mov r12d, 0x7fffffff
mov r13d, 0x9908b0df
xor r10d, r10d
xor r11d, r11d
test rdi, rdi
je 0x1502d85f6
mov cl, byte [rsi + 8]
add cl, 0xff
shl r10, cl
add r10, r10
mov r9, qword [rsi]
mov ecx, dword [r9]
cmp ecx, 0x270
jne 0x1502d84c9
lea r8, [r9 + 8]
mov ebx, ecx
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r12d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x1502d848c
mov ecx, dword [r9]
jmp 0x1502d858d
cmp ecx, 0x4e0
jb 0x1502d858d
lea rbx, [r9 + 0x9c4]
mov r14d, 0xe3
mov ebp, dword [rbx]
mov eax, ebp
mov ebp, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, ebp
and edx, r12d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [rbx + 0x630]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub r14, 1
jne 0x1502d84e4
lea rbx, [r9 + 0xd50]
mov r14d, 0x18c
mov ebp, dword [rbx]
mov eax, ebp
mov ebp, dword [rbx + 4]
mov edx, eax
lea rbx, [rbx + 4]
xor edx, ebp
and edx, r12d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [rbx - 0xd50]
xor ecx, edx
mov dword [rbx - 0x9c4], ecx
sub r14, 1
jne 0x1502d8526
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r12d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r13d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], r14d
xor ecx, ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, qword [rsi + 0x10]
ja 0x1502d8478
mov cl, byte [rsi + 8]
or r10, rax
add cl, 0xff
shl r11, cl
add r11, r11
or r11, qword [rsi + 0x10]
cmp r11, rdi
jb 0x1502d846c
xor edx, edx
mov rax, r11
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, r10
div r15
cmp rax, rcx
jb 0x1502d861a
cmp r8, rdi
jne 0x1502d845d
mov rbx, qword [rsp + 0x28]
mov rax, rdx
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret