joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ff66
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.14003b7ce
mov ebp, eax
test rdi, rdi
je 0x14002ff9b
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14002ffb0
movzx eax, word [rax]
jmp 0x14002ffc0
xor r15d, r15d
mov eax, 6
test bpl, bpl
jne 0x14003004a
xor edi, edi
jmp 0x14002ffd8
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1400d0798]
xor r15d, r15d
cmp ax, 0xffff
sete cl
cmove rdi, r15
mov eax, 6
cmp bpl, cl
je 0x14003004a
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14002ffea
movzx ebp, word [rax]
jmp 0x14002fff9
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1400d0798]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1400d0798]
test al, al
je 0x140030042
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1400d0798]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14003005e
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x14003006b
xor r15d, r15d
mov eax, 4
or dword [rsi], eax
mov eax, r15d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1400d0798]
mov r12d, dword [rsp + 0x80]
movsx r15d, bpl
mov rcx, r14
call fcn.14003b7ce
mov ebp, eax
test rdi, rdi
je 0x140030095
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140030099
movzx eax, word [rax]
jmp 0x1400300a9
mov al, 1
jmp 0x1400300b2
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1400d0798]
cmp ax, 0xffff
sete al
jne 0x1400300b4
xor edi, edi
add r15d, 0xffffffd0
cmp bpl, al
je 0x14003015a
cmp r12d, 2
jl 0x14003015a
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400300dd
movzx ebp, word [rax]
jmp 0x1400300ec
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1400d0798]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1400d0798]
test al, al
je 0x14003004c
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1400d0798]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140030139
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x140030146
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1400d0798]
lea eax, [r15 + r15*4]
movsx ecx, bpl
lea r15d, [rcx + rax*2]
dec r12d
jmp 0x140030077
mov rcx, r14
call fcn.14003b7ce
mov ebx, eax
test rdi, rdi
je 0x140030178
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14003018a
movzx eax, word [rax]
jmp 0x14003019a
mov eax, 2
test bl, bl
jne 0x14003004a
jmp 0x14003004c
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1400d0798]
cmp ax, 0xffff
sete al
xor bl, al
mov eax, 2
je 0x14003004a
jmp 0x14003004c
Function at 0x14003e3e0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14003e43b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14003e421
call fcn.14004dfc0
mov rcx, qword [rsi]
call fcn.14004dfd0
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14003e433
mov qword [rsi], rdi
call fcn.14004dfc0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x14003e455
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
int3

