joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003730
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov r14, rcx
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140003040
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140003761
cmp word [rcx], 0
jne 0x140003768
lea rcx, [0x140044cf4]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rbx]
test al, 1
je 0x140003795
and eax, 0xfffffffe
test rcx, rcx
je 0x140003783
cmp word [rcx], 0
jne 0x14000378a
lea rcx, [0x140044cf4]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbx]
xor edi, edi
test rcx, rcx
je 0x1400037a4
call fcn.14001dd40
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400037bd
call fcn.14001dd40
mov dword [rbx + 0x18], edi
mov qword [rbx + 0x10], rdi
mov rcx, qword [r14]
test rcx, rcx
je 0x1400037cb
cmp word [rcx], 0
jne 0x1400037d2
lea rcx, [0x140044cf4]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test eax, eax
jne 0x14000383c
mov qword [rsp + 0x78], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 2
je 0x140003837
mov rcx, r14
call fcn.140003590
mov rbx, rax
call fcn.1400036a0
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, str.deleteFile_fail_lastError__d__path:
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x2e]
lea rax, str.FileUtils
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptFileUtils.cpp
mov qword [rsp + 0x20], rax
lea edx, [rdi + 4]
call fcn.140001990
mov rsi, qword [rsp + 0x78]
cmp edi, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
sete al
mov rsp, r11
pop r14
ret

Function at 0x140003860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x58
test rcx, rcx
je 0x1400038df
cmp word [rcx], 0
je 0x1400038df
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400038e6
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1400038da
call fcn.1400036a0
mov rcx, rax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], 0x58
lea rax, str.FileUtils::existDir
mov qword [rsp + 0x30], rax
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptutilsUtils.cpp
lea rax, str._funtion__s_line__d__GetLastError_____d
mov r9d, 0x1c9
mov qword [rsp + 0x28], rax
mov edx, 3
lea rax, str.FileUtils
mov qword [rsp + 0x20], rax
call fcn.140001990
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x58
ret
shr eax, 4
and al, 1
add rsp, 0x58
ret
Function at 0x1400038f0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x60
mov eax, dword [rcx + 8]
mov rbx, rcx
test eax, eax
jg 0x14000393e
call fcn.1400036a0
mov rcx, rax
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptFileUtils.cpp
mov r9d, 0x63
lea rax, str.create_dir_is_empty
mov qword [rsp + 0x28], rax
lea rax, str.FileUtils
mov qword [rsp + 0x20], rax
lea edx, [r9 - 0x5f]
call fcn.140001990
xor al, al
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 0x70], rdi
cmp eax, 1
jl 0x14000396a
dec eax
lea rdx, [0x140044dac]
movsxd rcx, eax
mov r8d, 1
mov rax, qword [rbx]
lea rcx, [rax + rcx*2]
call fcn.14001e46c
test eax, eax
je 0x1400039b6
mov eax, dword [rbx + 8]
cmp eax, 1
jl 0x140003994
dec eax
lea rdx, [0x140044db0]
movsxd rcx, eax
mov r8d, 1
mov rax, qword [rbx]
lea rcx, [rax + rcx*2]
call fcn.14001e46c
test eax, eax
je 0x1400039b6
mov edx, dword [rbx + 8]
mov rcx, rbx
inc edx
call fcn.140003510
mov rcx, qword [rbx]
lea r8, [0x140044dac]
movsxd rdx, eax
call fcn.140017364
inc dword [rbx + 8]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1400039c4
cmp word [rdx], 0
jne 0x1400039cb
lea rdx, [0x140044cf4]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
test eax, eax
je 0x140003a8a
cmp eax, 0xb7
je 0x140003a8a
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call fcn.1400036a0
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptFileUtils.cpp
mov rcx, rax
lea rax, [rsp + 0x40]
mov edx, 4
cmp edi, 5
jne 0x140003a51
mov dword [rsp + 0x38], edi
lea r9d, [rdx + 0x6e]
mov qword [rsp + 0x30], rax
lea rax, str.Access_is_denied_path___s__error___d
mov qword [rsp + 0x28], rax
lea rax, str.FileUtils
mov qword [rsp + 0x20], rax
call fcn.140001990
mov rdi, qword [rsp + 0x70]
xor al, al
add rsp, 0x60
pop rbx
ret
mov dword [rsp + 0x38], edi
mov r9d, 0x77
mov qword [rsp + 0x30], rax
lea rax, str.create_dir_is_failed_path___s__error___d
mov qword [rsp + 0x28], rax
lea rax, str.FileUtils
mov qword [rsp + 0x20], rax
call fcn.140001990
mov rdi, qword [rsp + 0x70]
xor al, al
add rsp, 0x60
pop rbx
ret
mov rdi, qword [rsp + 0x70]
mov al, 1
add rsp, 0x60
pop rbx
ret
Function at 0x140003aa0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14004a020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140003c03
cmp word [rcx], 0
je 0x140003c03
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140003c25
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], ebp
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140003330
nop
lea rcx, [rsp + 0x58]
call fcn.140003590
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
je 0x140003be5
call fcn.1400036a0
mov rcx, rax
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptutilsUtils.cpp
lea edx, [rbp + 3]
lea rax, str.FileUtils::read
test rbx, rbx
jne 0x140003bab
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 0x109
mov qword [rsp + 0x30], rax
lea rax, str._funtion__s_line__d__GetLastError_____d
mov qword [rsp + 0x28], rax
lea rax, str.FileUtils
mov qword [rsp + 0x20], rax
mov r9d, 0x1c9
call fcn.140001990
jmp 0x140003be5
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 0x109
mov qword [rsp + 0x30], rax
lea rax, str._funtion__s_line__d__GetLastError_____d__extraInfo__s
mov qword [rsp + 0x28], rax
lea rax, str.FileUtils
mov qword [rsp + 0x20], rax
mov r9d, 0x1cb
call fcn.140001990
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140003bf4
call fcn.14001dd40
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140003c03
call fcn.14001dd40
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400109f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rdi, eax
test eax, eax
jg 0x140003c42
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003c03
mov rcx, qword [rbx]
cmp dword [rbx + 8], edi
jne 0x140003c5b
test rcx, rcx
je 0x140003c6b
mov r8, rdi
xor edx, edx
call fcn.140013690
jmp 0x140003c7e
test rcx, rcx
je 0x140003c6b
call fcn.14001dd40
mov qword [rbx], rbp
mov dword [rbx + 8], ebp
mov rcx, rdi
mov edx, 1
call fcn.14001e31c
mov qword [rbx], rax
mov dword [rbx + 8], edi
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x50]
mov r8d, edi
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140003c05
Function at 0x140003cb0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14004a020]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 8], 0
mov r15d, r8d
mov r14, rdx
mov rbx, rcx
jle 0x140003d79
mov rcx, qword [rcx]
test rcx, rcx
je 0x140003cf0
cmp word [rcx], 0
jne 0x140003cf7
lea rcx, [0x140044cf4]
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, 0xffffffffffffffff
jne 0x140003d9f
mov rcx, rbx
call fcn.140003590
mov rbx, rax
call fcn.1400036a0
mov qword [rsp + 0x38], rbx
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptFileUtils.cpp
mov dword [rsp + 0x30], ebp
lea edx, [rsi + 4]
mov rcx, rax
lea rbp, str.FileUtils
lea rax, str.writeFile_erro___d__filePath___s
mov r9d, 0xe5
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
call fcn.140001990
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400109f0
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea rbp, str.FileUtils
test eax, eax
je 0x140003e1f
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
jne 0x140003de3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
je 0x140003e1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400036a0
mov rcx, rax
mov dword [rsp + 0x30], ebx
lea rax, str.truncateFile_erro___d
mov r9d, 0x166
mov qword [rsp + 0x28], rax
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptFileUtils.cpp
mov edx, 4
mov qword [rsp + 0x20], rbp
call fcn.140001990
mov dword [rsp + 0x40], esi
test rdi, rdi
je 0x140003e59
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140003e59
mov esi, dword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x140003d7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400036a0
mov rcx, rax
mov dword [rsp + 0x30], ebx
lea rax, str.writeFile_erro___d
mov r9d, 0x178
mov qword [rsp + 0x28], rax
lea r8, str.F:wechat_third_partywechat_subprojectWeChatSptFileUtils.cpp
mov edx, 4
mov qword [rsp + 0x20], rbp
call fcn.140001990
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x140003d7e
Function at 0x140009d10
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x20
mov esi, r8d
mov r15, rdx
mov rbx, rcx
test r8d, r8d
jne 0x140009d32
xor eax, eax
add rsp, 0x20
pop r15
pop rsi
pop rbx
ret
cmp dword [0x14004c674], 0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r14
jne 0x140009d54
call fcn.140009ea0
mov eax, 0x55555556
mov rdi, 0xffffffffffffffff
imul esi
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
cmp eax, esi
lea ebp, [rdx + 1]
cmove ebp, edx
lea edx, [rdi + 2]
lea r12d, [rbp*4]
mov ecx, r12d
add ecx, 1
cmovb rcx, rdi
call fcn.14001e31c
mov r14, rax
mov rdx, rax
test ebp, ebp
je 0x140009e58
mov r10d, ebx
lea r11, [0x14004c720]
nop word [rax + rax]
movzx eax, byte [rbx]
dec ebp
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rdx], al
movzx r8d, byte [rbx]
inc rbx
mov eax, ebx
and r8b, 3
sub eax, r10d
shl r8b, 4
cmp eax, esi
movzx eax, r8b
jge 0x140009e37
movzx ecx, byte [rbx]
shr rcx, 4
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [rdx + 1], al
movzx ecx, byte [rbx]
inc rbx
and cl, 0xf
mov r9d, ebx
sub r9d, r10d
shl cl, 2
cmp r9d, esi
jge 0x140009e0d
movzx eax, byte [rbx]
shr al, 6
or cl, al
movzx eax, cl
lea r8, [rdx + 3]
movzx eax, byte [rax + r11]
mov byte [rdx + 2], al
lea rdx, [r8 + 1]
cmp r9d, esi
jge 0x140009e4b
movzx eax, byte [rbx]
and al, 0x3f
movzx eax, al
inc rbx
movzx ecx, byte [rax + r11]
jmp 0x140009e4d
movzx eax, byte [rax + r11]
lea r8, [rdx + 3]
mov byte [rdx + 1], al
mov byte [rdx + 2], 0x3d
lea rdx, [r8 + 1]
mov cl, 0x3d
mov byte [r8], cl
test ebp, ebp
jne 0x140009db0
mov rbp, qword [rsp + 0x40]
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x140009e60
mov r8, rdi
mov rdx, r14
mov rcx, r15
call fcn.140002b00
mov rdi, qword [rsp + 0x48]
test r14, r14
je 0x140009e8a
mov rcx, r14
call fcn.14001dd40
mov r14, qword [rsp + 0x58]
mov eax, r12d
mov r12, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbx
ret
Function at 0x14000a3e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x460
mov rax, qword [0x14004a020]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov rsi, rcx
mov qword [rcx + 0x18], rbp
xor edx, edx
mov qword [rcx], rbp
mov r8d, 0x208
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rcx + 0x18], ebp
lea rcx, [rsp + 0x240]
call fcn.140013690
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140013690
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
lea edx, [rbp + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000a487
lea rdx, [rsp + 0x240]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14000a487
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp word [rsp + 0x30], bp
je 0x14000a4f5
mov qword [rsp + 0x478], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x480], rdi
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], bp
jne 0x14000a4b0
mov edx, edi
mov rcx, rsi
call fcn.140003510
mov rcx, qword [rsi]
lea r8, [rsp + 0x30]
movsxd rbx, edi
mov r9, rbx
movsxd rdx, eax
call fcn.14001e498
mov rax, qword [rsi]
mov word [rax + rbx*2], bp
mov rbx, qword [rsp + 0x478]
mov dword [rsi + 8], edi
mov rdi, qword [rsp + 0x480]
jmp 0x14000a504
mov rax, qword [rsi]
test rax, rax
je 0x14000a504
mov word [rax], bp
mov qword [rsi + 8], rbp
mov edx, dword [rsi + 8]
mov rcx, rsi
add edx, 8
call fcn.140003510
mov rcx, qword [rsi]
lea r8, [0x140045398]
movsxd rdx, eax
call fcn.140017364
add dword [rsi + 8], 8
mov rcx, rsi
mov edx, dword [rsi + 8]
add edx, 8
call fcn.140003510
mov rcx, qword [rsi]
lea r8, str.WeChat_
movsxd rdx, eax
call fcn.140017364
add dword [rsi + 8], 8
mov rcx, rsi
call fcn.14000a580
mov rax, rsi
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400109f0
mov rbp, qword [rsp + 0x488]
add rsp, 0x460
pop rsi
ret
Function at 0x14000a580
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14004a020]
xor rax, rsp
mov qword [rbp + 0x140], rax
cmp dword [rcx + 8], 0
mov rdi, rcx
jle 0x14000a787
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
call fcn.140013690
mov rdi, qword [rdi]
lea r14, [0x140044cf4]
xor r12d, r12d
lea esi, [r12 + 1]
test rdi, rdi
je 0x14000a5f6
movzx eax, word [rdi]
test ax, ax
jne 0x14000a609
movzx eax, word [0x140044cf4]
mov rdi, r14
test ax, ax
je 0x14000a6ea
mov ecx, 0x5c
lea r15, [rsp + 0x40]
sub r15, rdi
lea edx, [rcx - 0x2d]
lea r13d, [rcx - 0x22]
nop dword [rax]
cmp cx, ax
je 0x14000a62e
cmp dx, ax
jne 0x14000a6d2
cmp r13w, word [rdi - 2]
je 0x14000a6d2
mov r8d, 0xffffffff
mov qword [rsp + 0x38], r12
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
call fcn.140003330
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14000a675
mov rcx, rbx
cmp word [rbx], r12w
jne 0x14000a678
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14000a69a
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test eax, eax
je 0x14000a76b
test rbx, rbx
je 0x14000a6ac
mov rcx, rbx
call fcn.14001dd40
mov qword [rsp + 0x20], r12
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r12
test rcx, rcx
je 0x14000a6ca
call fcn.14001dd40
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
mov edx, 0x2f
lea ecx, [rdx + 0x2d]
movzx eax, word [rdi]
mov word [r15 + rdi], ax
add rdi, 2
movzx eax, word [rdi]
test ax, ax
jne 0x14000a620
mov r8d, 0xffffffff
mov qword [rsp + 0x38], r12
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
call fcn.140003330
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14000a726
cmp word [rbx], r12w
je 0x14000a726
mov r14, rbx
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14000a743
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
setne dil
test rbx, rbx
je 0x14000a756
mov rcx, rbx
call fcn.14001dd40
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000a765
call fcn.14001dd40
movzx eax, dil
jmp 0x14000a789
test rbx, rbx
je 0x14000a778
mov rcx, rbx
call fcn.14001dd40
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000a787
call fcn.14001dd40
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400109f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000dad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rsi, rcx
mov r9d, dword [rcx + 0x9c]
xor r12d, r12d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
nop dword [rax]
mov edx, dword [rsi + 0x94]
mov ebp, dword [rsi + 0x58]
mov ecx, dword [rsi + 0x44]
sub ebp, edx
add ecx, 0xfffffefa
sub ebp, r9d
add ecx, ebx
cmp edx, ecx
jb 0x14000dba0
mov rcx, qword [rsi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call fcn.140012f60
mov r8d, dword [rsi + 0x74]
mov rax, qword [rsi + 0x68]
sub dword [rsi + 0x98], ebx
sub dword [rsi + 0x94], ebx
sub dword [rsi + 0x84], ebx
lea rdx, [rax + r8*2]
nop
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, bx
cmp ecx, ebx
cmovb ax, r12w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x14000db50
mov rax, qword [rsi + 0x60]
mov r8d, ebx
lea rdx, [rax + rbx*2]
nop dword [rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, bx
cmp ecx, ebx
cmovb ax, r12w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x14000db80
add ebp, ebx
mov r14, qword [rsi]
mov ecx, dword [r14 + 8]
test ecx, ecx
je 0x14000dc87
mov edx, dword [rsi + 0x9c]
mov r15d, dword [rsi + 0x94]
add r15, rdx
add r15, qword [rsi + 0x50]
cmp ecx, ebp
cmovbe ebp, ecx
test ebp, ebp
jne 0x14000dbd1
mov ebp, r12d
jmp 0x14000dc33
mov rax, qword [r14 + 0x28]
sub ecx, ebp
mov dword [r14 + 8], ecx
mov ecx, dword [rax + 0x2c]
cmp ecx, 1
jne 0x14000dbf4
mov rdx, qword [r14]
mov r8d, ebp
mov ecx, dword [r14 + 0x4c]
call fcn.14000c280
jmp 0x14000dc12
cmp ecx, 2
jne 0x14000dc16
mov rdx, qword [r14]
test rdx, rdx
jne 0x14000dc06
mov eax, r12d
jmp 0x14000dc12
mov ecx, dword [r14 + 0x4c]
mov r8d, ebp
call fcn.14000c560
mov dword [r14 + 0x4c], eax
mov rdx, qword [r14]
mov rcx, r15
mov r8d, ebp
mov edi, ebp
call fcn.140012f60
add qword [r14], rdi
add dword [r14 + 0xc], ebp
mov edx, dword [rsi + 0x9c]
lea r9d, [rdx + rbp]
mov dword [rsi + 0x9c], r9d
cmp r9d, 3
jb 0x14000dc71
mov eax, dword [rsi + 0x94]
mov rdx, qword [rsi + 0x50]
mov ecx, dword [rsi + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rsi + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rsi + 0x7c]
mov dword [rsi + 0x70], r8d
cmp r9d, 0x106
jae 0x14000dc87
mov rax, qword [rsi]
cmp dword [rax + 8], r12d
jne 0x14000db00
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rsi
ret

Function at 0x140011344
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1128
call fcn.140011f54
sub rsp, rax
invalid
invalid
mov word [rax + riz*8], fs
add byte [rax], al
Function at 0x14001135c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [rax], al
mov ecx, ebx
call fcn.1400237c0
nop
mov byte [rcx + rax], ah
add byte [rax + 0x34e8cb8b], dl
and al, 1
add byte [rax - 0x47333334], dl
mov eax, 0x1128
mov ecx, ebx
call fcn.140023774
add dword [rax], eax
nop
int3
add al, ch
add al, 0
add dh, al
and al, 0x50
push 0x512444c6
je 0x14001132f
and al, 0x52
je 0x140011334
and al, 0x53
jo 0x140011339
and al, 0x54
jae 0x14001133e
and al, 0x55
cmp al, dh
mov byte [rsp + 0x56], 0x2f

Function at 0x14001137c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [rax], al
mov ecx, ebx
call fcn.1400237c0
nop
mov byte [rcx + rax], ah
add byte [rax + 0x34e8cb8b], dl
and al, 1
add byte [rax - 0x47333334], dl
mov eax, 0x1128
mov ecx, ebx
call fcn.140023774
add dword [rax], eax
nop
int3
add al, ch
add al, 0
add dh, al
and al, 0x50
push 0x512444c6
je 0x14001132f
and al, 0x52
je 0x140011334
and al, 0x53
jo 0x140011339
and al, 0x54
jae 0x14001133e
and al, 0x55
cmp al, dh
mov byte [rsp + 0x56], 0x2f

Function at 0x1400113d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [rsp + 0x56], 0x2f
mov byte [rsp + 0x57], 0x2f
mov byte [rsp + 0x58], 0x7a
mov byte [rsp + 0x59], 0x6c
mov byte [rsp + 0x5a], 0x2d
mov byte [rsp + 0x5b], 0x77
mov byte [rsp + 0x5c], 0x65
mov byte [rsp + 0x5d], 0x62
mov byte [rsp + 0x5e], 0x2d
mov byte [rsp + 0x5f], 0x69
mov byte [rsp + 0x60], 0x6d
mov byte [rsp + 0x61], 0x61
mov byte [rsp + 0x62], 0x67
mov byte [rsp + 0x63], 0x65
mov byte [rsp + 0x64], 0x73
mov byte [rsp + 0x65], 0x2e
mov byte [rsp + 0x66], 0x6f
mov byte [rsp + 0x67], 0x73
mov byte [rsp + 0x68], 0x73
mov byte [rsp + 0x69], 0x2d
mov byte [rsp + 0x6a], 0x63
mov byte [rsp + 0x6b], 0x6e
mov byte [rsp + 0x6c], 0x2d
mov byte [rsp + 0x6d], 0x73
mov byte [rsp + 0x6e], 0x68
mov byte [rsp + 0x6f], 0x65
mov byte [rsp + 0x70], 0x6e
mov byte [rsp + 0x71], 0x7a
mov byte [rsp + 0x72], 0x68
mov byte [rsp + 0x73], 0x65
mov byte [rsp + 0x74], 0x6e
mov byte [rsp + 0x75], 0x2e
mov byte [rsp + 0x76], 0x61
mov byte [rsp + 0x77], 0x6c
mov byte [rsp + 0x78], 0x69
mov byte [rsp + 0x79], 0x79
mov byte [rsp + 0x7a], 0x75
mov byte [rsp + 0x7b], 0x6e
mov byte [rsp + 0x7c], 0x63
mov byte [rsp + 0x7d], 0x73
mov byte [rsp + 0x7e], 0x2e
mov byte [rsp + 0x7f], 0x63
mov byte [rsp + 0x80], 0x6f
mov byte [rsp + 0x81], 0x6d
mov byte [rsp + 0x82], 0x2f
mov byte [rsp + 0x83], 0x37
mov byte [rsp + 0x84], 0x35
and al, 0x84
add byte [rax], al
add byte [0xc5259940], dh
add byte [rax], al
add byte [rcx], bh
mov byte [rsp + 0x86], 0x38
mov byte [rsp + 0x87], 0x34
mov byte [rsp + 0x88], 0x43
mov byte [rsp + 0x89], 0x36
mov byte [rsp + 0x8a], 0x39
mov byte [rsp + 0x8b], 0x35
mov byte [rsp + 0x8c], 0x30
mov byte [rsp + 0x8d], 0x31
mov byte [rsp + 0x8e], 0x33
mov byte [rsp + 0x8f], 0x34
and al, 0x8f
add byte [rax], al
add byte [rsi + rax*8], dh
test byte [rax + rdx*4], ah
add byte [rax], al
add byte [rsi], dh
mov byte [rsp + 0x91], 0x38
mov byte [rsp + 0x92], 0x31
mov byte [rsp + 0x93], 0x39
and al, 0x93
add byte [rax], al
add byte [rcx], bh