joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034080
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140099740
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14003411f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400b4b28
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400785a0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140039710
mov rcx, rsi
mov rdx, r14
call fcn.140078770
mov rcx, r14
call fcn.1400786f0
mov rcx, rbx
call fcn.1400786f0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400975f0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140034150
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140099740
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400341fe
cmp word [rsp + 0x70], 0
je 0x1400341fe
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400b4b28
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400785a0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400975f0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140078580
lea rcx, [rsp + 0x40]
call fcn.1400786f0
jmp 0x1400341c7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140116fc0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140078470
mov rcx, rdi
call fcn.140034080
test al, al
jne 0x1400341e5
lea rax, [0x14011e3c6]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400785a0
jmp 0x1400341f2
Function at 0x1400356b0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140035879
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400b15b4
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x140116fc0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.1400781f0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14006fed0
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.1400a920c
mov ecx, eax
call fcn.1400a99ac
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14003586e
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x14015e008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400b123c
test rax, rax
je 0x140035811
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14003587d
add r15, r12
mov rcx, rbx
call fcn.1400b0aa4
test eax, eax
je 0x140035881
mov r12, r15
mov rcx, rbx
call fcn.1400b0ad0
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x14015e008]
lea rcx, [rsp + 0x80]
call fcn.140070110
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400975f0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14d, 0xffff
jmp 0x1400357af
xor ebx, ebx
jmp 0x140035843
xor ebx, ebx
jmp 0x140035821
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x14015e008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x1400357d4
Function at 0x140039d70
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm0
movzx eax, byte [r8 + 0x17]
test al, al
js 0x140039da2
and eax, 0x7f
jmp 0x140039da9
mov rax, qword [r8 + 8]
mov r8, qword [r8]
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], rax
test rax, rax
js 0x140039e6a
test r8, r8
jne 0x140039dca
test rax, rax
jne 0x140039e96
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140071a40
cmp byte [rsi + 0x17], 0
jns 0x140039ded
mov rsi, qword [rsp + 0x80]
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140071a40
cmp byte [rdi + 0x17], 0
jns 0x140039e12
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x6f], 0
jns 0x140039e31
mov rcx, qword [rsp + 0x58]
call fcn.140095f38
cmp byte [rsp + 0x97], 0
jns 0x140039e48
mov rcx, qword [rsp + 0x80]
call fcn.140095f38
test esi, esi
setne bl
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400975f0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1400cb250
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1400cb250
int3
Function at 0x140039f50
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x68]
mov rcx, rdi
call fcn.140071a40
cmp byte [rdi + 0x17], 0
jns 0x140039f97
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x7f], 0
jns 0x140039fb8
mov rcx, qword [rsp + 0x68]
call fcn.140095f38
test rsi, rsi
je 0x14003a05f
test edi, edi
je 0x14003a05f
mov ecx, edi
add rcx, rcx
call fcn.140095f7c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.140071a40
cmp byte [r14 + 0x17], 0
jns 0x140039ffb
mov r14, qword [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x7f], 0
jns 0x14003a01b
mov rcx, qword [rsp + 0x68]
call fcn.140095f38
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14003a08d
mov rcx, rbx
call fcn.1400b4b28
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.140071f60
cmp byte [rsi + 0x17], 0
js 0x14003a083
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140095f84
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400975f0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.140095f38
jmp 0x14003a046
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400cb250
int3
Function at 0x14003a630
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401518f0]
test rdi, rdi
jne 0x14003a6e3
mov ecx, 0x50
call fcn.140095ee8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140095ee8
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14003a705
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 [0x1401518f0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003a731
mov rcx, rax
call fcn.1400b4b28
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14003a760
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400975f0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400cb250
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400cb250
int3
Function at 0x14003a760
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140033c50
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14003a8f4
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x14011e908]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14003a92b
lea rdx, [0x14011e958]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003a919
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x14015e008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14003a921
test r12d, r12d
js 0x14003a996
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140095ee8
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14003a93e
mov rdx, qword [r14 + r15]
call fcn.1400d5600
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14003a862
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14003a360
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14003a8b6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14003a8f4
cmp r15, rbx
je 0x14003a8ec
add r15, 0xffffffffffffffe8
jmp 0x14003a8da
mov rcx, qword [r15]
call fcn.140095f38
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14003a8ec
test r15, r15
je 0x14003a96a
cmp byte [r15 + 0x17], 0
jns 0x14003a8ce
jmp 0x14003a8c6
mov rcx, rbx
call fcn.140095f38
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400975f0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14003a814
xor r15d, r15d
xor ebx, ebx
jmp 0x14003a88f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14003a811
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400cb250
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.1400cb250
lea rcx, [rsp + 0x30]
call fcn.1400cb1c0
int3
Function at 0x1400436f0
Capabilities:
Create thread

