joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140103660
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14015feb0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x1cf
call fcn.14008b020
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400913a0
mov al, byte [rsi + 0x17]
test al, al
jns 0x1401036de
cmp qword [rsi + 8], 0x103
ja 0x1401036fc
test al, al
jns 0x1401036e5
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.140091430
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140103720
call fcn.1400b6410
int3
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140103d90
Capabilities:
Access the windows event log
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x858], rax
mov rdx, qword [0x14019b8a0]
test rdx, rdx
setne al
and al, byte [0x14018c140]
cmp al, 1
jne 0x140103f49
cmp byte [rdx + 0x17], 0
jns 0x140103dda
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x140103f6b
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14008b040
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14015feb0]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.140076f60
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140076730
mov eax, dword [rsi + 8]
mov bp, 1
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x140103f95
cmp eax, 1
je 0x140103e6a
test eax, eax
jne 0x140103e6e
mov bp, 4
jmp 0x140103e6e
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x140103e7a
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x14019b8b0]
cmp byte [rcx + 0x17], 0
jns 0x140103e9b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
jne 0x140103ebf
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.140075ae0
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x14019b8ac]
movzx r8d, word [0x14019b8a8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x140103f1a
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.140075ae0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140103f2a
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x140103f3b
mov rcx, qword [rsp + 0x60]
call fcn.1400b5124
call fcn.14008b040
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.14003c9b0
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140103f83
call fcn.1400b6410
int3
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.140075ae0
jmp 0x140103f49
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1400e6f50
mov rcx, r12
call fcn.140049000
mov rcx, r12
mov rdx, r15
call fcn.14010d5a0
movsx r8, byte [rsp + 0x5f]
test r8, r8
jns 0x140103fd5
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140085440
cmp byte [rsp + 0x5f], 0
jns 0x140103e6e
mov rcx, qword [rsp + 0x48]
call fcn.1400b5124
jmp 0x140103e6e
Function at 0x140104030
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14019b8c8], 0
je 0x140104080
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x14018a040]
je 0x140104073
call fcn.1400b6410
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14019b8d0]
test rdi, rdi
jne 0x14010414d
mov ecx, 0x18
call fcn.1400b50e8
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400e6f50
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14015feb0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140084ba0
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x1401040fa
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x140104131
add rax, rax
test rax, rax
je 0x140104131
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x140104102
cmp rdx, 0xfffffffffffffffe
je 0x140104131
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.14007ff70
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140085e00
mov qword [0x14019b8d0], rdi
test byte [0x14018c144], 1
je 0x140104059
cmp byte [rdi + 0x17], 0
jns 0x140104163
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14019b8c8], rax
inc rax
cmp rax, 1
ja 0x140104059
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e6f50
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x14010429f
mov rcx, qword [0x14019b8d0]
lea rdx, [rsp + 0x40]
call fcn.140036350
mov rcx, qword [0x14019b8d0]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x1401042a6
test al, al
je 0x1401042b7
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x140104231
lea rdx, [0x1401647be]
mov r8d, 1
call fcn.140085e00
mov rcx, qword [0x14019b8d0]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140085e00
mov rcx, qword [0x14019b8d0]
cmp byte [rcx + 0x17], 0
jns 0x140104253
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14019b8c8], rax
inc rax
cmp rax, 1
ja 0x140104059
mov qword [0x14019b8c8], 0
xor esi, esi
jmp 0x140104059
mov rax, qword [rcx + 8]
test rax, rax
je 0x1401042b7
mov rdx, qword [rcx]
jmp 0x140104210
ud2
Function at 0x140115e20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140115e7f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x140115e3b
cmp rdx, r9
jb 0x140115e8e
ja 0x140115eb2
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x140115e90
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x140115e86
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x140115eb5
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x140115e86
Function at 0x14011f470
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x140126480
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r12, r8
mov rdi, rdx
mov rsi, rcx
mov r13, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
add rcx, r13
setb dl
movabs rax, 0xfffffffe0
cmp rcx, rax
seta r8b
xor eax, eax
or r8b, dl
jne 0x1401266ff
mov r14, r9
lea rbp, [rsi + 0x50]
mov rbx, qword [rsi + 0x160]
mov r15, qword [rsi + 0x150]
mov rax, qword [rsi + 0x158]
mov qword [rsp + 0x30], rax
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x14012650f
lea rcx, [rsi + 0x40]
mov rdx, rbp
mov rax, r15
call qword [0x14017da68]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
je 0x140126576
test r13, r13
je 0x1401266f4
mov cl, byte [r12]
inc r12
mov edx, eax
mov r8b, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [r14], r8b
xor byte [rsi + rdx + 0x40], cl
inc r14
lea r8, [r13 - 1]
inc eax
and eax, 0xf
je 0x140126551
cmp r13, 1
mov r13, r8
jne 0x140126522
test eax, eax
jne 0x1401266f4
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x28], rbp
mov rdx, rbp
mov rax, r15
mov r15, r8
call qword [0x14017da68]
mov r8, r15
jmp 0x14012657e
mov qword [rsp + 0x28], rbp
mov r8, r13
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r8, 0xc00
jb 0x14012663b
lea rax, [rsi + 0x40]
mov qword [rsp + 0x38], rax
lea r13, [rsi + 0x10]
mov rax, r14
mov rcx, r12
mov qword [rsp + 0x40], r8
mov r15, rcx
mov r14, rax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, r15
mov rax, qword [rsp + 0x30]
call qword [0x14017da68]
xor r12d, r12d
mov rcx, rsi
mov rdx, r13
mov r8, rdi
mov rax, rbx
call qword [0x14017da68]
inc ebp
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [r15 + r12]
mov qword [r14 + r12], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [r15 + r12 + 8]
mov qword [r14 + r12 + 8], rax
add r12, 0x10
cmp r12, 0xc00
jne 0x1401265cf
mov r8, qword [rsp + 0x40]
add r8, 0xfffffffffffff400
lea rax, [r14 + r12]
lea rcx, [r15 + r12]
cmp r8, 0xbff
ja 0x1401265a3
add r14, r12
add r15, r12
mov r12, r15
mov r9, r8
and r9, 0xff0
je 0x1401266b3
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x28]
mov r15, r8
mov r8, r12
mov rax, qword [rsp + 0x30]
call qword [0x14017da68]
mov r8, r15
lea r15, [rsi + 0x10]
mov rcx, rsi
mov rdx, r15
mov r13, r8
mov r8, rdi
mov rax, rbx
call qword [0x14017da68]
mov r8, r13
inc ebp
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [r12]
mov qword [r14], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [r12 + 8]
mov qword [r14 + 8], rax
add r14, 0x10
add r12, 0x10
add r8, 0xfffffffffffffff0
cmp r8, 0xf
ja 0x140126668
test r8, r8
je 0x140126710
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r15, r8
mov r8, rdi
mov rax, rbx
call qword [0x14017da68]
mov r8, r15
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [r12 + rcx]
xor byte [rsi + rcx + 0x40], dl
xor dl, byte [rsi + rcx + 0x10]
mov byte [r14 + rcx], dl
inc rax
cmp r8, rax
jne 0x1401266da
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401266f4
Function at 0x140153090
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x1401530cf
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x14015309f
mov dword [rsi], 7
jmp 0x14015309f
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400746c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1401530ab
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1401530ab
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x140153181
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x1401530a1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14015309f
Function at 0x1409ce058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409ce1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1409ce089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ce06f
add dl, dl
jne 0x1409ce096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ce0f6
xor eax, eax
add dl, dl
jne 0x1409ce0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ce1ad
add dl, dl
jne 0x1409ce0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409ce0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409ce07e
mov eax, 1
add dl, dl
jne 0x1409ce106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ce0fb
sub eax, ebx
mov ebx, 1
jne 0x1409ce14c
mov ecx, 1
add dl, dl
jne 0x1409ce12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ce13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ce123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ce07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409ce168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ce175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ce15d
cmp eax, 0x7d00
jae 0x1409ce19b
cmp eax, 0x500
jb 0x1409ce196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ce07e
cmp eax, 0x7f
ja 0x1409ce19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ce07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409ce1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1409ce07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140103ac0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rdi, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov eax, dword [rsp + 0x128]
mov rcx, qword [0x140154028]
xor rcx, rsp
mov qword [rsp + 0xb0], rcx
movaps xmm0, xmmword [0x140133080]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
test r9, r9
cmove rdi, r8
mov ecx, dword [r8 + 4]
cmp eax, 0xfffffffe
je 0x140103b69
mov r12d, ecx
cmp eax, 0xffffffff
je 0x140103b6f
mov r12d, eax
cmp eax, 0xfffffffd
jg 0x140103b6f
mov dword [rsp + 0x20], 0x202
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140103bd6
mov r12d, 0xfffffffe
mov qword [rsp + 0x40], rcx
mov r13, qword [rsp + 0x120]
mov rbx, qword [rsi + 8]
mov rcx, rbx
call fcn.140045720
mov ebp, eax
dec ebp
and ebp, 7
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
test rax, rax
je 0x140103c27
mov rcx, rsi
call rax
mov rsi, rax
movzx eax, byte [r13]
mov ecx, ebp
shr eax, cl
test eax, eax
je 0x140103c3c
mov dword [rsp + 0x20], 0x209
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
mov rcx, rbx
call fcn.140045720
mov esi, eax
add esi, 7
shr esi, 3
jmp 0x140103ba7
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r14
lea r12, [r13 + 1]
xor ecx, ecx
test ebp, ebp
cmovne r12, r13
sete cl
mov r14d, esi
sub r14d, ecx
mov rbx, qword [rsp + 0x40]
lea eax, [rbx + 2]
cmp r14d, eax
Function at 0x14001b2c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001b31d
lea rbx, [0x1400c47d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001b304
cmp r10, 2
jb 0x14001b304
cmp byte [r9], r8b
jne 0x14001b304
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001b2e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001b35f
lea rbx, [0x1400c47d0]
cmp r8b, 0x23
jne 0x14001b343
cmp byte [r9], r8b
jne 0x14001b343
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001b330
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001b520
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14001b54f
mov r8d, 0x7c7
lea rdx, str.F:Machozenakokotleokryptedimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14001b55b
mov qword [rdi], 0
lea rdx, [0x1400c3fd8]
mov rcx, rbx
call fcn.14001b370
mov rbx, rax
test rax, rax
jne 0x14001b57d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001b654
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001b654
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001b654
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001b654
cmp rsi, 0xffffffffffffffff
je 0x14001b654
mov rax, qword [0x1401bff00]
test rax, rax
je 0x14001b5f1
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x14001b654
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x14001b641
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401bff00]
test rax, rax
je 0x14001b636
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001b65d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14001b64f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14001b65f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e8f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14001e92c
mov r8d, 0x712
lea rdx, str.F:Machozenakokotleokryptedimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x1400c47d0]
movsxd r8, dword [rsi + 0xf0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f10], ebx
jne 0x14001e9a7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140036870
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e9c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xf0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x14001e9f3
mov r8d, 0x712
lea rdx, str.F:Machozenakokotleokryptedimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x110]
lea r9, [0x1400c47d0]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0xf0]
subss xmm0, xmm2
mov rax, qword [rbx + 0xf8]
movss xmm3, dword [rbx + 0x114]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret