joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140346440
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14049ad18]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov dword [rbp - 0x40], 8
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140346577
movzx edx, byte [rdi + 1]
movzx ecx, byte [rdi]
movzx eax, dl
movzx r8d, byte [rdi + 5]
shr al, 1
mov byte [rbp - 0x1c], cl
shl cl, 7
or al, cl
shl dl, 6
movzx ecx, byte [rdi + 2]
mov byte [rbp - 0x1b], al
movzx eax, cl
shr al, 2
or al, dl
shl cl, 5
movzx edx, byte [rdi + 3]
mov byte [rbp - 0x1a], al
movzx eax, dl
shr al, 3
or al, cl
shl dl, 4
movzx ecx, byte [rdi + 4]
mov byte [rbp - 0x19], al
movzx eax, cl
shr al, 4
or al, dl
shl cl, 3
mov byte [rbp - 0x18], al
movzx eax, r8b
shr al, 5
or al, cl
shl r8b, 2
movzx ecx, byte [rdi + 6]
mov byte [rbp - 0x17], al
movzx eax, cl
add cl, cl
shr al, 6
or al, r8b
mov byte [rbp - 0x15], cl
mov qword [rsp + 0xa0], r14
lea rcx, [rbp - 0x1c]
xor r14d, r14d
mov byte [rbp - 0x16], al
mov dword [rbp - 0x28], 0x208
mov dword [rbp - 0x24], 0x6601
mov dword [rbp - 0x20], 8
lea edx, [r14 + 8]
call fcn.14011f155
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r8d, [r14 + 0x14]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov r14, qword [rsp + 0xa0]
test eax, eax
jne 0x14034657b
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1403465c0
mov rax, qword [rsi]
xor r9d, r9d
mov rcx, qword [rbp - 0x30]
xor r8d, r8d
mov qword [rbx], rax
xor edx, edx
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp - 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14011d940
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x180005810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1800058b4
mov ebx, eax
test eax, eax
jne 0x180005840
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x18000589c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180005893
test al, 0x10
je 0x180005893
bt eax, 0xa
jae 0x18000588c
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.180005228
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x180005888
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1800058ac
test edi, edi
jne 0x180005893
and dword [rsp + 0x3c], 0
jmp 0x180005898
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.180009288
int3

