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

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x430be6
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x430bda
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x00a1c27d], 0
jne 0x4309ba
xor edx, edx
xor ebx, ebx
jmp 0x430a00
xor edx, edx
jmp 0x4309e5
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041fd40
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x4309be
add rax, 0x1268
call fcn.004308e0
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x430b74
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x4309fb
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.00413f40
test rax, rax
jne 0x430a4c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x4309fb
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x430a8c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x4309fb
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x430bcd
lea r10, [0x009ee658]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x430b0f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x430b45
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x4309fb
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x430bc5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x4309fb
cmp rbx, 0x200
ja 0x430bb4
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00426560
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.004308e0
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.00467380
mov rax, r8
call fcn.00467300
mov rax, r8
mov ecx, 0x40
call fcn.00467320
mov edx, 0x200
nop
call fcn.00467360
nop
mov qword [rsp + 8], rax
call fcn.0046bc20
mov rax, qword [rsp + 8]
jmp fcn.00430960
Function at 0x445f00
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x446067
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x445f12
cmp edx, ecx
jne 0x446055
nop word [rax + rax]
test rsi, rsi
jne 0x446055
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x445f74
nop
call fcn.00468bc0
xorps xmm15, xmm15
mov r14, qword [0x00a1c570]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00445e20
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x446050
mov rdx, qword [0x009c7768]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x446045
mov rcx, qword [0x009c7760]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x009c8c90]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x009c8c90], rax
nop
mov edx, 1
lea rsi, [0x009c8c98]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x446033
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x007242e6]
mov ebx, 0x28
nop
call fcn.00437360
mov rax, rsi
mov rcx, rdx
call fcn.00467300
call fcn.00435880
lea rax, [0x00721e67]
mov ebx, 0x23
call fcn.00437360
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465040
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00445f00
Function at 0x4530a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x453217
movzx edx, byte [rax]
test edx, edx
jne 0x4530d4
nop dword [rax]
test r8b, r8b
jne 0x4530d4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4530e7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x4531d7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x4531c5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x4531b7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45313d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x453180
mov eax, 1
cmp rax, rbx
ja 0x45316b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.004673c0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x4531af
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x453173
mov rcx, r11
mov eax, r12d
jmp 0x453142
mov rcx, rbx
call fcn.00467300
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00467300
mov eax, r8d
mov rcx, rbx
call fcn.004673c0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45320d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x4531d0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4530ed
mov eax, edx
mov rcx, rbx
call fcn.00467300
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00467300
nop
int3
Function at 0x45aa60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45ab0f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045ab60]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00464f00
xorps xmm15, xmm15
mov r14, qword [0x00a1c570]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00465040
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045aa60
Function at 0x466e80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00a1c8a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00a1c276], 0
je 0x466eb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00a1cbe0]
aesenc xmm0, xmmword [0x00a1cbf0]
aesenc xmm0, xmmword [0x00a1cc00]
movq rax, xmm0
ret
jmp 0x409ea0
Function at 0x140003560
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push rsi
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
je 0x14000369f
call fcn.140013560
mov rcx, rax
mov rsi, rax
call fcn.140012060
mov rcx, rsi
call fcn.140014760
test al, al
je 0x14000369f
lea r8, str.GlobalAdobeCrashProcessorLocalLowLock
mov qword [rsp + 0x50], rbx
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x14000368b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000368b
mov qword [rsp + 0x58], rdi
call fcn.140002fc0
test al, al
je 0x140003604
nop word [rax + rax]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140002fc0
test al, al
jne 0x1400035f0
mov rbx, qword [0x1401113d0]
mov rdi, qword [0x1401113d8]
cmp rbx, rdi
je 0x140003650
cmp dword [rbx + 8], 0
je 0x140003647
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x14000367f
movups xmm0, xmmword [rbx]
xor edx, edx
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140003673
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140003617
mov edx, 0x6400000
mov r8d, 0x19
mov rcx, rsi
call fcn.1400142c0
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rsi
ret
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rsi
ret
xor eax, eax
add rsp, 0x40
pop rsi
ret
Function at 0x140004f40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x30
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov ecx, 0xd0
call fcn.1400e89d8
mov rsi, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
movzx r10d, byte [rcx]
mov byte [rax], r10b
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x80]
call fcn.1400037b0
nop
lea rcx, [rsi + 0x28]
mov rdx, qword [rsp + 0x78]
call fcn.1400037b0
nop
lea rcx, [rsi + 0x48]
mov rdx, qword [rsp + 0x70]
call fcn.1400037b0
nop
lea rcx, [rsi + 0x68]
mov rdx, qword [rsp + 0x68]
call fcn.1400037b0
nop
lea rcx, [rsi + 0x88]
mov rdx, qword [rsp + 0x60]
call fcn.1400037b0
nop
lea rcx, [rsi + 0xa8]
mov rdx, rbx
call fcn.1400037b0
nop
mov qword [rsi + 0xc8], rdi
mov qword [rsp + 0x40], rsi
lea rbx, [r14 + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x1400053d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x140005034
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140005560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400055d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400055d8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400055c5
nop
cmp rbx, rcx
jae 0x1400055d8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400055b0
cmp rbx, rcx
jae 0x1400055d8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x1400055da
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400055f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, edx
shr eax, 4
mov r8d, 6
inc ax
mov rsi, rcx
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140005634
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140005646
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000568c
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140005687
cmp rbx, rcx
jae 0x14000568c
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140005672
cmp rbx, rcx
jb 0x140005690
xor eax, eax
jmp 0x14000569c
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000cc20
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x14000cc33
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000cc45
mov al, 1
add rsp, 0x20
pop rbx
ret
cmp qword [rbx + 0x18], 8
jb 0x14000cc4f
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
add rsp, 0x20
pop rbx
ret
Function at 0x14000d2c0
Capabilities:
Check os version

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x140110438]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp qword [rcx + 0x18], 8
mov r14, r8
mov rdi, rdx
jb 0x14000d2ee
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000d3fc
lea rcx, str.Kernel32.dll
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x54], 5
mov rcx, rbx
jae 0x14000d397
lea rdx, [0x1400fcbc8]
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d3b7
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [case.0x140094642.0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], eax
jmp 0x14000d3b7
lea rdx, str.GetFileSizeEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d3b7
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [case.0x140094642.0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x1b8]
test rdi, rdi
jne 0x14000d3e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14000d3e9
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov rax, qword [rdi]
mov rcx, rsi
mov qword [r14], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000d3fe
xor al, al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400e8720
add rsp, 0x180
pop r14
pop rdi
pop rsi
ret
Function at 0x140016630
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140110438]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
lea rcx, [rsp + 0x20]
call fcn.1400167a0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
cmp dword [rdx + 8], esi
jne 0x1400166a5
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov edi, 0xffffffff
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140016775
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
jmp 0x14001676f
lea rdx, str.AdobeCRCommonLogs_
lea rcx, [rsp + 0x20]
call fcn.1400163e0
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.140016530
lea rdi, [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400166e3
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rdi - 0x18]
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016708
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140094642.0]
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.140016530
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400e80b0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1400fcc30]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140016775
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140094642.0]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400e8720
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140032060
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, ecx
call fcn.1400cbf40
test eax, eax
jne 0x140032219
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp byte [0x14010d944], bpl
mov qword [rsp + 0x38], rsi
jne 0x140032095
mov esi, ebp
jmp 0x1400320bf
mov rax, qword [0x14010d9b0]
mov ecx, 5
call qword [case.0x140094642.0]
mov rsi, rax
test rax, rax
je 0x1400320bf
mov rcx, rax
mov rax, qword [0x14010d9c0]
call qword [case.0x140094642.0]
test ebx, ebx
jle 0x1400321f4
test rdi, rdi
je 0x1400321f4
cmp dword [0x140110ac0], ebp
jne 0x140032180
xor ecx, ecx
call fcn.14001b490
mov r9, rax
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x140110ac0], xmm0
test rax, rax
jne 0x140032119
xorps xmm0, xmm0
mov qword [0x140110af0], rax
movups xmmword [0x140110ad0], xmm0
mov dword [0x140110af8], eax
movups xmmword [0x140110ae0], xmm0
jmp 0x140032164
mov eax, dword [0x14010daf0]
test eax, eax
je 0x14003214b
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [0x140110ad0], xmm0
mov dword [0x140110ad0], eax
movups xmmword [0x140110ae0], xmm0
mov qword [0x140110af0], rcx
mov dword [0x140110af8], ecx
jmp 0x140032164
mov rax, qword [r9 + 0x68]
lea r8, [0x140110ad0]
mov edx, 0x2c
mov rcx, r9
call qword [case.0x140094642.0]
mov eax, dword [0x140110af0]
xor cl, cl
mov byte [0x140110b40], cl
mov dword [0x140110afc], eax
mov dword [0x140110af0], ebp
jmp 0x140032187
movzx ecx, byte [0x140110b40]
movzx eax, cl
lea rbp, [0x140110b00]
cmp ebx, eax
jle 0x1400321d6
test cl, cl
je 0x1400321b4
movzx r8d, cl
mov rdx, rbp
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, byte [0x140110b40]
sub ebx, ecx
add rdi, rcx
inc dword [0x140110af0]
lea rdx, [0x140110ac0]
mov rcx, rbp
call fcn.14003f7e0
mov cl, 0x40
mov byte [0x140110b40], cl
cmp ebx, 0x40
jg 0x140032195
movzx eax, cl
mov rcx, rdi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
sub byte [0x140110b40], bl
jmp 0x1400321fa
mov dword [0x140110ac0], ebp
test rsi, rsi
je 0x14003220f
mov rax, qword [0x14010d9d0]
mov rcx, rsi
call qword [case.0x140094642.0]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003a6a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x14003a8bf
mov qword [rsp + 0x68], rbp
xor r9d, r9d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r14
nop dword [rax]
nop word [rax + rax]
movsxd rbp, dword [rsi + 0x10]
lea r12, [rdi + 0x88]
mov r15d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14003a718
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x14003a728
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xe4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x14003a755
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.140055ca0
jmp 0x14003a780
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.140096210
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x14003a7c4
mov edx, 5
mov rcx, rdi
call fcn.140055d10
test eax, eax
jne 0x14003a8a6
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rdi + 0x90], 5
test rdx, rdx
je 0x14003a8a6
mov dword [rdx + 0x3c], r14d
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x54], ecx
mov ecx, 8
mov word [rdx + 0x4a], cx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x50], r14d
test r14d, r14d
je 0x14003a895
movzx eax, byte [rbx + 0x1f]
cmp al, cl
jae 0x14003a895
mov dword [rbx + rax*4 + 0xe4], r14d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x60]
test rsi, rsi
jne 0x14003a6f0
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret