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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x140012eaa
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140012fc0]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140012e80
lea rdx, str.CreateThread_failed
lea rcx, [0x14004c3c0]
call fcn.14000785c
lea rcx, [0x14004c3c0]
call fcn.140007ad4
lea edx, [rsi + 2]
lea rcx, [0x14004c3c0]
call fcn.140007854
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x140053698]
test edx, edx
je 0x140012ea0
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x140012e24
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001d794
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
and qword [rax + 0x20], 0
mov rbp, rcx
and qword [rax + 0x10], 0
mov r14, r8
mov rax, qword [rdx]
mov rdi, rdx
mov rbx, qword [rax + 0x90]
mov rcx, rbx
call qword [fcn.140024400]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x14001d896
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14001d88d
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140024400]
lea r8, [rsp + 0x68]
mov rcx, rdi
lea rdx, [0x14003b240]
call rbx
mov esi, eax
test eax, eax
js 0x14001d86e
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [fcn.140024400]
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x14001d854
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.140024400]
mov rdx, r14
mov rcx, rdi
call rbx
mov esi, eax
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140024400]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x78]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140024400]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x78]
test esi, esi
js 0x14001d896
test rdi, rdi
jne 0x14001d907
cmp qword [rbp + 0x10], 0
je 0x14001d907
cmp qword [rbp + 0x40], 0
jne 0x14001d907
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x14001d907
mov rcx, rbp
call fcn.14001e070
mov rbx, rax
test rax, rax
je 0x14001d907
mov rcx, qword [rbp + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbp + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0x10]
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
call fcn.140028244
mov rbx, qword [rsp + 0x60]
not esi
mov rbp, qword [rsp + 0x70]
shr esi, 0x1f
mov al, sil
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14001ec94
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14001ed44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x14003a2d0]
mov rcx, qword [0x14004c2b0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14001ed76
xor eax, eax
jmp 0x14001eec6
mov rcx, qword [0x14004c2b0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001ed6f
mov rcx, qword [0x14004c2b0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001ed6f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14001ed6f
and qword [rsp + 0x58], 0
mov edx, edi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x14001eec1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001eeb8
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.140025390
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x14001eeaf
mov rbx, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rsi, rax
test rax, rax
je 0x14001ee4f
and qword [rsp + 0x50], 0
lea rax, [0x14003a2a0]
lea rdx, [rsp + 0x50]
mov qword [rsi], rax
mov rcx, rbx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rsi + 0x10], eax
mov rax, qword [rsp + 0x50]
mov qword [rsi + 8], rax
jmp 0x14001ee51
xor esi, esi
mov rdi, qword [rsp + 0x48]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140024400]
mov rcx, rdi
call rbx
test rsi, rsi
je 0x14001eeaf
mov eax, dword [rsi + 0x10]
and dword [rsi + 0x10], 0
test eax, eax
jne 0x14001ee96
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x14001ee96
mov dword [rsi + 0x10], eax
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140024400]
mov edx, 1
mov rcx, rsi
call rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001f3cc
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14001f628
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1070
call fcn.140024450
sub rsp, rax
xor ebx, ebx
cmp word [0x140054952], bx
je 0x14001f6d0
lea rcx, [0x140054952]
call fcn.14000d690
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.140013ed4
test eax, eax
jne 0x14001f6d0
lea rcx, [0x140053950]
call fcn.14001f3cc
mov r8d, 0x800
lea rdx, [0x140054952]
lea rcx, [rsp + 0x60]
call fcn.140012198
lea rcx, [rsp + 0x60]
call fcn.140028228
xor edx, edx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
call fcn.1400251e0
lea eax, [rbx + 0x14]
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x1070
pop rbx
ret

Function at 0x14001f738
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x170
xor ebp, ebp
mov rdi, r8
cmp qword [0x1400497c0], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x14001f7a0
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rax - 0xd8]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x14006a3a8], ax
lea rax, [0x14006a3a8]
mov qword [0x1400497c0], rax
mov word [0x14006a3aa], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140012000
lea r9, [0x1400497a8]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea r11, [rsp + 0x170]
mov word [rbx + rdi*2 - 2], bp
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001fa08
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f40]
mov eax, 0x2040
call fcn.140024450
sub rsp, rax
xor esi, esi
mov rdi, rdx
cmp byte [0x140055958], sil
mov rbx, rcx
je 0x14001faef
mov r8d, 0x800
lea rdx, [rbp + 0xf40]
call fcn.140021338
lea rax, [rsp + 0x30]
xor r8d, r8d
lea r9d, [rsi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWinRAR_SFX
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001faef
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1f70]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1f78]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x1f70], 0x1000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001fae4
mov edx, dword [rbp + 0x1f70]
mov ecx, 0x7ff
shr edx, 1
mov r8, rdi
cmp edx, ecx
mov eax, edx
mov dword [rbp + 0x1f70], edx
lea rdx, [rsp + 0x40]
cmovb ecx, eax
mov word [rsp + rcx*2 + 0x40], si
mov rcx, rbx
call fcn.140012198
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2040
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001fbe8
Capabilities:
Query environment variable

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 r14
mov eax, 0x2020
call fcn.140024450
sub rsp, rax
xor r14d, r14d
mov rsi, r8
mov rbx, rcx
test r9, r9
je 0x14001fc1b
mov byte [r9], r14b
mov rcx, qword [rsp + 0x2050]
test rcx, rcx
je 0x14001fc2b
mov byte [rcx], r14b
test rbx, rbx
je 0x14001fce0
movzx eax, word [rbx]
test ax, ax
je 0x14001fce0
movsxd rbp, dword [rsp + 0x2058]
mov rdi, r14
mov r8d, r14d
add rbx, 2
cmp ax, 0x3d
jne 0x14001fc70
test rsi, rsi
je 0x14001fc7c
test rdi, rdi
jne 0x14001fc7c
test r9, r9
je 0x14001fc6b
mov byte [r9], 1
mov rdi, rdx
jmp 0x14001fc8b
cmp ax, 0xd
je 0x14001fc9d
cmp ax, 0xa
je 0x14001fca1
mov word [rdx], ax
add rdx, 2
lea eax, [rbp - 2]
cmp r8d, eax
jge 0x14001fc98
movzx eax, word [rbx]
inc r8d
test ax, ax
jne 0x14001fc4e
jmp 0x14001fca1
mov byte [rcx], 1
jmp 0x14001fca1
add rbx, 2
mov word [rdx], r14w
test rsi, rsi
je 0x14001fcdb
mov word [rsi], r14w
test rdi, rdi
je 0x14001fcdb
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140012198
mov word [rdi], r14w
mov rax, rbx
jmp 0x14001fce2
xor eax, eax
lea r11, [rsp + 0x2020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14001fd00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
test eax, eax
sete sil
test sil, sil
je 0x14001fd7c
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rdi, qword [rsp + 0x58]
cmp eax, 1
sete sil
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.140024400]
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call rbx
jmp 0x14001fd7f
mov word [rdi], cx
mov rbx, qword [rsp + 0x40]
mov al, sil
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400229ac
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x14005390c], 0
mov edx, 1
mov rbx, rcx
mov byte [0x140053909], 1
mov byte [0x14005390a], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.140001378
cmp qword [0x140053928], 0
jne 0x1400229f7
cmp byte [0x14005391f], 0
je 0x140022a00
cmp dword [0x140053918], 0
jne 0x140022a15
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret

Function at 0x140022af0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.140024450
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x140055958], dil
je 0x140022bc2
cmp word [0x14005595a], di
je 0x140022bc2
mov r8d, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [0x14005595a]
call fcn.140021338
lea rax, [rsp + 0x1068]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareWinRAR_SFX
lea rax, [rsp + 0x1070]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140022bc2
mov rcx, rbx
call fcn.140028228
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1070]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret

Function at 0x140022bd4
Capabilities:
Set environment variable

Disassembly:
push rbx
mov eax, 0x2020
call fcn.140024450
sub rsp, rax
mov rbx, rcx
mov rdx, rcx
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140011ea0
mov rbx, rax
test rax, rax
je 0x140022c36
movzx ecx, word [rax]
jmp 0x140022c1d
add rbx, 2
movzx ecx, word [rbx]
call fcn.140011fd8
test al, al
jne 0x140022c16
mov rdx, rbx
lea rcx, str.sfxpar
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x2020
pop rbx
ret
Function at 0x14002c92c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14002c700
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002c700
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002c700
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002c700
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002c700
cmp dword [rcx + 0x84], 0xe
jbe 0x14002c700
cmp dword [rcx + 0xf8], esi
je 0x14002c700
mov ecx, r14d
call fcn.14002c848
mov ecx, 2
call fcn.14002ff38
nop
cmp byte [0x14006c668], 0
jne 0x14002c7ca
mov r15d, 1
mov eax, r15d
xchg dword [0x14006c658], eax
test ebx, ebx
jne 0x14002c773
mov rdi, qword [0x140049860]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14006c660]
cmp rcx, rax
je 0x14002c76a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140024400]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14006c798]
jmp 0x14002c77f
cmp ebx, r15d
jne 0x14002c785
lea rcx, [0x14006c7b0]
call fcn.14002d2bc
nop
test ebx, ebx
jne 0x14002c79c
lea rdx, [0x1400385a8]
lea rcx, [0x140038588]
call fcn.14002d624
lea rdx, [0x1400385b8]
lea rcx, [0x1400385b0]
call fcn.14002d624
movzx eax, byte [0x14006c668]
test esi, esi
cmove eax, r15d
mov byte [0x14006c668], al
jmp 0x14002c7ca
mov ecx, 2
call fcn.14002ff98
test esi, esi
jne 0x14002c7e1
mov ecx, r14d
call fcn.14002c7fc
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002c690
Function at 0x180001e30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov rbx, rcx
call fcn.180001e00
mov rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov rbx, rcx
cmp eax, 0x270
jne 0x1800020b9
call fcn.180002350
jmp 0x1800020c5
cmp eax, 0x4e0
jb 0x1800020c5
call fcn.180002260
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 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 eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
jmp 0x1800020a0
mov rcx, qword [rcx]
jmp 0x180002110

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

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov rbx, rcx
cmp eax, 0x270
jne 0x1800020b9
call fcn.180002350
jmp 0x1800020c5
cmp eax, 0x4e0
jb 0x1800020c5
call fcn.180002260
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 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 eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
jmp 0x1800020a0
mov rcx, qword [rcx]
jmp 0x180002110

Function at 0x180002260
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
nop word [rax + rax]
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180002280
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800022d0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
mov dword [r9], ebx
mov rbx, qword [rsp + 8]
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret
Function at 0x180002350
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea rax, [rcx + 8]
mov r9d, 0x270
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x180002360
ret

Function at 0x1800023c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x1800024a5
cmp r9, 0x40
jb 0x180002483
movsx eax, byte [rcx]
lea rcx, [rdx - 1]
add rcx, r9
movd xmm2, eax
lea rax, [r8 - 1]
punpcklbw xmm2, xmm2
add rax, r9
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
cmp rdx, rax
ja 0x18000240d
cmp rcx, r8
jae 0x180002483
cmp rdx, r11
ja 0x180002417
cmp rcx, r11
jae 0x180002483
mov rcx, r9
mov qword [rsp + 0x10], rbx
and rcx, 0xffffffffffffffc0
mov qword [rsp], rdi
mov rbx, r8
lea rax, [rdx + 0x10]
sub rbx, rdx
movdqu xmm0, xmmword [rbx + rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rbx + rax]
lea rax, [rax + 0x40]
xorps xmm0, xmm2
xorps xmm1, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rbx + rax - 0x30]
movdqu xmmword [rax - 0x40], xmm1
xorps xmm0, xmm2
movdqu xmm1, xmmword [rbx + rax - 0x20]
movdqu xmmword [rax - 0x30], xmm0
xorps xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp r10, rcx
jb 0x180002431
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
cmp r10, r9
jae 0x1800024a5
sub r8, rdx
lea rax, [r10 + rdx]
sub r9, r10
nop dword [rax]
movzx ecx, byte [r8 + rax]
lea rax, [rax + 1]
xor cl, byte [r11]
mov byte [rax - 1], cl
sub r9, 1
jne 0x180002490
add rsp, 8
ret

Function at 0x180002920
Capabilities:
Encode data using xor

Disassembly:
mov dword [rcx + 4], edx
lea r10, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r9d, edx
lea r10, [r10 + 4]
shr r9d, 0x1e
xor edx, r9d
imul edx, r8d
add edx, eax
inc rax
mov dword [r10 - 4], edx
cmp rax, 0x270
jb 0x180002930
mov dword [rcx], 0x270
ret

Function at 0x1800083c0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret
Function at 0x18000c230
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x18000c3e8
cmp ecx, 0x7c
je 0x18000c3e8
cmp ecx, 0x29
jne 0x18000c278
cmp dword [rbx + 0x1c], 0
jne 0x18000c3e8
test dword [rbx + 0x80], 0x10000000
je 0x18000c401
jmp 0x18000c3b8
cmp ecx, 0x2e
jne 0x18000c28b
lea rcx, [rbx + 0x40]
call fcn.18000bad0
jmp 0x18000c3c5
cmp ecx, 0x5c
jne 0x18000c2ef
mov rcx, rbx
call fcn.18000f970
test byte [rbx + 0x80], 0x80
je 0x18000c2e2
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18000c2bf
lea rcx, [rbx + 0x40]
call fcn.18000c150
mov rcx, rbx
call fcn.18000f970
jmp 0x18000c3d5
cmp al, 0x42
jne 0x18000c2e2
lea rcx, [rbx + 0x40]
call fcn.18000c150
lea rcx, [rbx + 0x40]
call fcn.18000f8f0
mov rcx, rbx
call fcn.18000f970
jmp 0x18000c3d5
mov rcx, rbx
call fcn.18000c480
jmp 0x18000c3cd
cmp ecx, 0x5b
jne 0x18000c31c
mov rcx, rbx
call fcn.18000f970
mov rcx, rbx
call fcn.18000d090
mov edx, 0x5d
mov r8d, 4
mov rcx, rbx
call fcn.18000e710
jmp 0x18000c3cd
cmp ecx, 0x28
jne 0x18000c352
mov rcx, rbx
call fcn.18000f970
mov rcx, rbx
call fcn.1800105e0
mov edx, 0x29
mov r8d, 5
mov rcx, rbx
movzx edi, al
call fcn.18000e710
test dil, dil
je 0x18000c3d5
jmp 0x18000c3cd
cmp ecx, 0x5e
jne 0x18000c36a
lea rcx, [rbx + 0x40]
call fcn.18000b860
mov rcx, rbx
call fcn.18000f970
jmp 0x18000c3d5
cmp ecx, 0x24
jne 0x18000c382
lea rcx, [rbx + 0x40]
call fcn.18000bb80
mov rcx, rbx
call fcn.18000f970
jmp 0x18000c3d5
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000c3f3
cmp ecx, 0x3f
je 0x18000c3f3
cmp ecx, 0x7b
je 0x18000c3f3
cmp ecx, 0x7d
jne 0x18000c3a7
test dword [rbx + 0x80], 0x10000000
je 0x18000c40f
jmp 0x18000c3b8
cmp ecx, 0x5d
jne 0x18000c3b8
test dword [rbx + 0x80], 0x10000000
je 0x18000c41d
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18000b870
mov rcx, rbx
call fcn.18000f970
mov rcx, rbx
call fcn.18000fa20
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18000c3e8
cmp ecx, 0x7c
jne 0x18000c254
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.18000e6c0
int3
mov edx, 5
mov rcx, rbx
call fcn.18000e6c0
int3
mov edx, 6
mov rcx, rbx
call fcn.18000e6c0
int3
mov edx, 4
mov rcx, rbx
call fcn.18000e6c0
int3