Function at 0x180005904
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180005988
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180014d00]
cmp byte [rcx + rax], 0
je 0x180005988
dec r8
sub rdx, 1
jne 0x18000596e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800092c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800092e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800092e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18000e814
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
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000e844
xor eax, eax
jmp 0x18000e907
mov rbp, rbx
cmp word [rax], si
je 0x18000e869
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000e850
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000e84c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000e734
movsxd r14, eax
test eax, eax
jne 0x18000e8a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000e83d
mov rcx, r14
call fcn.18000e9d0
mov rdi, rax
test rax, rax
jne 0x18000e8c0
xor ecx, ecx
call fcn.18000ad08
jmp 0x18000e89c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000e734
test eax, eax
jne 0x18000e8f1
mov rcx, rdi
call fcn.18000ad08
jmp 0x18000e8fb
xor ecx, ecx
call fcn.18000ad08
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140f20160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140f202e7
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 0x140f20191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f20177
add dl, dl
jne 0x140f2019e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f201fe
xor eax, eax
add dl, dl
jne 0x140f201ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f202b5
add dl, dl
jne 0x140f201be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f201cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f201d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f201e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f201f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f20186
mov eax, 1
add dl, dl
jne 0x140f2020e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f2021b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f20203
sub eax, ebx
mov ebx, 1
jne 0x140f20254
mov ecx, 1
add dl, dl
jne 0x140f20236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f20243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f2022b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f20186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f20270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f2027d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f20265
cmp eax, 0x7d00
jae 0x140f202a3
cmp eax, 0x500
jb 0x140f2029e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f20186
cmp eax, 0x7f
ja 0x140f202a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f20186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f202da
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 0x140f20186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003c40
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003c74
cmp word [rcx], 0x5a4d
jne 0x140003c74
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003c74
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003c74
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003b80
test eax, eax
jne 0x140003c90
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003bf0
test rax, rax
je 0x140003c85
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004436
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004340
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400042e0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140009944
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1405791b8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1405791b4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140009992
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000998a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140009a79
inc ebx
add rax, 0x28
jmp 0x14000996a
mov rcx, r12
call fcn.14000a171
mov rbp, rax
test rax, rax
jne 0x1400099b1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400098e0
movsxd rbx, ebx
mov rax, qword [0x1405791b8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.14000a21f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1405791b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140009a13
mov rax, qword [0x1405791b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400098e0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140009a73
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140009a73
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1405791b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140009a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400098e0
inc dword [0x1405791b4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400021d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400021f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400021f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400021f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000224d
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 0x140002244
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400021f0
add rax, 0x28
cmp rax, r9
jne 0x140002230
xor eax, eax
ret

Function at 0x140002250
Capabilities:
Parse pe header

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

Function at 0x140002310
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009760]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000232f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002338
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov r13d, dword [rcx + rax + 0x88]
add r13, rcx
mov rsi, rcx
mov rbp, rdx
mov edi, dword [r13 + 0x18]
mov eax, dword [r13 + 0x20]
test edi, edi
je 0x140007c20
xor ebx, ebx
lea r12, [rcx + rax]
jmp 0x140007be1
add rbx, 1
cmp rbx, rdi
je 0x140007c20
mov edx, dword [r12 + rbx*4]
mov rcx, rbp
add rdx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140007bd8
mov eax, dword [r13 + 0x24]
lea rdx, [rsi + rbx*2]
movzx edx, word [rdx + rax]
mov eax, dword [r13 + 0x1c]
lea rdx, [rsi + rdx*4]
mov eax, dword [rdx + rax]
add rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140007c30
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x448
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r15, qword [rax + 0x20]
lea r14, [rax + 0x20]
xor eax, eax
lea rsi, [rsp + 0x20]
mov qword [rsp + 0x490], rcx
lea rbx, [rsp + 0x230]
mov ecx, 0x41
mov rdi, rsi
rep stosq qword [rdi], rax
mov ecx, 0x41
mov rdi, rbx
rep stosq qword [rdi], rax
cmp r14, r15
je 0x140007d2c
mov r13, qword [sym.imp.msvcrt.dll_wcscpy_s]
mov r12, qword [sym.imp.msvcrt.dll__wcslwr_s]
xor ebp, ebp
nop
mov rax, rbp
mov ecx, 0x41
mov rdi, rsi
mov edx, 0x104
rep stosq qword [rdi], rax
mov ecx, 0x41
mov rdi, rbx
rep stosq qword [rdi], rax
mov rcx, rsi
mov r8, qword [r15 + 0x40]
call r13
mov r8, qword [rsp + 0x490]
mov edx, 0x104
mov rcx, rbx
call r13
mov edx, 0x104
mov rcx, rbx
call r12
mov edx, 0x104
mov rcx, rsi
call r12
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_StrStrW]
test rax, rax
je 0x140007d20
mov rax, qword [r15 + 0x20]
add rsp, 0x448
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [r15]
cmp r14, r15
jne 0x140007ca0
mov rdx, qword [rsp + 0x490]
lea rcx, str.failed_to_get_a_handle_to__s_n
call fcn.140007da0
xor eax, eax
jmp 0x140007d06
Function at 0x14004d7ec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov r15, rdx
mov r14, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r9, 0x100000001b3
imul rcx, r9
inc rdx
cmp rdx, 8
jb 0x14004d826
mov r12, qword [r14 + 0x30]
and r12, rcx
mov r13, r12
add r13, r13
mov rcx, qword [r14 + 0x18]
mov rdi, qword [r14 + 8]
cmp qword [rcx + r13*8], rdi
jne 0x14004d865
mov rbx, rdi
jmp 0x14004d86d
mov rbx, qword [rcx + r13*8 + 8]
mov rbx, qword [rbx]
cmp rbx, qword [rcx + r13*8]
je 0x14004d890
mov rbx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
cmp qword [r8], rax
jne 0x14004d86d
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14004d97b
mov rdi, qword [rdi]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [r14 + 0x10], rax
je 0x14004d996
mov rsi, qword [rdi + 8]
mov ecx, 0x18
call fcn.14002d090
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov qword [rax + 0x10], rcx
mov qword [rax], rdi
mov qword [rax + 8], rsi
inc qword [r14 + 0x10]
mov qword [rdi + 8], rax
mov qword [rsi], rax
mov rcx, qword [r14 + 8]
mov rdi, qword [rcx]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14004d91b
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x18]
add r12, r12
cmp qword [rdx + r13*8], rcx
jne 0x14004d937
mov qword [rdx + r12*8], rdi
mov rax, qword [r14 + 0x18]
mov qword [rax + r12*8 + 8], rdi
jmp 0x14004d967
cmp qword [rdx + r13*8], rbx
jne 0x14004d943
mov qword [rdx + r12*8], rdi
jmp 0x14004d967
mov rax, qword [rdx + r12*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r12*8 + 8], rcx
cmp rcx, rdi
je 0x14004d967
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r13*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r13*8 + 8], rcx
mov rcx, r14
call fcn.14004e6e4
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.140094208
int3
Function at 0x14004e7cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x14004e7e9
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14004e841
cmp qword [rcx + rdx*8], r8
jne 0x14004e836
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14004e83a
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004e84e
cmp qword [rcx + rdx*8], r8
jne 0x14004e84e
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x18
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.1401313f8
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140050148
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140050180
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x14005020a
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x14005020a
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x1400501c2
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov edx, 0x18
mov rcx, rbx
call fcn.1401313f8
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1400502a1
mov rax, qword [rbx]
cmp rdi, rax
je 0x14005023f
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x14005025f
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14005028e
cmp rax, rdi
jne 0x14005026a
mov qword [rdx + r8*8], rbx
jmp 0x14005028e
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14005028e
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.14004e6e4
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140056284
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1401ea028]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
and dword [rsp + 0x50], 0
mov rdi, rdx
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140133710
mov ecx, 0xfffffff4
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
nop dword [rax + rax]
mov ecx, 0xfffffff6
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
nop dword [rax + rax]
mov ecx, 0xfffffff5
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
nop dword [rax + rax]
mov qword [rbp - 0x38], rax
mov edx, 0x200
lea rcx, [rbp - 0x20]
lea rax, [rbp - 0x20]
sub rbx, rax
lea rax, [rdx + 0x7ffffdfe]
test rax, rax
je 0x14005633f
mov al, byte [rbx + rcx]
test al, al
je 0x14005633f
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140056321
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
mov rax, rdx
neg rax
sbb eax, eax
not eax
and eax, 0x8007007a
test rdx, rdx
je 0x140056449
lea r8, [0x14018da38]
lea rcx, [rbp - 0x20]
call fcn.1400561ec
test eax, eax
jne 0x140056449
mov r8, rdi
lea rcx, [rbp - 0x20]
call fcn.1400561ec
test eax, eax
jne 0x140056449
lea r8, [0x14018da3c]
lea rcx, [rbp - 0x20]
call fcn.1400561ec
test eax, eax
jne 0x140056449
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
nop dword [rax + rax]
test eax, eax
je 0x140056444
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rsp + 0x50]
jmp 0x140056449
mov eax, 0x95e
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1401313d0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret