joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c8c40
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov r12, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140166028]
xor rax, rsp
mov qword [rsp + 0xd8], rax
test r8, r8
je 0x1400c8c91
cmp byte [r12 + 0x17], 0
js 0x1400c8e60
xor eax, eax
mov byte [r12], al
mov byte [r12 + 0x17], al
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14007d294
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x80]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x14011b490]
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, str.ReadStreamToStringWithMaxSize
lea r8, str..._.._base_files_file_util.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0xd4
call fcn.140047b70
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004ac60
xorps xmm6, xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov dword [rbx + 0x30], 0
mov rcx, r15
call fcn.14007d2bc
mov ecx, eax
call fcn.14007d33c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400c8e75
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov edi, 0xffff
cmovg rdi, rax
cmp rdi, r14
cmova rdi, r14
lea rbx, [rsp + 0x20]
movaps xmmword [rbx], xmm6
mov qword [rbx + 0x10], 0
inc rdi
xor esi, esi
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.14004d07a
cmp byte [rbx + 0x17], 0
jns 0x1400c8d87
mov rbx, qword [rsp + 0x20]
mov edx, 1
mov rcx, rbx
mov r8, rdi
mov r9, r15
call fcn.14007d29c
test rax, rax
je 0x1400c8dcf
xor esi, esi
mov ebx, 0x10000
mov rcx, r14
sub rcx, rsi
cmp rcx, rax
jb 0x1400c8e7f
test rsi, rsi
cmove rdi, rbx
add rsi, rax
mov rcx, r15
call fcn.14007d2e4
test eax, eax
je 0x1400c8e86
mov rcx, r15
call fcn.14007d310
test eax, eax
sete dil
mov r14, rsi
test r12, r12
je 0x1400c8e1b
movups xmm0, xmmword [r12]
mov rax, qword [r12 + 0x10]
mov rcx, qword [rsp + 0x30]
mov qword [r12 + 0x10], rcx
movaps xmm1, xmmword [rsp + 0x20]
movups xmmword [r12], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rcx, r12
mov rdx, r14
xor r8d, r8d
call fcn.14004d07a
cmp byte [rsp + 0x37], 0
js 0x1400c8eca
lea rcx, [rsp + 0x80]
call fcn.14004a8e0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14007ed30
mov eax, edi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r12]
mov byte [rax], 0
mov qword [r12 + 8], 0
jmp 0x1400c8c91
mov edi, 0xffff
jmp 0x1400c8d52
xor edi, edi
jmp 0x1400c8de0
lea rdx, [rsi + rdi]
lea r13, [rsp + 0x20]
mov rcx, r13
xor r8d, r8d
call fcn.14004d07a
cmp byte [r13 + 0x17], 0
jns 0x1400c8ea6
mov r13, qword [rsp + 0x20]
add r13, rsi
mov edx, 1
mov rcx, r13
mov r8, rdi
mov r9, r15
call fcn.14007d29c
test rax, rax
jne 0x1400c8da6
jmp 0x1400c8dcf
mov rcx, qword [rsp + 0x20]
call fcn.14007c098
jmp 0x1400c8e26
Function at 0x1400cac30
Capabilities:
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov ebp, dword [rsp + 0xb0]
mov rax, qword [0x140166028]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.WriteValue
lea r8, str..._.._base_win_registry.cc
lea rcx, [rsp + 0x38]
mov r9d, 0x1d9
call fcn.140047b70
mov rcx, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
mov rdx, r14
xor r8d, r8d
mov r9d, ebp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007ed30
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1400ccccd
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.14007c0a8
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400e4b80]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14007d3bc
mov qword [rbx], rax
test rax, rax
je 0x1400ccd24
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x1400cd960
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rcx + 8]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400cd98b
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp sub.KERNEL32.dll_ReleaseSRWLockExclusive
lock inc dword [rsi]
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rcx, rsi
call fcn.1400fca70
lock dec dword [rsi]
je 0x1400cd9aa
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
call fcn.1400fca10
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400013b0
Function at 0x1400e8eb0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140169448]
cmp ecx, 0xffffffff
je 0x1400e8ed5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x1400e8ed0

Function at 0x1400e9060
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140166028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, 4
lea r15, [rsp + 0x3c]
mov dword [r15], eax
lea r12, [rsp + 0x38]
mov dword [r12], eax
lea rsi, [rsp + 0x34]
mov dword [rsi], 0
lea rdx, str.ReadValue
lea r8, str..._.._base_win_registry.cc
lea rcx, [rsp + 0x40]
mov r9d, 0x19e
call fcn.140047b70
mov rcx, qword [rbx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e9122
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400e9105
cmp dword [rsp + 0x38], 4
jne 0x1400e9105
mov eax, dword [rsp + 0x34]
mov dword [r14], eax
xor edi, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14007ed30
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov edi, eax
jmp 0x1400e9105
Function at 0x1400fb9d0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x140166028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400fba4e
mov rax, 0xffffffffffffffff
xor edx, edx
div rsi
mov rcx, 0xfffffffffffffffe
sub rcx, rdx
mov rax, qword [rsp + 0x20]
cmp rax, rcx
ja 0x1400fb9f8
xor edx, edx
div rsi
mov rsi, rdx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14007ed30
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x1400fca10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
add rcx, 0x90
call fcn.1401002f0
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400fca36
mov qword [rsi + 0x70], rcx
call fcn.1400013b0
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x1400fca48
mov qword [rsi + 0x50], rcx
call fcn.1400013b0
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x1400fca5a
mov qword [rsi + 0x30], rcx
call fcn.1400013b0
mov rdx, qword [rsi + 0x18]
add rsi, 0x10
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140100320
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
jne 0x140100332
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rdx]
call 0x140100320
mov rdx, qword [rsi + 8]
mov rcx, rdi
call 0x140100320
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400013b0

Function at 0x1400ff520
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov rcx, qword [rcx]
mov rbx, qword [r15 + 8]
sub rbx, rcx
sar rbx, 4
lea rax, [rbx + 1]
mov rdx, rax
shr rdx, 0x3c
jne 0x1400ff634
movabs rdx, 0xfffffffffffffff
mov rdi, qword [r15 + 0x10]
sub rdi, rcx
mov rcx, rdi
sar rcx, 4
sar rdi, 3
cmp rdi, rax
cmovb rdi, rax
movabs rax, 0x7ffffffffffffff
cmp rcx, rax
cmovae rdi, rdx
test rdi, rdi
jne 0x1400ff627
xor eax, eax
shl rbx, 4
lea rdx, [rax + rbx]
shl rdi, 4
add rdi, rax
mov rcx, qword [r14]
lea r8, [rax + rbx]
add r8, 0x10
mov qword [r8 - 0x10], rcx
mov cl, byte [r14 + 8]
and cl, 1
mov byte [r8 - 8], cl
mov cl, byte [r14 + 9]
and cl, 1
mov byte [r8 - 7], cl
mov rbx, qword [r15]
mov rcx, qword [r15 + 8]
cmp rcx, rbx
je 0x1400ff5fa
mov rax, qword [rcx - 0x10]
mov qword [rdx - 0x10], rax
mov al, byte [rcx - 8]
and al, 1
mov byte [rdx - 8], al
mov al, byte [rcx - 7]
lea rsi, [rcx - 0x10]
and al, 1
mov byte [rdx - 7], al
add rdx, 0xfffffffffffffff0
mov rcx, rsi
cmp rbx, rsi
jne 0x1400ff5cf
mov rcx, qword [r15]
mov qword [r15], rdx
mov qword [r15 + 8], r8
mov qword [r15 + 0x10], rdi
test rcx, rcx
je 0x1400ff61a
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400013b0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rdi
call fcn.1400ff800
jmp 0x1400ff58f
mov rcx, r15
call fcn.1400cf054
int3

Function at 0x1401002f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
add rcx, 0x38
call 0x140101710
add rsi, 8
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140101710
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140101732
mov rdi, qword [rcx]
call fcn.14000da90
mov rcx, rdi
test rdi, rdi
jne 0x140101722
mov rdx, qword [rsi]
mov qword [rsi], 0
test rdx, rdx
je 0x140101757
mov r8, qword [rsi + 8]
add rsi, 0x10
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14000d450
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140101710
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
add rcx, 0x38
call 0x140101710
add rsi, 8
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x140101710
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140101732
mov rdi, qword [rcx]
call fcn.14000da90
mov rcx, rdi
test rdi, rdi
jne 0x140101722
mov rdx, qword [rsi]
mov qword [rsi], 0
test rdx, rdx
je 0x140101757
mov r8, qword [rsi + 8]
add rsi, 0x10
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14000d450
nop
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140107076
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x140107091
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400bcbef
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14010713f
mov rbx, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x14010713f
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x14010716a
mov qword [rdi + 0x28], r14
mov al, 1
jmp 0x140107087
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x140107085
mov dword [rsi], 7
jmp 0x140107085
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140107085
Function at 0x14197a790
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1250
call fcn.141ae3170
sub rsp, rax
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rsi, rcx
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14197a8e4
mov ebp, dword [rsp + 0x28]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
je 0x14197a8e4
mov r8d, dword [rsp + rbx*4 + 0x30]
test r8d, r8d
je 0x14197a8da
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14197a8da
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14197a8d1
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x1030]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14197a8d1
lea rcx, [rsp + 0x1030]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14197a870
cmp qword [rsi + 0x18], 7
mov r8, rsi
mov rdx, qword [rsi + 0x10]
jbe 0x14197a88b
mov r8, qword [rsi]
cmp rdx, rax
jne 0x14197a8d1
lea rax, [rsp + 0x1030]
test rdx, rdx
je 0x14197a8c4
lea rcx, [rsp + 0x1030]
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14197a8d1
add rax, 2
sub rdx, 1
jne 0x14197a8b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14197a8e6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, ebp
jb 0x14197a7f0
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.141ae2a00
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1419973d0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.141997400
mov ecx, ebx
call fcn.141995a30
test al, al
je 0x1419973f2
add rsp, 0x20
pop rbx
jmp fcn.1419d1d70
add rsp, 0x20
pop rbx
ret

