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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x14019e24a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.1401b8050
test al, al
jne 0x14019e246
add rbx, 0x70
cmp rbx, r15
jne 0x14019e22e
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x14019e29d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x14019e28e
cmp byte [rbx + 0x27], 0
jns 0x14019e268
mov rcx, qword [rbx + 0x10]
jmp 0x14019e26c
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14019e29d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x14019e29d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x14019e29d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012c2d0
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401a3860
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x140249940]
test rax, rax
jne 0x1401a38a4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140249940]
test rax, rax
je 0x1401a3891
cmp eax, 2
jne 0x1401a38ed
cmp dword [0x140243868], 2
jg 0x1401a3984
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1401a3977
mov eax, 1
lock xadd qword [0x140249978], rax
inc rax
cmp rax, 2
jl 0x1401a3911
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140249900], eax
mov qword [0x1402498f8], rsi
mov rcx, qword [0x14023f7a8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140243868], 2
jg 0x1401a3984
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.14010a450
mov rcx, rsi
call fcn.140013c40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012c2d0
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x1401b5430
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call fcn.14005b1b0
test rax, rax
jne 0x1401b546e
mov rcx, rdi
call fcn.140054f00
test al, al
je 0x1401b546e
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140056570
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b77fa
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b7819
mov edi, eax
shr eax, 0xa
xor bl, 1
test al, bl
jne 0x1401b787a
and edi, 0x10
shr edi, 4
jmp 0x1401b787c
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401b787a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.140186d10
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14010a450
mov rcx, rax
mov rdx, rsi
call fcn.140187bc0
mov rcx, rdi
call fcn.140186d80
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14012c2d0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401b78a0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b78cb
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401b7952
test bl, bl
je 0x1401b78ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401b796f
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401b7950
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.140186d10
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14010a450
mov rcx, rax
mov rdx, rsi
call fcn.140187bc0
mov rcx, rdi
call fcn.140186d80
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14012c2d0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1401b77d0
test al, al
jne 0x1401b7952
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401b7950
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.140022c50
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140187bc0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.14010a450
mov rcx, rdi
call fcn.140013c40
jmp 0x1401b7950
Function at 0x1401b79e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1401b7a07
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b7a37
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14012c2d0
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401b7a98
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.140186d10
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14010a450
mov rcx, rax
mov rdx, rsi
call fcn.140187bc0
mov rcx, rdi
call fcn.140186d80
xor esi, esi
jmp 0x1401b7a1b
Function at 0x1401bf2d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14024a480]
mov ecx, dword [0x1402403d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401bf551
mov rax, qword [0x14024a478]
test rax, rax
je 0x1401bf3bb
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x140223bc8]
test eax, eax
je 0x1401bf365
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1401bf3c2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1401bf3f3
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401bf3bb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4d
mov r9d, 2
call fcn.140186d10
lea rcx, [rsp + 0x40]
lea rdx, [0x14021752c]
mov r8d, 0xe
call fcn.14010a450
mov rcx, rbx
call fcn.140186d80
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1401fd0c0]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
mov dl, byte [rsi + 0x81]
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
and dl, 1
mov rcx, rdi
mov r8, rsi
call fcn.1401bf5a0
test al, al
jne 0x1401bf47e
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401bf45f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x221
mov r9d, 2
call fcn.140022c50
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.14010a450
mov rcx, rsi
call fcn.140013c40
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012c2d0
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0x80], 1
jne 0x1401bf498
mov rcx, rdi
mov r8, rsi
call fcn.1401bf7e0
jmp 0x1401bf4a3
mov rcx, rdi
mov r8, rsi
call fcn.1401bfe60
test al, al
jne 0x1401bf4ec
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401bf45f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22a
mov r9d, 2
call fcn.140022c50
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1401bf452
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1401be890
mov sil, 1
test al, al
jne 0x1401bf461
mov ecx, 2
call fcn.140127c10
test al, al
je 0x1401bf45f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22f
mov r9d, 2
call fcn.140022c50
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1401bf452
lea rcx, [0x14024a480]
call fcn.1401299b4
cmp dword [0x14024a480], 0xffffffff
jne 0x1401bf31b
lea rcx, [0x1402056ba]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140096d30
mov qword [0x14024a478], rax
lea rcx, [0x14024a480]
call fcn.140129a1c
jmp 0x1401bf31b
Function at 0x1401caa50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
sets al
test rdx, rdx
sete cl
or cl, al
je 0x1401caa6c
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call 0x1401caab0
test edi, edi
je 0x1401caa65
cmp byte [rsi + rdi - 1], 0xa
je 0x1401caa65
lea rcx, [0x140202947]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401caab0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1401cab27
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x1401cab27
add rdi, rax
test ecx, ecx
jne 0x1401caaed
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012c2d0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401caab0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
sets al
test rdx, rdx
sete cl
or cl, al
je 0x1401caa6c
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call 0x1401caab0
test edi, edi
je 0x1401caa65
cmp byte [rsi + rdi - 1], 0xa
je 0x1401caa65
lea rcx, [0x140202947]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401caab0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1401cab27
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x1401cab27
add rdi, rax
test ecx, ecx
jne 0x1401caaed
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012c2d0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401cea60
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x1401ceac0
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012c2d0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401e2730
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x1401fd0c0]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401685e0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1401eb700
test al, al
je 0x1401e2847
movzx eax, word [rsp + 0x150]
cmp eax, 0x5a4d
jne 0x1401e2801
mov rcx, r14
call fcn.1401685e0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1401eb700
test al, al
je 0x1401e28d3
cmp dword [rbx], 0x4550
jne 0x1401e2912
mov sil, 1
test rdi, rdi
je 0x1401e28b2
mov qword [rdi], r14
jmp 0x1401e28b2
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e28b0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401e2887
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e28b0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.14010a450
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1401e289d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14010a450
mov rcx, rdi
call fcn.140013c40
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012c2d0
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e28b0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401e2881
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e28b0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401e2887
Function at 0x1401e2960
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x1401fd0c0]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401685e0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1401eb700
test al, al
je 0x1401e2a77
movzx eax, word [rsp + 0x150]
cmp eax, 0x5a4d
jne 0x1401e2a31
mov rcx, r14
call fcn.1401685e0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1401eb700
test al, al
je 0x1401e2b03
cmp dword [rbx], 0x4550
jne 0x1401e2b42
mov sil, 1
test rdi, rdi
je 0x1401e2ae2
mov qword [rdi], r14
jmp 0x1401e2ae2
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e2ae0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401e2ab7
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e2ae0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.14010a450
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1401e2acd
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14010a450
mov rcx, rdi
call fcn.140013c40
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012c2d0
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e2ae0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401e2ab1
mov ecx, 1
call fcn.140127c10
test al, al
je 0x1401e2ae0
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140022c50
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401e2ab7
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140005bf0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140005c00]
mov dword [rax], 1
mov rax, qword [0x140005c10]
mov dword [rax], 1
mov rax, qword [0x140005b90]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140005be0]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140005cc0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140005ca0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140005b40]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001600
Capabilities:
Hash data with crc32

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x10], 0
mov dword [rbp - 4], 0xffffefff
mov dword [rbp - 8], 0
jmp 0x14000166e
mov eax, dword [rbp - 8]
cdqe
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movsx eax, al
xor dword [rbp - 4], eax
mov dword [rbp - 0xc], 0
jmp 0x140001664
mov eax, dword [rbp - 4]
and eax, 1
neg eax
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 4]
shr eax, 1
mov edx, eax
mov eax, dword [rbp - 0x10]
and eax, 0xedb88320
xor eax, edx
mov dword [rbp - 4], eax
add dword [rbp - 0xc], 1
cmp dword [rbp - 0xc], 7
jle 0x140001641
add dword [rbp - 8], 1
mov eax, dword [rbp - 8]
cdqe
mov rdx, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
test al, al
jne 0x140001623
mov eax, dword [rbp - 4]
not eax
add rsp, 0x10
pop rbp
ret
Function at 0x140001f90
Capabilities:
Decode data using base64 via winapi

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.strlen
mov dword [rbp - 4], eax
mov dword [rbp - 0x14], 0
mov edx, dword [rbp - 4]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rbp - 0x14]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov r8d, 1
mov rcx, rax
mov rax, qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call rax
test eax, eax
jne 0x140001ffb
mov eax, 0
jmp 0x14000206b
mov eax, dword [rbp - 0x14]
mov eax, eax
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x10], rax
mov r8, qword [rbp - 0x10]
mov edx, dword [rbp - 4]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rbp - 0x14]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 1
mov rcx, rax
mov rax, qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call rax
test eax, eax
jne 0x14000205e
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.free
mov eax, 0
jmp 0x14000206b
mov edx, dword [rbp - 0x14]
mov rax, qword [rbp + 0x18]
mov dword [rax], edx
mov rax, qword [rbp - 0x10]
add rsp, 0x60
pop rbp
ret
Function at 0x140002071
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
mov dword [rbp - 0x1c], 0
mov dword [rbp - 0x20], 0
mov qword [rbp - 8], 0
lea rax, [rbp - 0x10]
mov r9d, 0
mov r8d, 0
lea rdx, [0x140005330]
mov rcx, rax
call sym.BCryptOpenAlgorithmProvider
test eax, eax
jne 0x14000221b
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, str.ChainingModeCBC
lea rdx, str.ChainingMode
mov rcx, rax
call sym.BCryptSetProperty
test eax, eax
jne 0x14000221e
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x18]
mov dword [rsp + 0x30], 0
mov edx, dword [rbp + 0x28]
mov dword [rsp + 0x28], edx
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov rdx, rax
call sym.BCryptGenerateSymmetricKey
test eax, eax
jne 0x140002221
mov rax, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x48], 1
lea rcx, [rbp - 0x1c]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov ecx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov rcx, rax
call sym.BCryptDecrypt
test eax, eax
jne 0x140002224
mov eax, dword [rbp - 0x1c]
mov eax, eax
mov rcx, rax
call sym.malloc
mov qword [rbp - 8], rax
mov r8d, dword [rbp - 0x1c]
mov rax, qword [rbp - 0x18]
mov r10d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x48], 1
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r8d
mov rcx, qword [rbp - 8]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov r8d, r10d
mov rcx, rax
call sym.BCryptDecrypt
test eax, eax
je 0x140002210
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov qword [rbp - 8], 0
jmp 0x140002225
mov edx, dword [rbp - 0x20]
mov rax, qword [rbp + 0x40]
mov dword [rax], edx
jmp 0x140002225
nop
jmp 0x140002225
nop
jmp 0x140002225
nop
jmp 0x140002225
nop
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x14000223f
mov rax, qword [rbp - 0x10]
mov edx, 0
mov rcx, rax
call sym.BCryptCloseAlgorithmProvider
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x140002254
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.BCryptDestroyKey
mov rax, qword [rbp - 8]
add rsp, 0x70
pop rbp
ret