joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14021752e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ecx
lea rcx, str.Microsoft.MiniDumpWriteDumpMilestone
mov r8d, 8
jmp fcn.14014a1d0

Function at 0x14021755e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ecx
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov r8d, 0xf
jmp fcn.14014a1d0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x140218628
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140218651
mov edi, eax
test bl, bl
jne 0x140218646
mov eax, edi
and eax, 0x400
jne 0x14021870f
and edi, 0x10
shr edi, 4
jmp 0x140218711
cmp dword [0x140352b00], 2
jg 0x14021870f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x82
mov r9d, 2
call fcn.14020a880
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14015f6d6
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.1400673e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1402186e5
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x1402186e9
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.14015f6d6
cmp byte [rsp + 0x57], 0
jns 0x140218705
mov rcx, qword [rsp + 0x40]
call fcn.14016eccc
lea rcx, [rsp + 0x58]
call fcn.14020a900
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140171860
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14021872e
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x140218759
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x140218785
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140171860
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x14021879a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14021886e
cmp dword [0x140352b00], 2
jg 0x140218867
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x62
mov r9d, 2
call fcn.14020a880
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14015f6d6
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.1400673e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140218837
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
jmp 0x14021883b
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.14015f6d6
cmp byte [rsp + 0x1a7], 0
jns 0x14021885d
mov rcx, qword [rsp + 0x190]
call fcn.14016eccc
lea rcx, [rsp + 0x40]
call fcn.14020a900
xor edi, edi
jmp 0x140218768
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1402185fe
test al, al
jne 0x140218768
cmp dword [0x140352b00], 2
jg 0x140218867
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5d
mov r9d, 2
call fcn.1400d3710
lea rdi, [rsp + 0x50]
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x180]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.1400673e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140218900
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
jmp 0x140218904
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.14015f6d6
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.14015f6d6
cmp byte [rsp + 0x1a7], 0
jns 0x14021893b
mov rcx, qword [rsp + 0x190]
call fcn.14016eccc
lea rcx, [rsp + 0x40]
call fcn.140169410
jmp 0x140218867
Function at 0x14021894a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140218971
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402189a1
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
cmp dword [0x140352b00], 2
jg 0x140218a5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x75
mov r9d, 2
call fcn.14020a880
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14015f6d6
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400673e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140218a35
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x140218a39
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.14015f6d6
cmp byte [rsp + 0x4f], 0
jns 0x140218a55
mov rcx, qword [rsp + 0x38]
call fcn.14016eccc
lea rcx, [rsp + 0x50]
call fcn.14020a900
xor esi, esi
jmp 0x140218985
Function at 0x14021b3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov rcx, qword [rcx + 8]
movsxd r8, dword [rcx + 0x3c]
cmp dword [rcx + r8 + 0x84], 0
je 0x14021b51d
add r8, rcx
xor eax, eax
cmp word [r8 + 0x14], 0x78
jb 0x14021b516
add r8, 0x88
je 0x14021b516
mov r8d, dword [r8]
test r8, r8
je 0x14021b51d
add r8, rcx
je 0x14021b51d
cmp rdx, 0xffff
jbe 0x14021b521
mov eax, dword [r8 + 0x18]
mov r10d, dword [r8 + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
test rax, rax
je 0x14021b51d
lea r10, [r9 + rax*4]
mov r11b, byte [rdx]
inc rdx
xor eax, eax
mov rsi, r9
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
test r11b, r11b
je 0x14021b4ad
mov r14, rdx
mov ebp, r11d
cmp bpl, byte [rbx]
jne 0x14021b4af
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x14021b49a
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebx, byte [rbx]
cmp bpl, bl
je 0x14021b4d6
movzx ebp, bpl
sub ebp, ebx
cmovs r10, rdi
add rdi, 4
test ebp, ebp
cmovg rsi, rdi
cmp rsi, r10
jne 0x14021b468
jmp 0x14021b516
mov r10d, dword [r8 + 0x10]
mov eax, dword [r8 + 0x24]
lea rdx, [rcx + rax]
test rax, rax
cmove rdx, rax
sub rdi, r9
sar rdi, 1
movzx edx, word [rdx + rdi]
add dx, r10w
mov eax, dword [r8 + 0x1c]
add rcx, rax
test rax, rax
cmove rcx, rax
movzx eax, dx
lea rax, [rcx + rax*4]
mov ecx, r10d
shl rcx, 2
sub rax, rcx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x14021b516
mov r10d, dword [r8 + 0x10]
jmp 0x14021b4f7

Function at 0x140225860
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x14022589f
test r15, r15
je 0x140225995
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1402258e9
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.1401730b0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x14022587d
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x14022598d
lea rcx, [r12*8]
call fcn.14016ecd4
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14022595d
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x140225992
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x140225945
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x14022587d
mov rcx, r14
call fcn.14016eccc
mov r15, qword [rsi + 0x10]
jmp 0x14022587d
call fcn.1401c93df
int3
int3
Function at 0x1402259a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1402259e2
mov r14, rbx
add r14, 0xfffffffffffffff8
je 0x140225ae1
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x140225a34
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r14, [r15 + r12*8]
sub r15, rbx
je 0x140225a26
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401730b0
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r14
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x1402259bf
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x140225ad9
lea rcx, [r12*8]
call fcn.14016ecd4
lea r14, [r12 + r12]
add r14, 6
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x140225aac
mov rdx, r15
sar rdx, 3
and r15, 0xfffffffffffffff8
mov rcx, r15
add rcx, r14
shl rdx, 3
xor r8d, r8d
mov r9, r14
add r9, r8
je 0x140225ade
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x140225a94
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
test rbx, rbx
je 0x1402259bf
mov rcx, rbx
call fcn.14016eccc
mov r14, qword [rsi + 8]
jmp 0x1402259bf
call fcn.1401c93df
int3
int3

Function at 0x1402263c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x140226408
mov r14, rcx
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
je 0x140226408
mov rsi, r9
mov rdi, r8
mov rbx, rdx
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
je 0x14022641f
cmp ecx, 0x10b
jne 0x140226432
lea rdx, [rax + 0x74]
lea rcx, [rax + 0x78]
jmp 0x14022642d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rax + 0x84]
lea rcx, [rax + 0x88]
cmp dword [rdx], 7
jae 0x140226443
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rcx + 0x30]
test rdx, rdx
je 0x140226432
mov ecx, dword [rcx + 0x34]
cmp ecx, 0x1c
jb 0x140226432
mov ebp, dword [rax + 0x50]
shr ecx, 2
imul r15, rcx, 0x24924925
shr r15, 0x20
lea r12, [rdx + r14]
add r12, 0x14
xor r13d, r13d
cmp dword [r12 - 8], 0xd
jne 0x14022648c
mov ecx, dword [r12]
test rcx, rcx
je 0x14022648c
mov edx, dword [r12 - 4]
lea eax, [rdx + rcx]
cmp eax, ebp
jb 0x14022649a
inc r13d
cmp r13d, r15d
je 0x140226432
add r12, 0x1c
jmp 0x14022646f
add rcx, r14
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov r9, rdi
call fcn.1402261c0
test eax, eax
je 0x14022648c
jmp 0x140226432

Function at 0x140228990
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14022f190
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.140173760
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x14022f1d2
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x14022f1c6
Function at 0x14022fb56
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 [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14035ad40]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14022fdd3
mov rax, qword [0x14035ad38]
test rax, rax
jne 0x14022fc74
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x140301d60]
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]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.14022fe1a
test al, al
jne 0x14022fd0c
cmp dword [0x140352b00], 2
jg 0x14022fc55
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.1400d3710
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.14015f6d6
mov rcx, rsi
call fcn.140169410
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [case.0x140211850.0]
test eax, eax
jne 0x14022fce9
cmp dword [0x140352b00], 2
jg 0x14022fbb1
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, 0x4b
mov r9d, 2
call fcn.14020a880
lea rcx, [rsp + 0x40]
lea rdx, [0x140311b3b]
mov r8d, 0xe
call fcn.14015f6d6
mov rcx, rbx
call fcn.14020a900
jmp 0x14022fbb1
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x14022fbb8
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x14022fbed
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
jne 0x14022fd26
call fcn.140230698
jmp 0x14022fd2b
call fcn.140230057
test al, al
jne 0x14022fd73
cmp dword [0x140352b00], 2
jg 0x14022fc55
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.1400d3710
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x14022fc48
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.14022f279
mov sil, 1
test al, al
jne 0x14022fc57
cmp dword [0x140352b00], 2
jg 0x14022fc55
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.1400d3710
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x14022fc48
lea rcx, [0x14035ad40]
call fcn.14016f8b4
cmp dword [0x14035ad40], 0xffffffff
jne 0x14022fba1
lea rcx, [0x140302266]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140108be3
mov qword [0x14035ad38], rax
lea rcx, [0x14035ad40]
call fcn.14016ef8c
jmp 0x14022fba1
Function at 0x140237f79
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test r8, r8
je 0x140237fb8
mov rsi, r8
test rcx, rcx
je 0x140237fba
mov rdi, rdx
mov rdx, rsi
call fcn.14011562e
cmp eax, 1
jne 0x140237fba
test rdi, rdi
je 0x140237fc4
mov rcx, rdi
mov rdx, rsi
mov r8d, 0xffffffff
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140092407
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14010d3e0

Function at 0x140240700
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x14024073a
test rax, rax
je 0x1402407e0
mov rcx, qword [rbx]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rax, qword [rsi]
mov rdi, rax
sar rdi, 3
lea rcx, [rdi + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x14024080c
movabs rdx, 0x1fffffffffffffff
mov r14, rax
sar r14, 2
cmp r14, rcx
cmovbe r14, rcx
movabs rcx, 0x7ffffffffffffff8
cmp rax, rcx
cmovae r14, rdx
test r14, r14
jne 0x1402407d6
xor eax, eax
shl rdi, 3
add rdi, rax
je 0x1402407e0
lea r14, [rax + r14*8]
mov rax, qword [rbx]
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub rdi, r8
mov rcx, rdi
call fcn.1401730b0
mov rcx, qword [rsi]
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r14
test rcx, rcx
je 0x140240730
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401b5550
mov rcx, r14
call fcn.140240bc0
jmp 0x140240785
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1401c469a
call fcn.14016fee0
int3
Function at 0x14024919e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov ebx, 1
cmp rdi, r12
je 0x140249232
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.1402170f6
test al, al
jne 0x1402491fa
add rdi, 0x70
cmp rdi, r12
jne 0x1402491df
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x140249232
cmp byte [rdi + 0x27], 0
jns 0x14024920c
mov rcx, qword [rdi + 0x10]
jmp 0x140249210
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x140249232
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov esi, 1
cmp r14, r12
je 0x14024949e
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.1402170f6
test al, al
jne 0x140249476
add r14, 0x70
cmp r14, r12
jne 0x14024945b
mov r14, r12
cmp r14, qword [rbx + 0x58]
je 0x14024949e
mov eax, dword [r14 + 0x68]
cmp eax, ebp
jne 0x140249491
cmp byte [r14 + 0x27], 0
jns 0x1402494bc
mov rcx, qword [r14 + 0x10]
jmp 0x1402494c0
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140171860
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14024949e
shr eax, 3
and eax, 2
mov esi, eax
jne 0x14024949e
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x14024949e

Function at 0x14024cae8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx edx, dl
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea r8, [0x1400ab550]
cmp rax, r8
jne 0x14014a275
mov rcx, qword [rcx + 0x18]
mov r8d, 1
jmp fcn.1400a0920
mov r8, qword [case.0x140211850.0]
jmp r8
push rbx
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x14035bf80]
test rcx, rcx
jne 0x14024cb16
lea rcx, str.Crashpad.CrashUpload.AttemptSuccessful
mov edx, 1
call fcn.140135590
mov rcx, rax
mov qword [0x14035bf80], rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp 0x14014a250
Function at 0x14024e870
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x14035bff8]
test rax, rax
je 0x14024e96c
cmp eax, 2
jne 0x14024e8f1
cmp dword [0x140352b00], 2
jg 0x14024e950
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x92
mov r9d, 2
call fcn.1400d3710
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch
mov r8d, 0x1d
call fcn.14015f6d6
mov rcx, rsi
call fcn.140169410
jmp 0x14024e950
mov eax, 1
lock xadd qword [0x14035c030], rax
test rax, rax
jle 0x14024e911
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x14035bfb0], eax
mov qword [0x14035bfa8], rsi
mov rcx, qword [0x14034ec40]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140171860
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x14035bff8]
test rax, rax
je 0x14024e973
jmp 0x14024e89e