Function at 0x141998cc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
lea r15, [0x141b3d148]
mov qword [rsp + 0x20], r15
xor eax, eax
mov r12d, 1
lock cmpxchg qword [0x141b3d148], r12
je 0x141998d00
mov rcx, r15
call fcn.1419d22a0
mov byte [rsp + 0x28], r12b
xor r14d, r14d
cmp qword [rbp + 0x10], 0x7ffe
jg 0x141998d28
mov rcx, rbp
call fcn.141993d90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x141998e00
mov ecx, 0xfffe
call fcn.141ae3300
mov rsi, rax
mov rdi, r14
mov rax, qword [rbp + 0x10]
test rax, rax
jle 0x141998df7
nop word [rax + rax]
mov rbx, rax
sub rbx, rdi
mov ecx, 0x7ffe
cmp rbx, rcx
cmovl rcx, rbx
mov r8, qword [rbp + 8]
test r8, r8
cmove r8, r14
mov rdx, rdi
cmp rdi, rax
jg 0x141998daf
test rdi, rdi
jns 0x141998da2
test rcx, rcx
js 0x141998d96
lea rbx, [rcx + rdi]
cmp rbx, rax
jge 0x141998d96
test rbx, rbx
jle 0x141998daf
mov rdx, r14
lea rdx, [r8 + rdx*2]
jmp 0x141998dc4
mov rdx, r14
mov rbx, rax
lea rdx, [r8 + rdx*2]
jmp 0x141998dc4
cmp rcx, rbx
cmovbe rbx, rcx
lea rdx, [r8 + rdx*2]
jmp 0x141998dc4
xorps xmm1, xmm1
xorps xmm0, xmm0
psrldq xmm0, 8
movq rdx, xmm0
movq rbx, xmm1
test rdx, rdx
je 0x141998dd5
lea r8, [rbx + rbx]
mov rcx, rsi
call fcn.141b0ca10
mov word [rsi + rbx*2], r14w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rdi, 0x7ffe
mov rax, qword [rbp + 0x10]
cmp rdi, rax
jl 0x141998d50
mov rcx, rsi
call fcn.141ae2a20
nop
mov rax, r12
lock cmpxchg qword [0x141b3d148], r14
je 0x141998e16
mov rcx, r15
call fcn.1419d27a0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14199d690
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x68], rsi
mov r12, r9
lea rsi, [r8 - 1]
mov r14, r8
sar rsi, 1
mov rdi, rdx
mov rbp, rcx
mov r13, rdx
mov r10, rdx
cmp rdx, rsi
jge 0x14199d789
mov qword [rsp + 0x60], rbx
nop
lea rbx, [r10 + r10]
lea rax, [rbx + 2]
imul rdx, rax, 0x38
lea rcx, [rsp + 0x80]
add rdx, rbp
lea r8, [rdx - 0x38]
call fcn.14199ed70
movzx r10d, al
xor r10, 1
imul rdx, rdi, 0x38
inc r10
add rdx, rbp
add r10, rbx
imul r8, r10, 0x38
mov rcx, qword [rdx]
mov rdi, r10
add r8, rbp
mov rax, qword [r8]
mov qword [rdx], rax
mov qword [r8], rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov qword [r8 + 8], rcx
mov rax, qword [r8 + 0x10]
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 + 0x10], rcx
mov rax, qword [r8 + 0x18]
mov rcx, qword [rdx + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rax, qword [r8 + 0x20]
mov rcx, qword [rdx + 0x20]
mov qword [rdx + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rax, qword [r8 + 0x28]
mov rcx, qword [rdx + 0x28]
mov qword [rdx + 0x28], rax
mov qword [r8 + 0x28], rcx
mov rax, qword [r8 + 0x30]
mov rcx, qword [rdx + 0x30]
mov qword [rdx + 0x30], rax
mov qword [r8 + 0x30], rcx
cmp r10, rsi
jl 0x14199d6d0
mov rbx, qword [rsp + 0x60]
cmp r10, rsi
mov rsi, qword [rsp + 0x68]
jne 0x14199d821
test r14b, 1
jne 0x14199d821
imul r9, r14, 0x38
imul rdx, rdi, 0x38
add r9, rbp
lea rdi, [r14 - 1]
mov rax, qword [r9 - 0x38]
add rdx, rbp
mov rcx, qword [rdx]
mov qword [rdx], rax
mov qword [r9 - 0x38], rcx
mov rax, qword [r9 - 0x30]
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov qword [r9 - 0x30], rcx
mov rax, qword [r9 - 0x28]
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r9 - 0x28], rcx
mov rax, qword [r9 - 0x20]
mov rcx, qword [rdx + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r9 - 0x20], rcx
mov rax, qword [r9 - 0x18]
mov rcx, qword [rdx + 0x20]
mov qword [rdx + 0x20], rax
mov qword [r9 - 0x18], rcx
mov rax, qword [r9 - 0x10]
mov rcx, qword [rdx + 0x28]
mov qword [rdx + 0x28], rax
mov qword [r9 - 0x10], rcx
mov rax, qword [r9 - 8]
mov rcx, qword [rdx + 0x30]
mov qword [rdx + 0x30], rax
mov qword [r9 - 8], rcx
mov r9, r12
mov r8, r13
mov rdx, rdi
mov rcx, rbp
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14199d850
Function at 0x1419ad990
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov ebx, r8d
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x28], rdx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
movaps xmm0, xmmword [0x1400479c0]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm1, xmmword [0x1400479d0]
movaps xmmword [rsp + 0x90], xmm1
movaps xmm0, xmmword [0x1400479e0]
movaps xmmword [r11 - 0x78], xmm0
movaps xmm1, xmmword [0x1400479f0]
movaps xmmword [r11 - 0x68], xmm1
movzx eax, byte [0x140047a00]
mov byte [r11 - 0x58], al
movaps xmm0, xmmword [0x140047a10]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [0x140047a20]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm0, xmmword [0x140047a30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x140047a40]
movaps xmmword [rsp + 0x60], xmm1
movzx eax, byte [0x140047a50]
mov byte [rsp + 0x70], al
bt r8d, 0
lea r15, [rsp + 0x30]
lea rax, [r11 - 0x98]
cmovae r15, rax
mov r13, qword [rcx + 0x10]
lea rcx, [r13 + 2]
movabs rax, 0x5555555555555556
imul rcx
mov rax, rdx
shr rax, 0x3f
add rdx, rax
shl rdx, 2
xor r8d, r8d
mov rcx, r14
call fcn.1419aabd0
mov dword [rsp + 0x20], 1
mov esi, ebp
mov rax, qword [r14]
test rax, rax
je 0x1419adaa7
mov eax, dword [rax]
cmp eax, 1
jle 0x1419adab9
mov r8d, 1
mov rdx, qword [r14 + 0x10]
mov rcx, r14
call fcn.1419ac5f0
mov rdi, qword [r14 + 8]
and ebx, 2
test r13, r13
jle 0x1419adba0
lea r9, [0x1400479ac]
mov rdx, qword [r12 + 8]
mov rax, r9
test rdx, rdx
cmovne rax, rdx
movzx ecx, byte [rax + rsi]
inc rsi
shl ecx, 0x10
cmp rsi, r13
jne 0x1419adaf5
mov ebp, 2
jmp 0x1419adb2a
mov rax, r9
test rdx, rdx
cmovne rax, rdx
movzx eax, byte [rax + rsi]
inc rsi
shl eax, 8
or ecx, eax
cmp rsi, r13
jne 0x1419adb17
mov ebp, 1
jmp 0x1419adb2a
mov rax, r9
test rdx, rdx
cmovne rax, rdx
movzx eax, byte [rax + rsi]
inc rsi
or ecx, eax
mov edx, ecx
shr edx, 6
and edx, 0x3f
mov r8d, ecx
and r8d, 0x3f
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r15]
mov byte [rdi], al
shr rcx, 0xc
and ecx, 0x3f
movzx eax, byte [rcx + r15]
mov byte [rdi + 1], al
add rdi, 2
cmp rbp, 1
jle 0x1419adb72
test ebx, ebx
jne 0x1419adb97
mov byte [rdi], 0x3d
inc rdi
mov byte [rdi], 0x3d
inc rdi
jmp 0x1419adb97
movzx ecx, byte [rdx + r15]
mov byte [rdi], cl
inc rdi
test rbp, rbp
jle 0x1419adb8d
test ebx, ebx
jne 0x1419adb97
mov byte [rdi], 0x3d
inc rdi
jmp 0x1419adb97
movzx ecx, byte [r8 + r15]
mov byte [rdi], cl
inc rdi
cmp rsi, r13
jl 0x1419adad0
test ebx, ebx
je 0x1419adbda
mov rax, qword [r14]
test rax, rax
je 0x1419adbb3
mov eax, dword [rax]
cmp eax, 1
jle 0x1419adbc5
mov r8d, 1
mov rdx, qword [r14 + 0x10]
mov rcx, r14
call fcn.1419ac5f0
sub rdi, qword [r14 + 8]
cmp rdi, qword [r14 + 0x10]
jge 0x1419adbda
mov rdx, rdi
mov rcx, r14
call fcn.1419ad480
mov rax, r14
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.141ae2a00
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1419be750
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x20], 1
mov rcx, rdx
call fcn.141993d90
mov rcx, rax
lea rdx, [rsp + 0xa0]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
test rax, rax
je 0x1419be904
movsxd rdx, dword [rsp + 0xa0]
mov rcx, rbx
call fcn.1419a88f0
movsxd rcx, dword [rsp + 0xa0]
lea rbp, [r14 + rcx*8]
mov rsi, r14
cmp r14, rbp
jae 0x1419be8fb
mov rdi, qword [rsp + 0x90]
nop dword [rax + rax]
mov r8, 0xffffffffffffffff
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
call fcn.14198daf0
nop
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x38], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov eax, dword [rsp + 0x20]
or eax, 0xa
mov dword [rsp + 0x20], eax
test al, 4
je 0x1419be855
and dword [rsp + 0x20], 0xfffffffb
test rdi, rdi
je 0x1419be855
mov eax, 0xffffffff
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x1419be855
mov edx, 2
mov r8d, 8
mov rcx, rdi
call fcn.1419a7030
nop
mov eax, dword [rsp + 0x20]
test al, 2
je 0x1419be890
and dword [rsp + 0x20], 0xfffffffd
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1419be890
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419be890
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1419a7030
nop
lea r8, [rsp + 0x28]
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.141980880
mov rax, qword [rbx]
test rax, rax
je 0x1419be8b0
mov eax, dword [rax]
cmp eax, 1
jle 0x1419be8c1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.141980310
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1419be8ee
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419be8ee
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1419a7030
add rsi, 8
cmp rsi, rbp
jb 0x1419be7e0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret