joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017880
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140040150]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x50]
call fcn.140029270
nop
lea rax, [rbp - 0x58]
mov qword [rbp - 0x48], rax
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400178c9
mov rdi, qword [rbx]
call fcn.140001550
mov rcx, rax
test rax, rax
je 0x140017ab3
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x140031948]
add rax, 0x18
mov qword [rbp - 0x58], rax
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.14000acc0
test al, al
jne 0x14001790c
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.14000ae20
nop
mov rcx, qword [rbp - 0x50]
add rcx, 0xffffffffffffffe8
call fcn.14000b3a0
add rax, 0x18
mov qword [rbp - 0x40], rax
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140025760
nop
lea rax, [rbp - 0x60]
mov qword [rbp - 0x28], rax
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140017948
mov rdi, qword [rbx]
call fcn.140001550
mov rcx, rax
test rax, rax
je 0x140017aa8
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x140031948]
add rax, 0x18
mov qword [rbp - 0x60], rax
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14000acc0
test al, al
jne 0x14001798b
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14000ae20
nop
mov rcx, qword [rbp - 0x50]
add rcx, 0xffffffffffffffe8
call fcn.14000b3a0
add rax, 0x18
mov qword [rbp - 0x48], rax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call fcn.140027210
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400179ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140031948]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017a14
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140031948]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140017a37
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140031948]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140017a6d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140017a68
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017aa1
mov rcx, r8
call fcn.14002ba00
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002b9e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x80004005
call fcn.140001300
nop
mov ecx, 0x80004005
call fcn.140001300
int3
Function at 0x140017df0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140017e11
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140017e3e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140017e40
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140017e99
test ecx, ecx
jle 0x140017e79
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140017e99
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140017e99
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
pop rbp
adc edi, edx
invalid
Function at 0x140017ec0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140017ef1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140017f08
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140017f2b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140017f2d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140017f69
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140017ffe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140017fa4
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140017fde
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140017ffe
cmp rbx, rax
ja 0x140017fb0
test rbx, rbx
je 0x140017ffe
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140018450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140040150]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001847d
xor eax, eax
jmp 0x1400185da
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400184a8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400184a8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x1400185da
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400185cd
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400184eb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140018516
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400185d2
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140018585
sub eax, 1
je 0x140018585
cmp eax, 2
jne 0x1400185cd
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400185d2
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400185b3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400185cd
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400185d2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002b9e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400189d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140040150]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140018aaa
cmp byte [rcx + 0x71], 0
je 0x140018aaa
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x140031948]
cmp eax, 0xffffffff
je 0x140018aa6
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140018a6b
sub eax, 1
je 0x140018a6f
cmp eax, 2
jne 0x140018aa6
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002b9e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140018a9d
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140018aa6
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140018a53
xor al, al
jmp 0x140018a53
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002b9e0
add rsp, 0x60
pop rbx
ret
Function at 0x14001e4c0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rsp + 0x38], 1
call fcn.14001e600
nop
mov dword [rsp + 0x38], 1
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
je 0x14001e54f
lea rdx, str.crashlogs
mov rcx, rbx
call fcn.14000a680
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.14000b3a0
lea rdi, [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001e52b
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e54f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140031948]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e560
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rsp + 0x38], 1
call fcn.14001e600
nop
mov dword [rsp + 0x38], 1
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
je 0x14001e5ef
lea rdx, str.dumps
mov rcx, rbx
call fcn.14000a680
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.14000b3a0
lea rdi, [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001e5cb
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e5ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140031948]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e600
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140040150]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x28], esi
call fcn.140001550
mov rcx, rax
test rax, rax
je 0x14001e854
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x140031948]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x140033294]
lea rbp, [rsi - 1]
cmp rdx, 0x10000
jae 0x14001e678
movzx edx, dx
mov rcx, r14
call fcn.14000b280
jmp 0x14001e696
mov rax, rbp
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001e680
mov r8d, eax
mov rcx, r14
call fcn.14000b4a0
nop
mov dword [rsp + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
movups xmm0, xmmword [0x140033280]
movups xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [rsp + 0x40]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14001e82c
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
lea rcx, [rax + 1]
add rcx, rbx
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.14002bfd4
mov rdi, rax
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
lea rcx, [rax + 1]
add rcx, rbx
mov eax, 0x209
cmp rcx, rax
jae 0x14001e785
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
inc rax
add rax, rbx
je 0x14001e78f
sub rax, 1
mov word [rdi + rax*2], si
jne 0x14001e785
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.AdobeCRLogs
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test rdi, rdi
je 0x14001e7c1
mov rax, rbp
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001e7b5
mov esi, eax
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call fcn.14000b4a0
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.14000b3a0
lea rbx, [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001e7fa
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14001e818
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140031948]
mov rcx, rdi
call fcn.14002ba00
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rax, r14
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002b9e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140001300
int3
Function at 0x14001eee0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov ebp, 1
mov dword [rsp + 0x60], ebp
lea rcx, [rsp + 0x68]
call fcn.14001e600
nop
mov dword [rsp + 0x60], ebp
mov rax, qword [rsp + 0x68]
cmp dword [rax - 0x10], 0
je 0x14001ef28
lea rdx, str.windowsclient
lea rcx, [rsp + 0x68]
call fcn.14000a680
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov rcx, qword [rsp + 0x68]
lea rsi, [r15 - 1]
cmp dword [rcx - 0x10], r15d
je 0x14001f0a4
mov rcx, qword [rcx - 0x18]
test rcx, rcx
je 0x14001ef61
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x140031948]
mov rcx, rax
test rax, rax
jne 0x14001ef7c
call fcn.140001550
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [0x140031948]
mov rcx, rax
test rcx, rcx
je 0x14001f0e1
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140031948]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x60], 2
lea rax, str.generatecrlogornot.txt
mov rdi, rsi
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14001efb0
mov r13, qword [rsp + 0x68]
movsxd r12, dword [r13 - 0x10]
lea r14d, [rdi + r12]
test r14d, r14d
js 0x14001f0ec
sub ebp, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ebp
jge 0x14001efef
mov edx, r14d
lea rcx, [rsp + 0x70]
call fcn.14000b610
mov rbx, qword [rsp + 0x70]
add r12, r12
je 0x14001f027
test rbx, rbx
je 0x14001f015
mov r8, r12
mov rcx, rbx
test r13, r13
je 0x14001f00e
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14001f027
xor edx, edx
call sub.VCRUNTIME140.dll_memset
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]
movsxd r8, edi
add r8, r8
lea rcx, [r12 + rbx]
je 0x14001f058
test rcx, rcx
jne 0x14001f04c
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 0x14001f058
lea rdx, str.generatecrlogornot.txt
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rbx - 0x18]
cmp r14d, dword [rdi + 0xc]
jg 0x14001f0ec
mov dword [rdi + 8], r14d
movsxd rax, r14d
mov word [rbx + rax*2], r15w
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14001f09c
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [0x140031948]
test ebx, ebx
je 0x14001f0a4
mov bl, 1
jmp 0x14001f0a6
xor bl, bl
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14001f0c9
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [0x140031948]
movzx eax, bl
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001300
nop
mov ecx, 0x80070057
call fcn.140001300
int3
Function at 0x14001f100
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov r8, qword [rcx]
lea rdx, str.open
mov rbx, rcx
mov dword [rsp + 0x28], 1
xor ecx, ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f15b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
add rsp, 0x30
pop rbx
jmp qword [0x140031948]
add rsp, 0x30
pop rbx
ret
Function at 0x14001f370
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140040150]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rdx
xor r14d, r14d
mov ecx, 0x20a
call fcn.14002bfd4
mov rdi, rax
call fcn.140001550
mov rcx, rax
test rax, rax
je 0x14001f5df
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x140031948]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, [0x140033294]
lea rsi, [r14 - 1]
cmp rdx, 0x10000
jae 0x14001f3f9
movzx edx, dx
lea rcx, [rsp + 0x20]
call fcn.14000b280
jmp 0x14001f418
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001f400
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14000b4a0
nop
mov word [rdi], r14w
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001f42d
mov rcx, qword [rbx]
cmp r8, 2
jne 0x14001f447
lea rdx, [0x140034308]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001f447
mov al, 1
jmp 0x14001f449
xor al, al
lea r15, str._x_sys_default_locale
mov rcx, r14
test al, al
cmovne rcx, r15
mov r9d, 0x104
mov r8, rdi
mov edx, 0x59
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001f47a
lea rdx, str.unknown_
jmp 0x14001f4a1
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001f480
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000b070
lea rdx, [0x1400325ec]
lea rcx, [rsp + 0x20]
call fcn.14001f210
mov word [rdi], r14w
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001f4c0
mov rcx, qword [rbx]
cmp r8, 2
jne 0x14001f4da
lea rdx, [0x140034308]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001f4da
mov al, 1
jmp 0x14001f4dc
xor al, al
mov rcx, r14
test al, al
cmovne rcx, r15
mov r9d, 0x104
mov r8, rdi
mov edx, 0x5a
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001f510
lea rdx, [0x140032570]
lea rcx, [rsp + 0x20]
call fcn.14001f210
jmp 0x14001f52d
mov rax, rsi
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001f513
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000b070
mov rcx, rdi
call fcn.14002ba00
lea rcx, [rsp + 0x20]
call fcn.140020400
mov rdx, rax
mov rcx, rbp
call fcn.14000a5c0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14001f56f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140031948]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001f5a5
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001f5a0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001f5d8
mov rcx, r8
call fcn.14002ba00
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rbp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002b9e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x80004005
call fcn.140001300
int3