joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140310090
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
mov rdi, qword [0x1406bbc20]
xor esi, esi
mov qword [rsp + 0x48], rsi
cmp dword [0x14068c074], esi
jne 0x140310147
mov eax, dword [0x14068c070]
test eax, eax
jne 0x140310147
mov ecx, dword [0x14068c07c]
test ecx, ecx
je 0x1403100f7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov ecx, dword [0x14068c07c]
test eax, eax
jne 0x140310147
test ecx, ecx
jne 0x140310108
call fcn.14018bc50
test eax, eax
je 0x14031011e
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140310147
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x14031013d
cmp ecx, 0x78
je 0x14031013d
cmp ecx, 1
je 0x14031013d
cmp ecx, 0x32
jne 0x1403101b5
mov dword [0x14068c070], 1
test rdi, rdi
jne 0x140310167
lea rcx, [0x14046a240]
call fcn.1403101d0
mov rdi, rax
test rax, rax
je 0x140310174
mov qword [0x1406bbc20], rax
mov rcx, r14
call rdi
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp dword [0x14068c074], 0
je 0x140310186
cmp dword [0x14068c070], 0
jne 0x1403101b5
mov edi, esi
cmp rbx, 0xffffffffffffffff
sete dil
test edi, edi
je 0x14031019c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1403101b5
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140314a40
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ebx, ebx
mov r12, r8
mov r15, rdx
mov qword [rsp + 0x40], rbx
mov rbp, rcx
lea r8, [rsp + 0x40]
xor ecx, ecx
mov esi, ebx
lea edx, [rbx + 1]
mov r14d, ebx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test eax, eax
js 0x140314b50
mov rdx, qword [rsp + 0x40]
lea r8, str.__xml_version_1.0__encoding_utf_8__standalone_yes____r_n_r_n
mov rcx, rbp
call fcn.1403153f0
mov edi, eax
test eax, eax
js 0x140314b50
mov r8, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, r15
call fcn.1403147b0
mov edi, eax
test eax, eax
js 0x140314b50
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
lea r8d, [rbx + 2]
mov edx, ebx
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
test eax, eax
js 0x140314b50
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
call qword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov edi, eax
test eax, eax
js 0x140314b50
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [rsp + 0x50]
mov rdi, rax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rsi, rax
test rax, rax
je 0x140314b3b
mov r8d, dword [rsp + 0x50]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rsp + 0x50]
mov edi, ebx
jmp 0x140314b40
mov edi, 0x8007000e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140314b60
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
js 0x140314c41
test rsi, rsi
je 0x140314c3a
test r14d, r14d
je 0x140314c3a
mov r8d, 0x104
mov word [rsp + 0x60], bx
lea rdx, [rsp + 0x60]
mov rcx, r12
call sym.ErrorReportClient.exe_SfGetPathNameFromFilePath
xor edx, edx
lea rcx, [rsp + 0x60]
call sym.ErrorReportClient.exe_SfCreateDirectory
test eax, eax
jne 0x140314bb7
mov rcx, rsi
mov ebx, 0x80004005
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
jmp 0x140314c43
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140314c28
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
mov r8d, r14d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, 0x80004005
mov rcx, rbp
test eax, eax
cmove edi, ebx
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
jmp 0x140314c43
mov rcx, rsi
mov ebx, 0x8004e006
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
jmp 0x140314c43
mov eax, 0x80004005
jmp 0x140314c43
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140314c70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, rdx
mov qword [rsp + 0x30], 0
mov rdi, r9
mov dword [rsp + 0x28], 0x80
mov rbp, r8
mov dword [rsp + 0x20], 3
mov r14, rcx
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140314cde
mov eax, 0x8004e007
jmp 0x140314dd6
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x140314d03
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
jmp 0x140314dd6
mov eax, dword [rsp + 0x6c]
mov qword [rsp + 0xc0], rsi
test eax, eax
je 0x140314dbe
cmp dword [rsp + 0x68], 0
jne 0x140314dbe
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x140314d50
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x8007000e
jmp 0x140314dce
mov r8d, dword [rsp + 0x6c]
lea r9, [rsp + 0x40]
mov rdx, rsi
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
call sym.ErrorReportClient.exe_SfReadFile
test eax, eax
je 0x140314d93
mov r8d, dword [rsp + 0x40]
mov r9, rbp
mov rdx, rsi
mov qword [rsp + 0x20], rdi
mov rcx, r14
call fcn.140314e00
mov edi, eax
jmp 0x140314d98
mov edi, 0x8004e008
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140314dc3
mov edi, 0x8004e00b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r14
pop rdi
pop rbp
ret
Function at 0x14031c010
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x20], rbx
mov r14, qword [0x1406bbca0]
mov qword [rsp + 0x40], rdi
cmp dword [0x14068c074], ebx
jne 0x14031c0e2
mov eax, dword [0x14068c070]
test eax, eax
jne 0x14031c0e2
mov ecx, dword [0x14068c07c]
test ecx, ecx
je 0x14031c07a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov ecx, dword [0x14068c07c]
test eax, eax
jne 0x14031c0e2
test ecx, ecx
jne 0x14031c08b
call fcn.14018bc50
test eax, eax
je 0x14031c0a1
lea rdx, [rsp + 0x40]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14031c0e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x14031c0d8
cmp ecx, 0x78
je 0x14031c0d8
cmp ecx, 1
je 0x14031c0d8
cmp ecx, 0x32
je 0x14031c0d8
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov dword [0x14068c070], 1
test r14, r14
jne 0x14031c0ff
lea rcx, str.CreatePropertySheetPageW
call fcn.1403101d0
test rax, rax
je 0x14031c130
mov qword [0x1406bbca0], rax
mov eax, dword [rsi + 4]
bt eax, 0xe
jb 0x14031c11f
cmp dword [rsi], 0x60
jb 0x14031c11f
bts eax, 0xe
mov dword [rsi + 4], eax
mov rax, qword [section..data]
mov qword [rsi + 0x58], rax
mov rcx, rsi
call qword [0x1406bbca0]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp dword [0x14068c074], 0
je 0x14031c142
cmp dword [0x14068c070], 0
jne 0x14031c170
mov esi, edi
test rbx, rbx
sete sil
test esi, esi
je 0x14031c157
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x14031c170
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x14031c0c2
Function at 0x14031e990
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x70
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
test rdx, rdx
je 0x14031eb3b
cmp qword [rdx + 0x10], 0
je 0x14031eb3b
mov qword [r11 + 0x20], rbp
xor r9d, r9d
mov qword [r11 - 0x10], rdi
xor r8d, r8d
mov qword [r11 - 0x18], r14
mov edx, 0x40000000
xor r14d, r14d
mov qword [r11 - 0x48], r14
mov edi, r14d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14031eaff
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x40]
mov eax, 0x4d42
mov qword [rsp + 0x20], r14
mov word [rsp + 0x48], ax
lea r8d, [r14 + 0xe]
mov ecx, dword [rdx + 0x14]
mov eax, dword [rdx]
add eax, 0xe
mov dword [rsp + 0x4e], r14d
add ecx, eax
mov dword [rsp + 0x4a], ecx
mov rcx, rbp
mov eax, dword [rdx]
lea rdx, [rsp + 0x48]
add eax, 0xe
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x52], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14031ea6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14031ea66
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x14031eaf4
mov rdx, qword [rsi + 0x10]
lea r9, [rsp + 0x40]
mov rcx, rbp
mov qword [rsp + 0x20], r14
mov r8d, dword [rdx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14031eaa1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14031eaa1
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x14031eaf4
mov qword [rsp + 0x90], rbx
mov rcx, rsi
mov rbx, qword [rsi + 0x10]
call fcn.1403201b0
mov r8d, dword [rbx + 0x14]
lea r9, [rsp + 0x40]
mov rdx, rax
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x90]
test eax, eax
jne 0x14031eaf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14031eaf4
movzx edi, ax
or edi, 0x80070000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14031eb14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14031eb14
movzx edi, ax
or edi, 0x80070000
mov r14, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x70
pop rsi
ret
mov eax, 0x80070057
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x70
pop rsi
ret
Function at 0x140334940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x880
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x870], rax
lea rax, [rcx + 0x380]
xor r15d, r15d
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp r15w, word [rax]
jne 0x140334984
mov eax, 0x8004e001
jmp 0x140334b58
mov ebx, r15d
mov qword [rsp + 0x248], r15
mov word [rsp + 0x40], r15w
cmp r15w, word [rdx]
je 0x140334a79
mov qword [rsp + 0x28], r14
lea r9, [0x140450dc0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x208
lea rcx, [rsp + 0x460]
call sym.ErrorReportClient.exe_SfCchPrintF
xor edx, edx
lea rcx, [rsp + 0x460]
call sym.ErrorReportClient.exe_SfDoesFileExist
test eax, eax
je 0x1403349ec
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x40]
call fcn.14035c3f0
jmp 0x140334a18
lea rcx, [rsp + 0x460]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140334a24
and eax, 0x10
test al, al
je 0x140334a24
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x40]
call fcn.14035c460
mov ebx, eax
test eax, eax
js 0x140334b4c
jmp 0x140334a82
test rsi, rsi
je 0x140334a6f
lea r9, str.Specified_skin_file_or_folder_is_invalid
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0x250]
call sym.ErrorReportClient.exe_SfCchPrintF
mov rax, qword [rsi]
lea r9, [rsp + 0x250]
xor r8d, r8d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r15d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
lea edx, [r8 + 1]
call qword [rax + 0x20]
mov ebx, 0x8004e001
jmp 0x140334b4c
mov word [rsp + 0x460], r15w
lea rcx, [rdi + 0x18]
mov qword [rsp + 0x8c8], rbp
call fcn.1403594c0
mov rcx, qword [rdi + 0xb8]
call fcn.14037c280
mov rcx, qword [rdi + 0xe0]
call fcn.14037e0c0
mov rcx, qword [rdi + 0xd0]
add rcx, 8
call fcn.140351440
mov rdx, r14
lea rcx, [rdi + 0x7a8]
call fcn.1402d6720
cmp qword [rsp + 0x248], r15
jne 0x140334adc
cmp r15w, word [rsp + 0x40]
je 0x140334b31
lea rcx, [rsp + 0x250]
call fcn.14035cec0
mov r8, qword [rdi + 0x590]
lea rdx, [rdi + 8]
test rdi, rdi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
cmove rdx, r15
lea rcx, [rsp + 0x250]
call fcn.14035cfa0
mov ebx, eax
test eax, eax
jns 0x140334b24
lea rcx, [rdi + 0x7a8]
call fcn.1402d6370
lea rcx, [rsp + 0x250]
call fcn.14035cf30
mov edx, 0xffffffff
mov r8d, 1
mov rcx, rdi
call fcn.14033d050
mov rbp, qword [rsp + 0x8c8]
lea rcx, [rsp + 0x40]
call fcn.14035ca60
mov eax, ebx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14035c6e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x488
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor ebx, ebx
mov r15, r8
mov qword [rdx], rbx
mov rdi, r9
mov r14, rdx
mov r8, rcx
mov dword [r15], ebx
mov r10, qword [rcx + 0x208]
test r10, r10
je 0x14035c725
lea ecx, [rbx + 1]
jmp 0x14035c733
cmp bx, word [r8]
mov ecx, ebx
mov eax, 2
cmovne ecx, eax
test ecx, ecx
je 0x14035c745
sub ecx, 1
je 0x14035c8b0
cmp ecx, 1
je 0x14035c74f
mov eax, 0x8004e01b
jmp 0x14035c88b
mov edx, 0x208
mov qword [rsp + 0x480], rbp
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x208
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x50]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14035c8a9
xor edx, edx
mov qword [rsp + 0x478], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
je 0x14035c86b
cmp edi, 0x2000000
ja 0x14035c86b
mov edx, edi
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x14035c864
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
mov r8d, edi
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, rbp
call sym.ErrorReportClient.exe_SfReadFile
test eax, eax
je 0x14035c839
mov eax, dword [rsp + 0x40]
cmp eax, edi
jne 0x14035c839
mov qword [r14], rsi
mov dword [r15], eax
jmp 0x14035c870
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, 0x8004e008
jmp 0x14035c870
mov ebx, 0x8007000e
jmp 0x14035c870
mov ebx, 0x8004e00b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x478]
mov eax, ebx
mov rbp, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x488
pop r15
pop r14
pop rdi
pop rbx
ret
mov eax, 0x8004e00e
jmp 0x14035c883
mov r9, r15
mov r8, r14
mov rdx, rdi
mov rcx, r10
call sym.ErrorReportClient.exe_SfZip_ExtractToMemory
test eax, eax
jns 0x14035c88b
mov eax, 0x8004e00e
jmp 0x14035c88b
Function at 0x140384b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
cmp dword [rdx + 8], 0
mov r11, r9
mov r10, rdx
je 0x140384b89
cmp dword [rsp + 0x90], 0
jne 0x140384b78
cmp byte [rsp + 0x88], 0xff
je 0x140384c0e
mov rdx, qword [rsp + 0x70]
mov rcx, qword [r10]
add rsp, 0x48
jmp fcn.1403597d0
cmp r8d, 0xffffffff
je 0x140384bd7
mov eax, dword [rcx + 0x1c]
bt eax, r8d
jae 0x140384bd7
movsxd rax, r8d
mov r8, qword [rsp + 0x70]
mov ecx, dword [rcx + rax*4 + 0x20]
movzx eax, byte [rsp + 0x88]
mov dword [rsp + 0x58], ecx
shr ecx, 0x18
imul eax, ecx
sub eax, 0xffffff80
mov ecx, eax
shr ecx, 8
add ecx, eax
shr ecx, 8
mov byte [rsp + 0x5b], cl
mov edx, dword [rsp + 0x58]
mov rcx, qword [r10]
add rsp, 0x48
jmp fcn.1403599a0
mov eax, dword [rsp + 0x90]
mov rdx, r11
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rcx, qword [r10]
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call fcn.140359ea0
add rsp, 0x48
ret

Function at 0x140387650
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14d, edx
mov r15, rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x20], edi
mov rbx, qword [0x1406bd0e8]
mov qword [rsp + 0x60], rdi
cmp dword [0x14068c074], edi
jne 0x140387720
mov eax, dword [0x14068c070]
test eax, eax
jne 0x140387720
mov edx, dword [0x14068c07c]
test edx, edx
je 0x1403876ba
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov edx, dword [0x14068c07c]
test eax, eax
jne 0x140387720
test edx, edx
jne 0x1403876cb
call fcn.14018bc50
test eax, eax
je 0x1403876e1
lea rdx, [rsp + 0x60]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140387720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x140387716
cmp ecx, 0x78
je 0x140387716
cmp ecx, 1
je 0x140387716
cmp ecx, 0x32
je 0x140387716
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov dword [0x14068c070], 1
test rbx, rbx
jne 0x140387740
lea rcx, str.ImageList_Remove
call fcn.140199e30
mov rbx, rax
test rax, rax
je 0x14038774e
mov qword [0x1406bd0e8], rax
mov edx, r14d
mov rcx, r15
call rbx
mov esi, eax
mov dword [rsp + 0x20], eax
cmp dword [0x14068c074], 0
je 0x140387760
cmp dword [0x14068c070], 0
jne 0x14038778c
mov ebx, edi
test esi, esi
sete bl
test ebx, ebx
je 0x140387773
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14038778c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x140387702
Function at 0x14038c040
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x4f0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rax, r8
lea r14, [r8 + 0x28]
mov rdi, rdx
mov rbx, rcx
xor r9d, r9d
lea rcx, [rsp + 0x50]
mov r8, r14
mov rdx, qword [rax + 0x20]
call fcn.140353150
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x50]
xor r9d, r9d
mov rdx, rdi
call fcn.140338ea0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea rcx, [rsp + 0x40]
mov ebp, eax
call fcn.1402d5f10
cmp ebp, 0x208
jge 0x14038c0d1
lea r8d, [rbp + 1]
mov rcx, rdi
lea rdx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rsi, [rsp + 0xd0]
jmp 0x14038c101
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.1402d7a30
mov rdx, rax
lea r8d, [rbp + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.1402d7b00
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14038c114
mov r8d, dword [rbx + 0x10]
jmp 0x14038c118
mov r8d, dword [rbx + 0x14]
mov rcx, qword [rbx + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r9, rsi
mov qword [rsp + 0x20], r14
call fcn.140337f30
lea rcx, [rsp + 0x40]
call fcn.1402d84a0
lea rcx, [rsp + 0x50]
call fcn.1403533a0
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x4f0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140395100
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test r8, r8
je 0x140395124
mov qword [r8], 0
cmp qword [rcx], 0
je 0x14039513f
mov eax, 0x800401f1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8, rbp
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rdi + 8], rax
test rax, rax
je 0x1403951e8
xor r9d, r9d
mov qword [rsp + 0x20], 8
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi], rax
test rax, rax
je 0x1403951e8
mov ecx, dword [rax + 4]
and ecx, 0xffff0000
cmp ecx, 0x10000
je 0x14039519b
mov ebx, 0x80070666
jmp 0x1403951fd
mov ebx, dword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi], rax
test rax, rax
je 0x1403951e8
lea rcx, [rdi + 0x18]
mov r8, rbp
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
test rsi, rsi
je 0x1403951e4
mov rax, qword [rdi]
mov qword [rsi], rax
xor eax, eax
jmp 0x140395216
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1403951fd
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14039520c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret