joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029ac0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov r14, rcx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [0x140146a10]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x14014d4b5]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x3d6
call fcn.140003270
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140014670
lea rbx, [rsp + 0xb0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140110bf0
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x140029bc9
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.14010b924
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400473f0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.140054090
mov rcx, r14
mov rdx, rsi
call fcn.140019760
cmp byte [rsi + 0x17], 0
jns 0x140029bb8
mov rcx, qword [rsp + 0x48]
call fcn.14010b880
cmp byte [rsp + 0x47], 0
jns 0x140029bc9
mov rcx, qword [rsp + 0x30]
call fcn.14010b880
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14000a640
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14010e4a0
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14002b1e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140109540]
mov qword [rsp + 0x20], rax
lea rcx, [0x140179a38]
lea rdx, [0x140109530]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14002b274
cmp dword [0x140179a40], 0
jne 0x14002b270
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140179a44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14002b270
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14010e4a0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14002b258
call fcn.14010cab0
int3
Function at 0x14002ba50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14002ba8c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14002ba96
add rdi, rbx
sub rsi, rbx
jne 0x14002ba6a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14010cab0
int3

Function at 0x140036f80
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rdx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [0x140146a10]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140036b50
xor edi, edi
test eax, eax
je 0x140036ffd
lea rcx, [rsp + 0x20]
call fcn.140038510
cmp rax, 9
jne 0x140037013
lea rcx, [rsp + 0x20]
call fcn.140037110
mov rcx, qword [rax]
xor rcx, qword [0x14015cc14]
mov al, byte [rax + 8]
xor al, byte [0x14015cc1c]
movzx eax, al
or rax, rcx
jne 0x140037013
lea rax, [0x14015cc10]
mov eax, dword [rax]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010e4a0
mov eax, edi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x20]
call fcn.140038510
cmp rax, 7
jne 0x14003704b
lea rcx, [rsp + 0x20]
call fcn.140037110
mov ecx, dword [rax]
xor ecx, dword [0x14015ccdc]
mov eax, dword [rax + 3]
xor eax, dword [0x14015ccdf]
or eax, ecx
jne 0x14003704b
lea rax, [0x14015ccd8]
jmp 0x140036ff4
lea rcx, [rsp + 0x20]
call fcn.140038510
cmp rax, 7
jne 0x140037086
lea rcx, [rsp + 0x20]
call fcn.140037110
mov ecx, dword [rax]
xor ecx, dword [0x14015cda4]
mov eax, dword [rax + 3]
xor eax, dword [0x14015cda7]
or eax, ecx
jne 0x140037086
lea rax, [0x14015cda0]
jmp 0x140036ff4
lea rcx, [rsp + 0x20]
call fcn.140038510
cmp rax, 3
jne 0x1400370c7
lea rcx, [rsp + 0x20]
call fcn.140037110
movzx ecx, word [rax]
xor cx, word [0x14015ce6c]
mov al, byte [rax + 2]
xor al, byte [0x14015ce6e]
movzx eax, al
or ax, cx
jne 0x1400370c7
lea rax, [0x14015ce68]
jmp 0x140036ff4
lea rcx, [rsp + 0x20]
call fcn.140038510
cmp rax, 3
jne 0x140036ffd
lea rcx, [rsp + 0x20]
call fcn.140037110
movzx ecx, word [rax]
xor cx, word [0x14015cf3c]
mov al, byte [rax + 2]
xor al, byte [0x14015cf3e]
movzx eax, al
or ax, cx
jne 0x140036ffd
lea rax, [0x14015cf38]
jmp 0x140036ff4
Function at 0x14003e460
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r15, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x14003e4ce
mov r12d, dword [r15 + 0x2c]
lea r14, [r12 + 8]
mov rdi, qword [0x14016f440]
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call qword [rdi]
mov rbx, rax
test rax, rax
jne 0x14003e4a8
cmp byte [0x140173a90], 0
jne 0x14003e55c
test rbx, rbx
je 0x14003e56c
mov qword [rbx], r12
add rbx, 8
je 0x14003e56c
mov rdi, qword [rsi + 8]
test rdi, rdi
jne 0x14003e52a
mov qword [rsi + 8], rbx
mov qword [rsi], r15
mov rax, qword [r15 + 0x10]
lea rcx, [0x140106ad0]
cmp rax, rcx
jne 0x14003e555
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140154fc0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140154fd0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r8, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
add r8, 8
mov rcx, rdi
xor edx, edx
call fcn.140110bf0
mov rcx, qword [0x14016f440]
mov rdx, rdi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14003e4c7
mov rcx, rsi
call rax
jmp 0x14003e515
mov rcx, r14
call fcn.140020d60
test al, al
jne 0x14003e488
mov dword [rsp + 0x20], 0xc4
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_digest_digest.c
xor esi, esi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.1400425f0
jmp 0x14003e51a
Function at 0x140040890
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1400408bf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400408c2
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140040910
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x1400408e5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x1400408e8
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14004091f
xor esi, esi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14010e4a0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x140040964
cmp byte [rdi + 8], 0
jne 0x140040950
mov rcx, qword [rdi]
jmp 0x140040959
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 8], 0
jne 0x140040932
mov rcx, qword [rdi]
jmp 0x14004093b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140040964
mov esi, dword [rsp + 0x24]
jmp 0x140040964
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov edx, esi
call fcn.14009a800
mov sil, 1
jmp 0x1400408f9
Function at 0x140040d60
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x140148ee0]
mov qword [rcx], rax
lea rax, [rcx + 0x70]
xorps xmm6, xmm6
movups xmmword [rcx + 0x50], xmm6
xor ebx, ebx
mov qword [rcx + 0x60], rbx
movups xmmword [rcx + 0x70], xmm6
movups xmmword [rcx + 8], xmm6
mov byte [rcx + 0x18], 0
movups xmmword [rcx + 0x1c], xmm6
movups xmmword [rcx + 0x2c], xmm6
movups xmmword [rcx + 0x39], xmm6
mov qword [rcx + 0x68], rax
movups xmmword [rcx + 0x80], xmm6
movups xmmword [rcx + 0x90], xmm6
movups xmmword [rcx + 0xa0], xmm6
movups xmmword [rcx + 0xb0], xmm6
movups xmmword [rcx + 0xc0], xmm6
mov edi, 0x3f800000
mov dword [rcx + 0xd0], edi
mov dword [rcx + 0xd8], ebx
movups xmmword [rcx + 0xf0], xmm6
movups xmmword [rcx + 0xe0], xmm6
mov dword [rcx + 0x100], edi
movups xmmword [rcx + 0x108], xmm6
movups xmmword [rcx + 0x118], xmm6
mov dword [rcx + 0x128], edi
movups xmmword [rcx + 0x130], xmm6
movups xmmword [rcx + 0x140], xmm6
mov qword [rcx + 0x150], rbx
mov dword [rcx + 0x158], edi
movups xmmword [rcx + 0x160], xmm6
movups xmmword [rcx + 0x170], xmm6
mov dword [rcx + 0x180], edi
mov qword [rcx + 0x1a0], rbx
movups xmmword [rcx + 0x188], xmm6
mov dword [rcx + 0x198], ebx
mov qword [rcx + 0x1a8], 1
add rcx, 0x1b0
call fcn.140041170
lea rcx, [rsi + 0x2f8]
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], rbx
mov ebx, 0xffffffff
mov qword [rsi + 0x2f8], rbx
xor edx, edx
call fcn.14001c0c0
lea rcx, [rsi + 0x300]
mov qword [rsi + 0x300], rbx
xor edx, edx
call fcn.14001c0c0
lea rcx, [rsi + 0x308]
mov qword [rsi + 0x308], rbx
xor edx, edx
call fcn.14001c0c0
movups xmmword [rsi + 0x320], xmm6
movups xmmword [rsi + 0x310], xmm6
mov dword [rsi + 0x330], edi
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.1400021b0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140041040
lea rbx, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
call fcn.140041090
mov rax, qword [rbx]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.140040fd0
mov rcx, rsi
call fcn.140041240
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x140040fba
call fcn.140011da0
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
call fcn.140011a40
mov qword [0x140173f10], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010e4a0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x140040f73
Function at 0x1400425f0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r9
mov r13d, r8d
mov r15d, ecx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140109540]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x140179a38]
lea rdx, [0x140109530]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140042791
cmp dword [0x140179a40], 0
jne 0x140042751
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140179a44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x140042751
mov rbx, qword [rsi]
test rbx, rbx
je 0x140042751
cmp r15d, 2
jne 0x14004269b
test r13d, r13d
jne 0x14004269b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov ecx, dword [rbx + 0x200]
lea eax, [rcx + 1]
and eax, 0xf
mov dword [rbx + 0x200], eax
cmp eax, dword [rbx + 0x204]
jne 0x1400426c1
add ecx, 2
and ecx, 0xf
mov dword [rbx + 0x204], ecx
mov r12d, dword [rsp + 0xa0]
mov ebp, eax
shl rbp, 5
lea rdi, [rbx + rbp]
add rdi, 8
mov rsi, qword [rdi]
test rsi, rsi
jne 0x140042729
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rbx + rbp], r14
mov word [rbx + rbp + 0x14], r12w
shl r15d, 0x18
and r13d, 0xfff
or r13d, r15d
mov dword [rbx + rbp + 0x10], r13d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010e4a0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rsi - 8]
add rsi, 0xfffffffffffffff8
add r8, 8
mov rcx, rsi
xor edx, edx
call fcn.140110bf0
mov rcx, qword [0x14016f470]
mov rdx, rsi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x1400426df
mov ecx, 0x210
call fcn.14001bfa0
test rax, rax
je 0x14004270a
mov rbx, rax
mov r8d, 0x210
mov rcx, rax
xor edx, edx
call fcn.140110bf0
lea r8, [0x140109000]
xor ecx, ecx
mov rdx, rbx
call fcn.140024b10
test eax, eax
jne 0x140042687
jmp 0x14004270a
call fcn.14010cab0
int3
Function at 0x140043bd0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
movsxd r8, dword [rdx + 8]
test r8, r8
je 0x140043d4e
mov r14, rcx
mov edi, 1
cmovne rdi, r8
mov rcx, qword [rdx]
lea rbx, [rdi - 1]
mov eax, edi
and eax, 7
cmp rbx, 7
jae 0x140043c0a
xor ebx, ebx
xor esi, esi
jmp 0x140043c42
and rdi, 0xfffffffffffffff8
xor ebx, ebx
xor esi, esi
or rsi, qword [rcx + rbx*8]
or rsi, qword [rcx + rbx*8 + 8]
or rsi, qword [rcx + rbx*8 + 0x10]
or rsi, qword [rcx + rbx*8 + 0x18]
or rsi, qword [rcx + rbx*8 + 0x20]
or rsi, qword [rcx + rbx*8 + 0x28]
or rsi, qword [rcx + rbx*8 + 0x30]
or rsi, qword [rcx + rbx*8 + 0x38]
add rbx, 8
cmp rdi, rbx
jne 0x140043c12
test rax, rax
je 0x140043c59
lea rbx, [rcx + rbx*8]
xor edi, edi
or rsi, qword [rbx + rdi*8]
inc rdi
cmp rax, rdi
jne 0x140043c4d
test rsi, rsi
je 0x140043d4e
test r8d, r8d
jle 0x140043d73
test byte [rcx], 1
je 0x140043d73
cmp dword [rdx + 0x10], 0
jne 0x140043dac
lea rdi, [r14 + 0x18]
mov rcx, rdi
call fcn.140044c10
test rax, rax
je 0x140043dcc
mov eax, dword [r14 + 0x20]
test eax, eax
jle 0x140043d93
mov rdx, qword [rdi]
lea rcx, [rax - 1]
cmp qword [rdx + rax*8 - 8], 0
mov rax, rcx
je 0x140043c97
inc ecx
mov dword [r14 + 0x20], ecx
mov rax, qword [rdi]
mov r10, qword [rax]
mov eax, 1
mov r11d, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
movabs r9, 0x4000000000000000
mov edi, eax
and edi, 1
neg rdi
mov rbx, r10
and rbx, rdi
mov rsi, rbx
xor rsi, rax
shr rsi, 1
and rbx, rax
add rbx, rsi
mov esi, ebx
and esi, 1
neg rsi
mov rax, r10
and rax, rsi
mov rdx, rax
xor rdx, rbx
shr rdx, 1
and rax, rbx
add rax, rdx
and rsi, r8
shr rcx, 2
shr rdi, 1
and rdi, r9
or rcx, rdi
or rcx, rsi
add r11, 0xfffffffffffffffe
jne 0x140043cde
mov qword [r14 + 0x30], rcx
mov qword [r14 + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov dword [rsp + 0x20], 0xa5
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.1400425f0
jmp 0x140043d42
mov dword [rsp + 0x20], 0xa9
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x140043d6c
mov dword [r14 + 0x20], eax
test eax, eax
jne 0x140043cb7
mov dword [r14 + 0x28], 0
jmp 0x140043cb7
mov dword [rsp + 0x20], 0xad
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x140043d6c
mov dword [rsp + 0x20], 0xb3
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x140043d6c
Function at 0x140044dd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140044e3e
xor r11d, r11d
mov r14, qword [r8 + r11*8]
mov r15, qword [rcx + r11*8]
mov rbx, r15
xor rbx, r14
mov edi, eax
lea rax, [rbx - 1]
mov rsi, r15
sub rsi, r14
xor rsi, r15
or rsi, rbx
not rbx
and rax, rbx
sar rax, 0x3f
xor rsi, r15
sar rsi, 0x3f
mov rbx, rsi
not rsi
and esi, 1
or rsi, rbx
mov rbx, rax
and edi, ebx
not rax
and rax, rsi
or rax, rdi
inc r11
cmp r10, r11
jne 0x140044deb
mov r10, rdx
sub r10, r9
jb 0x140044e65
jbe 0x140044e9c
mov rbx, r9
not rbx
add rbx, rdx
mov r8d, r10d
and r8d, 7
cmp rbx, 7
jae 0x140044eb2
xor edx, edx
jmp 0x140044eec
mov rcx, qword [r8 + rdx*8]
lea rbx, [rdx + 1]
cmp rbx, r9
je 0x140044e80
or rcx, qword [r8 + rdx*8 + 8]
add rdx, 2
cmp rdx, r9
jne 0x140044ea4
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
mov rdx, rcx
and edx, eax
not rcx
or ecx, edx
mov eax, ecx
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
je 0x140044e80
jmp 0x140044ea4
and r10, 0xfffffffffffffff8
neg r10
xor edx, edx
or rdx, qword [rcx + r9*8]
or rdx, qword [rcx + r9*8 + 8]
or rdx, qword [rcx + r9*8 + 0x10]
or rdx, qword [rcx + r9*8 + 0x18]
or rdx, qword [rcx + r9*8 + 0x20]
or rdx, qword [rcx + r9*8 + 0x28]
or rdx, qword [rcx + r9*8 + 0x30]
or rdx, qword [rcx + r9*8 + 0x38]
add r9, 8
add r10, 8
jne 0x140044ebb
test r8, r8
je 0x140044f03
lea rcx, [rcx + r9*8]
xor ebx, ebx
or rdx, qword [rcx + rbx*8]
inc rbx
cmp r8, rbx
jne 0x140044ef7
mov rcx, rdx
not rcx
dec rdx
and rdx, rcx
sar rdx, 0x3f
mov rcx, rdx
and ecx, eax
not rdx
and edx, 1
or edx, ecx
mov eax, edx
jmp 0x140044e9c
Function at 0x140046da0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 3
call fcn.140047320
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140046f20
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r15, rax
test rax, rax
je 0x140046f47
lea rdx, [0x14014d1f6]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140046f5a
mov rsi, rax
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call rax
mov r13, rax
movsxd rdi, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test rdi, rdi
je 0x140046eba
test edi, edi
js 0x140046f62
shl rdi, 3
lea r12, [rdi + rdi*2]
mov rcx, r12
call fcn.14010b888
mov rsi, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
add rax, r12
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov rdx, qword [r13 + rbx]
mov rcx, rsi
call fcn.140046f70
add rsi, 0x18
add rbx, 8
cmp rdi, rbx
jne 0x140046e9b
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140047020
movups xmmword [r14], xmm6
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x140046ee2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x140046f20
mov rax, qword [rsp + 0x28]
cmp rax, rsi
je 0x140046f42
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x140046f09
mov rcx, qword [rax - 0x18]
call fcn.14010b880
mov rax, rdi
cmp rsi, rdi
jne 0x140046ef6
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rsi
call fcn.14010b880
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010e4a0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
jmp 0x140046f16
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140046e4e
xor r13d, r13d
jmp 0x140046e51
lea rcx, [rsp + 0x20]
call fcn.1400786e6
int3
Function at 0x1400486c0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x1400486fa
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r15
jbe 0x140048756
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x140048745
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1401107e0
mov r14, qword [rsi + 8]
add rbx, r15
mov qword [rsi + 0x10], rbx
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x1400486df
mov rax, rbx
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov r13d, 1
cmovne r13, rcx
mov rax, r13
shr rax, 0x3d
jne 0x140048822
mov r12, r13
shr r12, 2
lea rcx, [r13*8]
call fcn.14010b888
lea r10, [rax + r12*8]
lea r9, [rax + r13*8]
mov rdx, rbx
sub rdx, r14
lea r8, [r10 + rdx]
mov rcx, r10
test rdx, rdx
je 0x1400487f6
mov rcx, 0xffffffffffffffff
cmovns rcx, rdx
test rcx, rcx
mov r11d, 1
cmovle r11, rcx
mov rcx, r14
sub rcx, rbx
cmp rcx, rdx
cmovle rcx, rdx
shr rcx, 3
imul rcx, r11
shl rcx, 3
lea r11, [rax + r12*8]
xor ebx, ebx
mov rdx, qword [r14 + rbx]
mov qword [r11 + rbx], rdx
add rbx, 8
cmp rcx, rbx
jne 0x1400487e2
mov rcx, r8
mov qword [rsi], rax
mov qword [rsi + 8], r10
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], r9
mov rbx, rcx
test r15, r15
je 0x1400486df
mov rcx, r15
call fcn.14010b880
mov rbx, qword [rsi + 0x10]
jmp 0x1400486df
call fcn.14010cab0
int3
Function at 0x14004e810
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x140146a10]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2af
call fcn.140003270
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140014670
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14004e896
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004e8df
mov bl, 1
test al, 0x10
je 0x14004e996
lea rcx, [rsp + 0x40]
call fcn.14000a640
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14010e4a0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi + 0x10], rax
movaps xmmword [rsi], xmm6
mov rcx, rdi
mov rdx, rsi
call fcn.14004ea10
movzx ecx, byte [rsi + 0x17]
mov r8, rcx
test cl, cl
jns 0x14004e910
mov r8, qword [rsp + 0x28]
movzx eax, byte [rdi + 0x17]
mov rdx, rax
test al, al
jns 0x14004e91f
mov rdx, qword [rdi + 8]
cmp r8, rdx
je 0x14004e9b4
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.14004e810
test al, al
je 0x14004e9fb
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x14004e968
cmp byte [rsp + 0x37], 0
jns 0x14004e8ae
mov rcx, qword [rsp + 0x20]
call fcn.14010b880
jmp 0x14004e8ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
jne 0x14004e983
mov rcx, rdi
call fcn.14004ec30
test al, al
jne 0x14004e94e
test r14, r14
je 0x14004e992
mov ecx, esi
call fcn.140028200
mov dword [r14], eax
mov ecx, esi
jmp 0x14004e9f5
test r14, r14
je 0x14004e9a2
mov dword [r14], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14004e8ae
test r8, r8
je 0x14004e9e4
test cl, cl
jns 0x14004e9c2
mov rsi, qword [rsp + 0x20]
mov rcx, rdi
test al, al
jns 0x14004e9cc
mov rcx, qword [rdi]
xor edx, edx
movzx eax, word [rsi + rdx*2]
cmp ax, word [rcx + rdx*2]
jne 0x14004e928
inc rdx
cmp r8, rdx
jne 0x14004e9ce
test r14, r14
je 0x14004e9f0
mov dword [r14], 0xfffffffc
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14004e94e