Disassembly:
jmp 0x1400436f0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.140095ee8
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x140134ec8]
je 0x1400437be
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x140043bc0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400437d3
test r14, r14
je 0x1400437c8
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400975f0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.140067610
jmp 0x140043755
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140043798
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1400437ec
mov ebp, eax
cmp eax, 0x5af
je 0x1400437ec
cmp ebp, 0xe
jne 0x140043817
mov rcx, rbx
call fcn.1400cbb30
test rsi, rsi
je 0x140043798
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x140134ec8]
jne 0x14004380d
call fcn.140067760
mov rcx, rsi
call fcn.140095f38
jmp 0x140043798
mov eax, dword [0x140151ac8]
mov ecx, dword [0x140143db8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004389a
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140036870
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x140043857
and r8d, 0x7f
jmp 0x140043861
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.14005d7c0
mov rcx, qword [0x140151ac0]
mov rdx, r14
call fcn.140049af0
cmp byte [rsp + 0x4f], 0
jns 0x1400437f4
mov rcx, qword [rsp + 0x38]
call fcn.140095f38
jmp 0x1400437f4
lea rcx, [0x140151ac8]
call fcn.140096060
cmp dword [0x140151ac8], 0xffffffff
jne 0x140043838
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140049ad0
mov qword [0x140151ac0], rax
lea rcx, [0x140151ac8]
call fcn.1400960f8
jmp 0x140043838
Function at 0x1400440e0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1401164f8]
mov qword [rcx], rax
add rcx, 8
call fcn.14006df80
lea rcx, [rsi + 0x10]
call fcn.14006df80
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14006df80
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x140121e1c]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140050800
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.1400189d0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x140121e20], edx
je 0x1400442db
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.1400883f0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400442ff
call fcn.140050360
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140050410
mov qword [0x140151e48], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x140121e24], edx
jne 0x140044312
test dword [0x140121e28], edx
jne 0x140044320
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.1400505a0
jmp 0x14004429c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x14015e008]
jmp 0x1400442a9
cmp rax, 0x40
mov eax, 0x100
jmp 0x140044293
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x1400442f4
Function at 0x140045e50
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x140045e80
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x140045eb7
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140078020
lea rax, [rdx - 1]
test rdx, rax
jne 0x140045e8e
mov rdi, rdx
jmp 0x140045e65
mov rcx, rdx
call fcn.14006a6d0
mov rdi, rax
jmp 0x140045e65
mov rcx, rdx
call fcn.14006a6d0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x140045e6e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x140045eaf
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x140045ed9
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140045ede
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400c89f0
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1401198a0]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x140045e9b
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x140045e9b
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x140045ea3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14004a618
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14004a653
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14004a673
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400975f0
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.14004a750
mov sil, 1
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400975f0
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140077f80
test al, al
jne 0x14004a685
xor esi, esi
jmp 0x14004a656
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x266
mov r9d, 2
call fcn.1400ed8b0
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400c9730
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14004a6d5
and r8d, 0x7f
jmp 0x14004a6dc
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14005d7c0
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.140071f60
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14004a70c
and r8d, 0x7f
jmp 0x14004a716
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400c9730
cmp byte [rsp + 0x57], 0
jns 0x14004a732
mov rcx, qword [rsp + 0x40]
call fcn.140095f38
lea rcx, [rsp + 0x58]
call fcn.1400ed930
jmp 0x14004a681
Function at 0x14004a750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov rsi, rcx
mov rax, qword [0x140134038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x14004a778
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004a7a7
mov dil, 1
test al, 0x10
je 0x14004a7bd
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400975f0
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140077f80
test al, al
jne 0x14004a893
xor edi, edi
jmp 0x14004a78a
mov ecx, 2
call fcn.140077f80
test al, al
je 0x14004a7b9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x68]
mov r8d, 0x255
mov r9d, 2
call fcn.140037bd0
lea rcx, [rsp + 0x78]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400c9730
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14004a812
and r8d, 0x7f
jmp 0x14004a819
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14005d7c0
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.140071f60
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14004a849
and r8d, 0x7f
jmp 0x14004a853
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.1400c9730
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1400c9730
cmp byte [rsp + 0x67], 0
jns 0x14004a884
mov rcx, qword [rsp + 0x50]
call fcn.140095f38
lea rcx, [rsp + 0x68]
call fcn.140038100
jmp 0x14004a7b9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x68]
mov r8d, 0x251
mov r9d, 2
call fcn.1400ed8b0
lea rcx, [rsp + 0x78]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400c9730
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14004a8e3
and r8d, 0x7f
jmp 0x14004a8ea
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rsi
call fcn.14005d7c0
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
call fcn.140071f60
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14004a91a
and r8d, 0x7f
jmp 0x14004a924
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.1400c9730
cmp byte [rsp + 0x67], 0
jns 0x14004a940
mov rcx, qword [rsp + 0x50]
call fcn.140095f38
lea rcx, [rsp + 0x68]
call fcn.1400ed930
jmp 0x14004a7b9