joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140125b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x18
mov r11d, 1
mov eax, r8d
mov r10, rcx
mov r15, rdx
mov ecx, r9d
inc rax
shl r11, cl
mov edx, eax
add rdx, rdx
lea rdx, [rdx + r11 + 8]
cmp qword [rsp + 0x88], rdx
mov rdx, 0xffffffffffffffd2
setb dil
cmp r8d, 0xff
seta cl
or dil, cl
jne 0x140125d3f
mov rdx, 0xffffffffffffffd4
cmp r9d, 0xc
ja 0x140125d3f
mov edx, 1
lea esi, [r8 + 1]
lea rbx, [r10 + 4]
mov ecx, r9d
mov r8d, edx
mov dword [rsp + 8], esi
mov esi, 1
shl r8d, cl
movzx ecx, r9w
or ecx, 0x10000
lea ebp, [r8 - 1]
mov r14d, ecx
mov r12d, ecx
lea ecx, [r9 - 1]
shl edx, cl
xor ecx, ecx
mov dword [rsp + 0xc], edx
mov edx, ebp
mov r11w, word [r15 + rcx*2]
cmp r11w, 0xffff
jne 0x140125bd8
mov r11d, edx
dec edx
mov byte [rbx + r11*4 + 2], cl
mov r11d, 1
jmp 0x140125be6
xor edi, edi
cmp r11w, word [rsp + 0xc]
cmovge esi, edi
mov dil, 1
mov r13, qword [rsp + 0x80]
mov word [r13 + rcx*2], r11w
mov r11d, dword [rsp + 8]
inc rcx
cmp ecx, r11d
jb 0x140125bba
test dil, dil
je 0x140125c13
shl esi, 0x10
movzx r14d, r14w
or r14d, esi
mov r12d, r14d
mov r11d, r8d
mov ecx, r8d
mov dword [r10], r12d
shr r11d, 1
shr ecx, 3
lea ecx, [r11 + rcx + 3]
cmp edx, ebp
jne 0x140125cc6
add rax, rax
xor r11d, r11d
xor ebp, ebp
add rax, qword [rsp + 0x80]
movabs r14, 0x101010101010101
mov r13, r11
lea r12, [rax + rbp]
movsx rdi, word [r15 + r11*2]
imul r13, r14
mov dword [rsp + 0xc], edi
mov rsi, rdi
mov edi, 8
mov qword [r12], r13
cmp dword [rsp + 0xc], edi
jle 0x140125c79
mov qword [r12 + rdi], r13
add rdi, 8
jmp 0x140125c69
mov edi, dword [rsp + 8]
inc r11
add rbp, rsi
cmp r11d, edi
jb 0x140125c49
movsxd rdi, r8d
xor esi, esi
xor r11d, r11d
mov r12b, byte [rax + rsi]
mov rbp, rdx
and rbp, r11
add r11, rcx
mov byte [rbx + rbp*4 + 2], r12b
mov rbp, rdx
mov r12b, byte [rax + rsi + 1]
add rsi, 2
and rbp, r11
add r11, rcx
mov byte [rbx + rbp*4 + 2], r12b
and r11, rdx
cmp rsi, rdi
jb 0x140125c90
xor r11d, r11d
jmp 0x140125d00
xor r11d, r11d
xor eax, eax
movsx edi, word [r15 + r11*2]
xor esi, esi
cmp edi, esi
jle 0x140125cea
mov r12d, eax
mov byte [rbx + r12*4 + 2], r11b
add eax, ecx
and eax, ebp
cmp edx, eax
jb 0x140125cde
inc esi
jmp 0x140125cd2
mov edi, dword [rsp + 8]
inc r11
cmp r11d, edi
jb 0x140125ccb
or rdx, 0xffffffffffffffff
test eax, eax
je 0x140125cc1
jmp 0x140125d3f
movzx edx, byte [r10 + r11*4 + 6]
add rdx, rdx
add rdx, qword [rsp + 0x80]
movzx eax, word [rdx]
lea ecx, [rax + 1]
mov word [rdx], cx
bsr ecx, eax
xor ecx, 0x1f
lea ecx, [r9 + rcx - 0x1f]
shl eax, cl
mov byte [r10 + r11*4 + 7], cl
sub eax, r8d
mov word [r10 + r11*4 + 4], ax
inc r11
cmp r11d, r8d
jb 0x140125d00
xor edx, edx
mov rax, rdx
add rsp, 0x18
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14017f930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rsi
push rbx
sub rsp, 0x30
mov r13, qword [rsp + 0x80]
mov rbp, rdx
mov rsi, rcx
mov rdx, r8
mov r8d, r9d
test rbp, rbp
je 0x14017f9cf
mov r12, qword [rcx + 0x80]
mov qword [rsp + 0x28], rdx
mov rcx, r12
call fcn.1401f9b10
mov rbx, rax
mov eax, 7
test rbx, rbx
je 0x14017f9e2
mov rdx, qword [rsp + 0x28]
mov r9, rbx
mov r8, rbp
mov rcx, r12
call fcn.140202900
mov eax, dword [rbx + 0x1c]
test ax, ax
je 0x14017f998
cmp word [r12 + 8], ax
jae 0x14017f9a4
mov ecx, 0x10e85
call fcn.1401ce190
jmp 0x14017f9b2
mov r8, r13
mov rdx, rbx
mov rcx, rsi
call fcn.1401c9d40
mov rdx, qword [rsi + 0x80]
mov dword [rsp + 0x28], eax
mov rcx, qword [rdx + 0x10]
mov rdx, rbx
call fcn.1401cf730
mov eax, dword [rsp + 0x28]
jmp 0x14017f9e2
mov r9, r13
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
jmp fcn.1401cbf60
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
ret
Function at 0x1401a4190
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
xor edi, edi
movsxd r12, edx
mov rbp, rcx
mov r14, r8
mov r13, r9
cmp qword [rcx + r12*8 + 0x28], 0
mov r15, r12
jne 0x1401a436d
lea rdi, [rsp + 0x38]
lea rsi, str.a_
mov ecx, 0x16
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rbp]
cmp r12d, 4
jg 0x1401a4210
cmp r12d, 2
jg 0x1401a4262
je 0x1401a4236
test r12d, r12d
js 0x1401a42d2
mov r9, qword [rsi + 0x50]
mov r8, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsp + r12*8 + 0x38]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.14020dd20
jmp 0x1401a424e
cmp r12d, 0xa
jne 0x1401a42d2
mov rdx, qword [rsi + 0x60]
mov r8, qword [rsi + 0x48]
lea rcx, str.SELECT__s_FROM__s_AS_T
call fcn.14020dd20
mov rbx, rax
jmp 0x1401a435d
mov rdx, qword [rsi + 0x60]
mov r9, qword [rsi + 0x50]
lea rcx, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov r8, qword [rsi + 0x48]
call fcn.14020dd20
mov rbx, rax
mov r9d, 1
test rax, rax
jne 0x1401a42ff
jmp 0x1401a427e
mov edi, dword [rsi + 0x18]
lea ecx, [rdi + rdi + 3]
lea ebx, [rdi + 1]
movsxd rcx, ecx
call fcn.14020dc80
mov r15, rax
xor eax, eax
test r15, r15
jne 0x1401a4288
mov edi, 7
jmp 0x1401a436d
cmp ebx, eax
jle 0x1401a429c
mov byte [r15 + rax*2], 0x3f
mov byte [r15 + rax*2 + 1], 0x2c
inc rax
jmp 0x1401a4288
xor eax, eax
add rbx, rbx
inc edi
mov rcx, qword [rsp + r12*8 + 0x38]
cmovl rbx, rax
mov r9, r15
mov byte [r15 + rbx - 1], 0
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
call fcn.14020dd20
mov rcx, r15
mov rbx, rax
call fcn.14020cdc0
jmp 0x1401a435d
mov rdx, qword [rsi + 8]
mov rcx, qword [rsp + r12*8 + 0x38]
mov r8, qword [rsi + 0x10]
call fcn.14020dd20
mov rbx, rax
test rax, rax
je 0x1401a427e
xor r9d, r9d
cmp r15d, 2
setg r9b
lea r9d, [r9*4 + 1]
mov rax, qword [rbp]
or r8d, 0xffffffff
mov rdx, rbx
inc dword [rax + 0x78]
xor eax, eax
mov qword [rsp + 0x28], rax
lea rax, [rbp + r12*8 + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsi]
call fcn.14020e150
mov rcx, rbx
mov edi, eax
mov rax, qword [rbp]
dec dword [rax + 0x78]
call fcn.14020cdc0
test edi, edi
je 0x1401a436d
test r13, r13
je 0x1401a436d
mov rcx, qword [rsi]
call fcn.14020c5c0
lea rcx, [0x1402a2fba]
mov rdx, rax
call fcn.14020dd20
mov qword [r13], rax
jmp 0x1401a436d
mov r9d, 5
test rbx, rbx
jne 0x1401a42ff
jmp 0x1401a427e
mov rcx, qword [rbp + r12*8 + 0x28]
mov qword [r14], rcx
call fcn.14020e770
mov eax, edi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401b4670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.1401eff30
mov r8, rax
test rax, rax
jne 0x1401b46a6
mov eax, 7
jmp 0x1401b4742
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x1401b4740
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x1401b46e7
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x1401b46ed
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.1401c86a0
mov dword [rdi + 0x20], 1
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1401b469c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x1401b4732
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x1401b46ca
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x1401e77a3
cmp byte [rcx + 0xa], 0
je 0x1401e77a3
jmp 0x1401b4670
xor eax, eax
ret

Function at 0x1401bbf20
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
sub rsp, 0x58
mov r12d, dword [rsp + 0xa0]
mov byte [rcx + 0x1c], 1
mov ebp, r8d
mov rsi, rdx
mov rdi, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov dword [rsp + 0x20], r8d
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x48], rcx
call fcn.1401e6b80
test ebp, ebp
mov rcx, qword [rsp + 0x48]
jne 0x1401bbf90
mov r9, rdi
mov r8, rsi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov dword [rsp + 0xa0], r12d
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1401e6b80
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1401bf180
Capabilities:
Reference sql statements

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd r12, edx
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rsi, r8
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
cmp qword [rcx + r12*8 + 0x28], 0
mov rbp, r12
mov rdi, r9
mov qword [rsp + 0x48], rax
lea r13, [r12 + 4]
jne 0x1401bf1d7
mov rdx, qword [rsp + r12*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call fcn.1401bf5d0
mov qword [rbx + r13*8 + 8], rax
cmp dword [rbx + 0x40], 0
jne 0x1401bf290
mov r12, qword [rbx + r12*8 + 0x28]
mov r8, rsi
mov edx, 1
mov rcx, r12
call fcn.140209d20
mov rcx, r12
call fcn.14020f490
cmp eax, 0x65
jne 0x1401bf233
test ebp, ebp
lea rdx, str.__rowid
mov r9, rdi
mov r8, rsi
lea rax, str.__parent
mov rcx, rbx
cmovne rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call fcn.1401bf080
jmp 0x1401bf27f
cmp eax, 0x64
jne 0x1401bf27f
xor edx, edx
mov rcx, r12
call fcn.14020ab50
mov r9, rax
cmp rdi, rax
je 0x1401bf27f
lea rdx, str.__rowid
test ebp, ebp
mov r8, rsi
mov rcx, rbx
lea rax, str.__parent
mov qword [rsp + 0x30], rdi
cmovne rax, rdx
mov qword [rsp + 0x28], rsi
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call fcn.1401bf080
mov rcx, r12
call fcn.14020e770
cmp dword [rbx + 0x40], 0
jne 0x1401bf290
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1401dfd50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
mov r9d, edx
cmp ecx, 0x7f
jg 0x1401dfd6e
lea eax, [rcx - 0x41]
cmp eax, 0x19
ja 0x1401dfe15
add ecx, 0x20
jmp 0x1401dfe15
cmp ecx, 0xffff
jg 0x1401dfe07
or r8d, 0xffffffff
xor r11d, r11d
mov ebx, 0xa2
mov esi, 2
lea r10, [0x1402b29c0]
lea eax, [rbx + r11]
cdq
idiv esi
movsxd rdx, eax
movzx edx, word [r10 + rdx*4]
cmp ecx, edx
jl 0x1401dfdae
lea r11d, [rax + 1]
mov r8d, eax
jmp 0x1401dfdb1
lea ebx, [rax - 1]
cmp ebx, r11d
jge 0x1401dfd92
movsxd rax, r8d
movzx edx, word [r10 + rax*4]
movzx r8d, byte [r10 + rax*4 + 3]
add r8d, edx
cmp ecx, r8d
jge 0x1401dfdf2
mov al, byte [r10 + rax*4 + 2]
xor edx, ecx
mov r8d, eax
and r8d, 1
test r8d, edx
jne 0x1401dfdf2
shr al, 1
lea rdx, [0x1402b6100]
and eax, 0x7f
add cx, word [rdx + rax*2]
movzx ecx, cx
test r9d, r9d
je 0x1401dfe15
xor edx, edx
cmp r9d, 2
sete dl
pop rbx
pop rsi
jmp fcn.1401ba5e0
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x1401dfe15
add ecx, 0x28
mov eax, ecx
pop rbx
pop rsi
ret

Function at 0x1401e7790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.1401eff30
mov r8, rax
test rax, rax
jne 0x1401b46a6
mov eax, 7
jmp 0x1401b4742
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x1401b4740
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x1401b46e7
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x1401b46ed
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.1401c86a0
mov dword [rdi + 0x20], 1
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1401b469c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x1401b4732
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x1401b46ca
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x1401e77a3
cmp byte [rcx + 0xa], 0
je 0x1401e77a3
jmp 0x1401b4670
xor eax, eax
ret
Function at 0x140219010
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor edi, edi
xor esi, esi
movzx r12d, byte [rcx + 0x5b]
dec r12d
mov byte [rcx + 0x58], 1
mov rbx, rcx
cmp esi, r12d
jge 0x140219103
movzx eax, byte [rbx + 0x5a]
lea eax, [rsi + rax + 1]
cdq
idiv r12d
movsxd rbp, edx
imul rax, rbp, 0x68
cmp dword [rbx + rax + 0x68], 0
lea rdi, [rbx + rax + 0x60]
jne 0x140219065
imul rbp, rbp, 0x68
cmp qword [rbx + rbp + 0x60], 0
je 0x140219076
inc esi
jmp 0x14021902d
mov rcx, rdi
call fcn.1402191a0
test eax, eax
je 0x140219055
jmp 0x140219128
lea rdx, [rbx + 0x60]
mov rax, rdi
mov rcx, qword [rdi + 0x28]
movups xmm0, xmmword [rbx + 0x38]
sub rax, rdx
movabs rdx, 0x4ec4ec4ec4ec4ec5
sar rax, 3
imul rax, rdx
xor edx, edx
mov byte [rbx + 0x5a], al
mov rax, qword [rbx + 0x48]
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
xor eax, eax
mov qword [rbx + 0x38], rax
mov dword [rbx + 0x48], edx
test rcx, rcx
je 0x1402190c7
mov qword [rbx + 0x40], rcx
call fcn.1401e6630
mov dword [rbx + 0x54], eax
jmp 0x1402190e0
cmp qword [rbx + 0x40], 0
je 0x1402190e0
movsxd rcx, dword [rbx + 0x54]
call fcn.1401e64d0
mov qword [rbx + 0x40], rax
test rax, rax
je 0x1402190fc
mov r8, rdi
lea rdx, [0x140219140]
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1401f69f0
mov eax, 7
jmp 0x140219128
jne 0x140219076
movsxd rsi, esi
lea rdx, [rbx + 0x38]
imul rsi, rsi, 0x68
lea rcx, [rbx + rsi + 0x60]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140219210
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140224580
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
xor r11d, r11d
movsxd rax, dword [rcx + 0xc]
lea r10d, [rax + 1]
add rax, qword [rcx]
mov bl, byte [rdx + r9]
xor byte [rax], bl
movsxd rax, r10d
cmp dword [rcx + 8], r10d
cmovle rax, r11
inc r9
cmp r8d, r9d
jg 0x14022458b
add dword [rcx + 0x10], r8d
mov dword [rcx + 0xc], eax
pop rbx
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
or byte [rbx - 0x31], ah
rcr byte [rdx + 0x30b2078d], cl
push rcx
xor byte [rdx + 4], dh
cwde
mov ecx, 0x3b8bb178
mov dl, 0x8a
mov ah, 0x16
sub byte [rdi + 0x51], ch
or dword [rbp + 0x16565089], 0x21f63f2e
jnp 0x140020990
and dword [rbx + 9], edi
lodsd eax, dword ss:[rsi]
fldcw word [rbp + 0x2ca037be]
fucomi st(7)
pop rsp
shl byte [rdx + 0x7303e4ed], cl
invalid
push r13
pushfq
wait
jo 0x140020961
jbe 0x140020984
sbb al, 0xac
invalid
Function at 0x14000430c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xb0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
imul eax, dword [rsp + 0xc0], 0x3e8
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x20]
call fcn.1400042e0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400040dc
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14000416c
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x8e]
lea rcx, [rsp + 0x21]
call fcn.140004288
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400040dc
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400041c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x68]
call fcn.140004150
nop
lea rcx, [rsp + 0x70]
call fcn.1400040fc
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov ecx, dword [rsp + 0x2c]
call qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
sub eax, 0x3e8
cmp dword [rsp + 0x30], eax
jbe 0x140004462
mov eax, 1
jmp 0x140004464
xor eax, eax
add rsp, 0xb0
pop rdi
ret

Function at 0x1400044e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
jae 0x140004504
xor al, al
jmp 0x140004506
mov al, 1
add rsp, 0x68
ret

Function at 0x140004648
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov rax, qword [rsp + 0x38]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x800
jae 0x14000468c
xor al, al
jmp 0x14000468e
mov al, 1
add rsp, 0x78
ret
Function at 0x140009ad0
Capabilities:
Generate random numbers using a mersenne twister

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

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14000b39a
mov rcx, qword [rsp + 0x40]
call fcn.14000dbd4
jmp 0x14000b3b1
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14000b3b1
mov rcx, qword [rsp + 0x40]
call fcn.14000d9e0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14000cc18
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14000cc43
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000cc4a
mov al, 1
jmp 0x14000cda1
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14000f9cc
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14000f9cc
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.14000f9d4
movzx eax, al
test eax, eax
je 0x14000cc9f
xor al, al
jmp 0x14000cda1
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000cd0f
cmp dword [rsp + 0x30], 1
je 0x14000cd1b
cmp dword [rsp + 0x30], 3
je 0x14000cd8f
jmp 0x14000cd9f
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14000cd67
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x14000cd67
xor al, al
jmp 0x14000cda1
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000cd81
mov dword [rsp + 0x34], 1
jmp 0x14000cd89
mov dword [rsp + 0x34], 0
mov al, byte [rsp + 0x34]
jmp 0x14000cda1
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000cda1
xor al, al
add rsp, 0xa8
ret