Function at 0x14003e4b0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1400db028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14003e4df
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003e4e2
mov rcx, qword [rsi]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14003e506
mov dil, 1
test bl, bl
je 0x14003e56d
cmp byte [rsi + 8], 0
je 0x14003e54c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003e54f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x14003e51d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003e520
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14003e533
xor edi, edi
jmp 0x14003e56d
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14003e55c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003e55f
mov rcx, qword [rsi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14003e56d
mov rcx, qword [rsi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140082fb0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003f090
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14003f0b7
mov r14, r12
jmp 0x14003f1cf
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14003f119
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14003f105
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140084a20
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14003f1cf
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14003f202
lea rcx, [r13*8]
call fcn.140081be8
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14003f188
lea r14, [rdx + rcx]
xor r8d, r8d
nop word [rax + rax]
mov r9, rcx
add r9, r8
je 0x14003f1ef
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14003f170
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
nop dword [rax + rax]
cmp r12, rbx
je 0x14003f1be
add r12, 0xfffffffffffffff8
jne 0x14003f1a0
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14001b460
test r15, r15
je 0x14003f1cf
mov rcx, r15
call fcn.140081c24
mov r14, qword [rsi + 0x10]
test r14, r14
je 0x14003f1ef
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14001b460
call fcn.14001a75d
int3
Function at 0x140041820
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400418f0
mov eax, dword [rsi]
mov dword [0x1400dcfc0], eax
test al, 1
jne 0x140041841
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1400ec168]
test rcx, rcx
je 0x140041873
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400ec168], 0
mov rcx, qword [0x1400ec140]
test rcx, rcx
jne 0x1400418a1
and byte [0x1400dcfc0], 0xfe
jmp 0x14004187f
mov rcx, qword [0x1400ec140]
test rcx, rcx
jne 0x1400418a1
mov ecx, 0x18
call fcn.140081be8
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1400ec140], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1400418d6
call fcn.14003cac0
cmp dword [rsi + 0x14], 0
jne 0x1400418cb
mov rcx, qword [0x1400ec140]
cmp byte [rcx + 0x17], 0
jns 0x1400418c5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.140041a40
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude_string:2706:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.14001b460
int3
Function at 0x140041a40
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1400db028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1400ec168], 0
jne 0x140041cb8
mov rdi, qword [0x1400ec140]
test rdi, rdi
je 0x140041a8b
test byte [0x1400dcfc0], 1
jne 0x140041b80
jmp 0x140041cb8
mov ecx, 0x18
call fcn.140081be8
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400850d0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400bdae0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14001dd28
movzx ecx, byte [rdi + 0x17]
test cl, cl
mov rax, qword [rdi]
mov rdx, qword [rdi + 8]
mov r9, rcx
cmovs r9, rdx
mov r10, rdi
cmovs r10, rax
test r9, r9
je 0x140041b5d
add r9, r9
nop word cs:[rax + rax]
test r9, r9
je 0x140041b5d
lea r8, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, r8
jne 0x140041b10
cmp r8, 0xfffffffffffffffe
je 0x140041b5d
sar r8, 1
lea r9, [r8 + 1]
test cl, cl
js 0x140041b48
cmp r8, rcx
jae 0x140041d05
mov byte [rdi + 0x17], r9b
mov rax, rdi
jmp 0x140041b55
cmp rdx, r8
jbe 0x140041d05
mov qword [rdi + 8], r9
mov word [rax + r8*2 + 2], 0
lea rdx, str.debug.log
mov rcx, rdi
call fcn.14003d064
mov qword [0x1400ec140], rdi
test byte [0x1400dcfc0], 1
je 0x140041cb8
cmp byte [rdi + 0x17], 0
jns 0x140041b89
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400ec168], rax
inc rax
cmp rax, 1
ja 0x140041cb8
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400850d0
mov word [rsp + 0x40], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x140041cb6
mov rcx, qword [0x1400ec140]
lea rdx, [rsp + 0x40]
call fcn.14003cac0
mov rcx, qword [0x1400ec140]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x140041cd5
test rax, rax
je 0x140041cf2
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x140041c52
lea rdx, [0x1400c197a]
call fcn.14003d064
mov rcx, qword [0x1400ec140]
lea rdx, str.debug.log
call fcn.14003d064
mov rcx, qword [0x1400ec140]
cmp byte [rcx + 0x17], 0
jns 0x140041c6e
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400ec168], rax
inc rax
cmp rax, 1
ja 0x140041cb8
mov qword [0x1400ec168], 0
xor esi, esi
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140082fb0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rcx + 8]
test rax, rax
je 0x140041cf2
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
jne 0x140041c3f
jmp 0x140041c52
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude_string:1339:_assertion__empty___failed:_string::back__:_string_is_empty_n
call fcn.14001b460
mov rcx, rdi
call fcn.14001a374
int3
Function at 0x140047a20
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400db028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1400ec1b0]
test rdi, rdi
jne 0x140047ad4
mov ecx, 0x50
call fcn.140081be8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140081be8
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140047af6
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x1400ec1b0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140047b09
mov rcx, rax
call fcn.14009bf78
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140047b20
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140082fb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14001b460
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.14001b460
int3
Function at 0x140047b20
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400db028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov r8d, 3
call fcn.140055150
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140047cca
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1400c3b88]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140047bc9
lea rdx, [0x1400c3bd8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140047bdc
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1400d0798]
jmp 0x140047bd7
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
jmp 0x140047bdf
xor r14d, r14d
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x140047c59
test r12d, r12d
js 0x140047d12
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140081be8
mov rbx, rax
mov qword [rsp + 0x20], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov r15, rbx
nop dword [rax]
test r15, r15
je 0x140047cec
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.14001dd28
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x140047c30
mov qword [rsp + 0x28], r15
jmp 0x140047c5e
xor r15d, r15d
xor ebx, ebx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140047780
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140047c85
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140047cca
cmp r15, rbx
je 0x140047cc2
add r15, 0xffffffffffffffe8
jmp 0x140047cac
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x140047cc2
test r15, r15
je 0x140047cff
cmp byte [r15 + 0x17], 0
jns 0x140047ca0
mov rcx, qword [r15]
call fcn.140081c24
jmp 0x140047ca0
mov rcx, rbx
call fcn.140081c24
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140082fb0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14001b460
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14001b460
lea rcx, [rsp + 0x20]
call fcn.14001b390
int3
Function at 0x140048c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400db028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x1400ec1c0]
cmp eax, 3
je 0x140048db4
mov rsi, rcx
lea r14, [0x1400c3b50]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400bdae0]
lea rdi, [rsp + 0x20]
xor r12d, r12d
jmp 0x140048cef
test bl, bl
js 0x140048d90
inc r12
movzx eax, byte [0x1400ec1c0]
xor rax, 3
cmp r12, rax
jae 0x140048db4
mov rdx, r12
shl rdx, 4
add rdx, r14
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
mov rcx, rdi
call fcn.140020e38
movzx ebx, byte [rsp + 0x37]
test bl, bl
js 0x140048d20
mov rcx, rdi
mov rax, rbx
jmp 0x140048d40
mov rax, qword [rsp + 0x28]
test rax, rax
js 0x140048dec
mov rcx, qword [rsp + 0x20]
je 0x140048d40
test rcx, rcx
je 0x140048dd9
nop
mov rdx, qword [rsi]
mov r9, qword [rsi + 8]
cmp r9, rax
mov r8, rax
cmovb r8, r9
test r8, r8
je 0x140048d5b
test rdx, rdx
je 0x140048dd9
cmp rax, r9
ja 0x140048cd0
test r8, r8
je 0x140048d9f
xor r8d, r8d
nop dword [rax]
movzx r9d, word [rdx + r8*2]
cmp r9w, word [rcx + r8*2]
jne 0x140048cd0
inc r8
cmp rax, r8
jne 0x140048d70
jmp 0x140048d9f
mov rcx, qword [rsp + 0x20]
call fcn.140081c24
jmp 0x140048cd8
test bl, bl
jns 0x140048db6
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
call fcn.140081c24
jmp 0x140048db6
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140082fb0
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.14001b460
lea rcx, [0x1400bf97f]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.14001b460
int3
Function at 0x14004ba10
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400db028]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x38]
mov r8d, 0x118
xor edx, edx
call fcn.1400850d0
mov dword [rsp + 0x34], 0x11c
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140081be8
mov rsi, rax
mov edi, dword [rsp + 0x30]
mov eax, dword [0x1400ec228]
mov ecx, dword [0x1400e9620]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004badc
lea r8, [0x1400ec1f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14004bbe0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140082fb0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400ec228]
call fcn.140081d40
cmp dword [0x1400ec228], 0xffffffff
jne 0x14004baa8
xorps xmm0, xmm0
movups xmmword [0x1400ec218], xmm0
movups xmmword [0x1400ec208], xmm0
movups xmmword [0x1400ec1f8], xmm0
lea rcx, [0x1400ec1f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400ec228]
call fcn.140081dd8
jmp 0x14004baa8

Function at 0x14004bb30
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400ec228]
mov ecx, dword [0x1400e9620]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004bb91
movzx eax, word [0x1400ec1f8]
cmp rax, 0xc
ja case.0x14004bb70.1
lea rcx, [0x1400c3d54]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
jmp case.0x14004bb70.0
mov eax, 1
jmp case.0x14004bb70.0
mov eax, 3
jmp case.0x14004bb70.0
mov eax, 4
add rsp, 0x28
ret
lea rcx, [0x1400ec228]
call fcn.140081d40
cmp dword [0x1400ec228], 0xffffffff
jne 0x14004bb55
xorps xmm0, xmm0
movups xmmword [0x1400ec218], xmm0
movups xmmword [0x1400ec208], xmm0
movups xmmword [0x1400ec1f8], xmm0
lea rcx, [0x1400ec1f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400ec228]
call fcn.140081dd8
jmp 0x14004bb55
Function at 0x140050900
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rax, qword [rcx]
jne 0x14005092e
test rax, rax
jne 0x14005092e
cmp dword [rsi + 0x14], 0
jne 0x14005092e
cmp qword [rsi + 8], 0
je 0x140050a32
lea rcx, [rax + 1]
cmp rcx, 2
jb 0x14005094e
call fcn.14004dfc0
mov rcx, qword [rsi]
call fcn.14004dfd0
mov qword [rsi], 0
xor eax, eax
mov rcx, qword [rsi + 8]
lea rdx, [rcx + 1]
cmp rdx, 2
jb 0x140050977
call fcn.14004dfc0
mov rcx, qword [rsi + 8]
call fcn.14004dfd0
mov qword [rsi + 8], 0
mov rax, qword [rsi]
xor ecx, ecx
mov qword [rsi + 0x10], 0
mov r14, qword [rdi]
cmp rax, r14
je 0x1400509cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400509af
call fcn.14004dfc0
mov rcx, qword [rsi]
call fcn.14004dfd0
mov qword [rsi], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400509c1
mov qword [rsi], r14
call fcn.14004dfc0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsi + 8]
mov r14, qword [rdi + 8]
cmp rcx, r14
je 0x140050a1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x140050a01
call fcn.14004dfc0
mov rcx, qword [rsi + 8]
call fcn.14004dfd0
mov qword [rsi + 8], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140050a14
mov qword [rsi + 8], r14
call fcn.14004dfc0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
xor eax, eax
jmp 0x14005097f

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1400db028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400bdae0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20c
call fcn.14004dfa0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140050b10
cmp byte [rsi + 0x17], 0
jns 0x140050dd7
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140050b90
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140082fb0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret