joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012a40
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebx, ebx
xor r13d, r13d
mov rdi, rdx
sar rdx, 0x3f
mov rbp, rcx
shr rdx, 0x3e
mov r12, rdi
lea rsi, [rdi - 1]
lea rax, [rdi + rdx]
and eax, 3
sub rax, rdx
sub r12, rax
cmp rdi, 3
jle 0x140012a30
nop dword [rax]
cmp rdi, rbx
jle 0x1400129f0
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp rbx, r12
jl 0x140012908
mov rax, rdi
xor ebx, ebx
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x1400129ac
lea rsi, [rdi - 1]
jmp 0x140012975
test r15, r15
js 0x140012982
movzx eax, byte [rbp + r15]
shl ebx, 8
or ebx, eax
test r14, r14
je 0x14001299d
sub r14, 1
lea r15, [r12 + r14]
cmp r15, rdi
jl 0x140012960
mov rdx, rsi
mov rcx, r15
shl ebx, 8
call fcn.14000e8c0
movzx eax, byte [rbp + r15]
or ebx, eax
test r14, r14
jne 0x140012975
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor r13d, edi
mov eax, r13d
xor eax, ebx
mov r13d, eax
shr r13d, 0x10
xor r13d, eax
imul r13d, r13d, 0x85ebca6b
mov edx, r13d
shr edx, 0xd
xor edx, r13d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
mov rdx, rsi
call fcn.14000e8c0
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp r12, rbx
jg 0x140012908
jmp 0x14001293b
xor r12d, r12d
jmp 0x14001293b
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
test rcx, rcx
je 0x140012a5b
mov rdx, qword [rcx]
test rdx, rdx
js 0x140012a70
add rbx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400128c0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.1400113f0
mov rdx, qword [rbx]
jmp 0x140012a57

Function at 0x1400234f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call fcn.14002cde0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rbp - 8]
mov ecx, 2
call fcn.14002cde0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140023560
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x14004bc24]
mov rbx, rcx
test esi, esi
jle 0x140023690
mov rax, qword [0x14004bc28]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400235ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140023633
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140023590
mov rcx, rbx
call fcn.140024010
mov rdi, rax
test rax, rax
je 0x1400236b2
mov rax, qword [0x14004bc28]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140024150
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14004bc28]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140023697
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14002362c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140023640
add dword [0x14004bc24], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14004bc28]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14002362c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400234f0
nop word [rax + rax]
xor esi, esi
jmp 0x1400235b8
mov rax, qword [0x14004bc28]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400234f0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400234f0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140023c40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x14004bc80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14004bc60]
test rbx, rbx
je 0x140023ca5
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x140023c9c
test eax, eax
jne 0x140023c9c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140023c80
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140024010
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400333e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140024030
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140024038
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140024030
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14002408d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140024084
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140024030
add rax, 0x28
cmp rax, r9
jne 0x140024070
xor eax, eax
ret

Function at 0x140024090
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400333e0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400240af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400240b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400240af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140024150
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400333e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14002416f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140024178
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1407c6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407c61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407c6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407c606f
add dl, dl
jne 0x1407c6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407c60f6
xor eax, eax
add dl, dl
jne 0x1407c60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407c61ad
add dl, dl
jne 0x1407c60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407c60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407c607e
mov eax, 1
add dl, dl
jne 0x1407c6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407c60fb
sub eax, ebx
mov ebx, 1
jne 0x1407c614c
mov ecx, 1
add dl, dl
jne 0x1407c612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407c613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407c6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407c607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407c6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407c6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407c615d
cmp eax, 0x7d00
jae 0x1407c619b
cmp eax, 0x500
jb 0x1407c6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407c607e
cmp eax, 0x7f
ja 0x1407c619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407c607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407c61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407c607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000d910
Capabilities:
Terminate process

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, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016c60], rbx
je 0x14000d977
cmp rax, rbx
jne 0x14000d96a
mov ebx, 1
mov esi, ebx
jmp 0x14000d97c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d94f
mov ebx, 1
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d994
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000da00
mov eax, dword [0x140016c68]
test eax, eax
jne 0x14000d9f5
mov dword [0x140016c68], ebx
lea r15, [0x140010bb8]
lea rdi, [0x140010ba0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000d9e7
test eax, eax
jne 0x14000d9eb
cmp qword [rdi], r14
je 0x14000d9dc
mov rax, qword [rdi]
mov rcx, qword [0x140010b58]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000d9be
test eax, eax
je 0x14000d9fb
mov eax, 0xff
jmp 0x14000db56
mov dword [0x1400163e4], ebx
mov edi, 0x1f
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000da27
lea rdx, [0x140010b98]
lea rcx, [0x140010b60]
call sub.msvcrt.dll__initterm
mov dword [0x140016c68], 2
test esi, esi
jne 0x14000da35
mov rax, r14
xchg qword [0x140016c60], rax
cmp qword [0x140016c80], r14
je 0x14000da68
lea rcx, [0x140016c80]
call fcn.14000dfd0
test eax, eax
je 0x14000da68
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016c80]
mov r9, qword [0x140010b58]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000da81
mov eax, 0xff
jmp 0x14000db56
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000db07
test ax, ax
je 0x14000da9c
test edx, edx
jne 0x14000db07
sub ax, bx
cmp ax, di
ja 0x14000dab2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000da9c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400019fc
mov dword [0x1400163e0], eax
cmp dword [0x140016400], r14d
jne 0x14000daf0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400163e4], r14d
jne 0x14000db05
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163e0]
jmp 0x14000db56
cmp ax, 0x22
jne 0x14000db1b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000da8a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400a8000
add rsp, 0x28
jmp 0x14000d910
Function at 0x140675c00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x675c70
movabs r10, 0x675c74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x140675c66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x140675c50
lea rax, [r9 + r11]
jmp rax

Function at 0x141d39058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141d391df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141d39089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d3906f
add dl, dl
jne 0x141d39096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d390f6
xor eax, eax
add dl, dl
jne 0x141d390a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d391ad
add dl, dl
jne 0x141d390b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d390c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d390d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d390dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141d390ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141d3907e
mov eax, 1
add dl, dl
jne 0x141d39106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d39113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d390fb
sub eax, ebx
mov ebx, 1
jne 0x141d3914c
mov ecx, 1
add dl, dl
jne 0x141d3912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d3913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d39123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d3907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141d39168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d39175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d3915d
cmp eax, 0x7d00
jae 0x141d3919b
cmp eax, 0x500
jb 0x141d39196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d3907e
cmp eax, 0x7f
ja 0x141d3919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d3907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141d391d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141d3907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
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 0x1800020c0
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 0x1800020d9
call fcn.180002320
jmp 0x1800020e5
cmp eax, 0x4e0
jb 0x1800020e5
call fcn.180002230
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 0x1800020c0
mov rcx, qword [rcx]
jmp 0x180002130

Function at 0x1800021f0
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 0x1800020d9
call fcn.180002320
jmp 0x1800020e5
cmp eax, 0x4e0
jb 0x1800020e5
call fcn.180002230
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 0x1800020c0
mov rcx, qword [rcx]
jmp 0x180002130

Function at 0x180002230
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 0x180002250
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 0x1800022a0
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 0x180002320
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 0x180002330
ret

Function at 0x180002390
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x180002475
cmp r9, 0x40
jb 0x180002453
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 0x1800023dd
cmp rcx, r8
jae 0x180002453
cmp rdx, r11
ja 0x1800023e7
cmp rcx, r11
jae 0x180002453
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 0x180002401
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
cmp r10, r9
jae 0x180002475
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 0x180002460
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 0x1800083d0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret
Function at 0x18000c250
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 0x18000c408
cmp ecx, 0x7c
je 0x18000c408
cmp ecx, 0x29
jne 0x18000c298
cmp dword [rbx + 0x1c], 0
jne 0x18000c408
test dword [rbx + 0x80], 0x10000000
je 0x18000c421
jmp 0x18000c3d8
cmp ecx, 0x2e
jne 0x18000c2ab
lea rcx, [rbx + 0x40]
call fcn.18000baf0
jmp 0x18000c3e5
cmp ecx, 0x5c
jne 0x18000c30f
mov rcx, rbx
call fcn.18000f990
test byte [rbx + 0x80], 0x80
je 0x18000c302
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18000c2df
lea rcx, [rbx + 0x40]
call fcn.18000c170
mov rcx, rbx
call fcn.18000f990
jmp 0x18000c3f5
cmp al, 0x42
jne 0x18000c302
lea rcx, [rbx + 0x40]
call fcn.18000c170
lea rcx, [rbx + 0x40]
call fcn.18000f910
mov rcx, rbx
call fcn.18000f990
jmp 0x18000c3f5
mov rcx, rbx
call fcn.18000c4a0
jmp 0x18000c3ed
cmp ecx, 0x5b
jne 0x18000c33c
mov rcx, rbx
call fcn.18000f990
mov rcx, rbx
call fcn.18000d0b0
mov edx, 0x5d
mov r8d, 4
mov rcx, rbx
call fcn.18000e730
jmp 0x18000c3ed
cmp ecx, 0x28
jne 0x18000c372
mov rcx, rbx
call fcn.18000f990
mov rcx, rbx
call fcn.180010600
mov edx, 0x29
mov r8d, 5
mov rcx, rbx
movzx edi, al
call fcn.18000e730
test dil, dil
je 0x18000c3f5
jmp 0x18000c3ed
cmp ecx, 0x5e
jne 0x18000c38a
lea rcx, [rbx + 0x40]
call fcn.18000b880
mov rcx, rbx
call fcn.18000f990
jmp 0x18000c3f5
cmp ecx, 0x24
jne 0x18000c3a2
lea rcx, [rbx + 0x40]
call fcn.18000bba0
mov rcx, rbx
call fcn.18000f990
jmp 0x18000c3f5
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000c413
cmp ecx, 0x3f
je 0x18000c413
cmp ecx, 0x7b
je 0x18000c413
cmp ecx, 0x7d
jne 0x18000c3c7
test dword [rbx + 0x80], 0x10000000
je 0x18000c42f
jmp 0x18000c3d8
cmp ecx, 0x5d
jne 0x18000c3d8
test dword [rbx + 0x80], 0x10000000
je 0x18000c43d
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18000b890
mov rcx, rbx
call fcn.18000f990
mov rcx, rbx
call fcn.18000fa40
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18000c408
cmp ecx, 0x7c
jne 0x18000c274
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.18000e6e0
int3
mov edx, 5
mov rcx, rbx
call fcn.18000e6e0
int3
mov edx, 6
mov rcx, rbx
call fcn.18000e6e0
int3
mov edx, 4
mov rcx, rbx
call fcn.18000e6e0
int3
Function at 0x180018240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x180018251
mov ecx, edx
jmp 0x18001829a
mov ecx, 1
call fcn.180018350
mov rcx, rax
call fcn.1800182c0
mov rcx, rax
mov rdx, rbx
call 0x180018450
test rax, rax
jne 0x1800182b7
mov ecx, 3
call fcn.180018350
mov rcx, rax
call fcn.1800182c0
mov rcx, rax
mov rdx, rbx
call 0x180018450
test rax, rax
jne 0x1800182b7
mov ecx, 2
call fcn.180018350
mov rcx, rax
call fcn.1800182c0
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x180018450
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x1800184af
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x1800184da
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x1800184dc
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x1800184da
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x180018970
test eax, eax
je 0x1800184f9
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x1800184c0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x1800184dc

Function at 0x1800183f0
Capabilities:
Access peb ldr_data

Disassembly:
cmp qword [rcx + 0x30], 0
jne 0x18001840e
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x20]
jmp 0x180018412
mov rdx, qword [rcx + 0x10]
movups xmm0, xmmword [rdx - 0x10]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x50], xmm1
movsd xmm0, qword [rdx + 0x50]
movsd qword [rcx + 0x60], xmm0
mov rax, qword [rcx + 0x30]
ret