joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011160
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400a8fc0]
lea r11, [0x140048d80]
mov r8d, ecx
mov r10, qword [rax + 0x1d18]
movsxd rdx, dword [r10 + 0x108]
mov rax, qword [r10 + 0x110]
mov r9d, dword [rax + rdx*4 - 4]
not r9d
movzx eax, cl
movzx edx, r9b
xor rdx, rax
shr r9d, 8
mov eax, ecx
shr eax, 8
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr eax, 0x10
xor r9d, dword [r11 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
lea rcx, [r10 + 0x108]
xor r9d, dword [r11 + rdx*4]
movzx edx, r9b
xor rdx, rax
shr r9d, 8
xor r9d, dword [r11 + rdx*4]
lea rdx, [rsp + 0x30]
not r9d
mov dword [rsp + 0x30], r9d
call fcn.1400233e0
add rsp, 0x28
ret

Function at 0x140012000
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400a8fc0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140012060
cmp byte [rbx + 0x20d6], 0
jne 0x140012060
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002760
test dil, 1
je 0x140012187
jmp 0x1400120f1
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400905d4]
mov edx, 0x10
mulss xmm1, dword [0x1400905c4]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140090524]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140002760
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012141
lea r11, [0x140048d80]
cmp r9b, 0x23
jne 0x140012124
cmp byte [r8], r9b
jne 0x140012124
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140012111
not ecx
call fcn.14000ab70
test rax, rax
je 0x140012187
cmp byte [rax + 0xcf], 0
je 0x140012187
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.140002760
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d5f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140045fc0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140016ef0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016f97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140016f4a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140023dc0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002f00
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400a8fb8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140016f9f
mov rcx, rbx
call fcn.140002f00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400173e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140017432
lea r11, [0x140048d80]
cmp r9b, 0x23
jne 0x140017415
cmp byte [r8], r9b
jne 0x140017415
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140017402
mov r11, qword [0x1400a8fc0]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x3228]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001747e
cmp dword [r9], eax
je 0x140017487
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140017455
mov rcx, rbx
pop rbx
jmp fcn.1400172f0
test r9, r9
je 0x14001747e
mov rax, r9
pop rbx
ret
Function at 0x14001a8e0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001ab1e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140048d80]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001aae6
mov rcx, rbp
call fcn.140019f20
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a9b1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a9a1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a999
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a99c
mov rdx, rcx
test rdx, rdx
jne 0x14001a970
cmp r8, r10
je 0x14001a9b1
cmp dword [r8], r9d
jne 0x14001a9b1
mov rcx, qword [r8 + 8]
jmp 0x14001a9b3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001aa47
cmp qword [rcx + 0x18], 0
jne 0x14001aa3c
mov qword [rcx + 0x18], rbx
jmp 0x14001aa47
cmp qword [rcx + 0x20], 0
jne 0x14001aa47
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001aa7c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001aa70
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140002760
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001aad8
cmp r9b, 0x23
jne 0x14001aabb
cmp byte [r8], r9b
jne 0x14001aabb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001aaa8
not ecx
call fcn.14000ab70
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a930
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140045fc0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140046d50
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140046d9a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140046d9a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140046d9a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140046d9a
cmp dword [rcx + 0x84], 0xe
jbe 0x140046d9a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140046d9c
xor al, al
add rsp, 0x28
ret
Function at 0xc2c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc2c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xc2c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xc2c06f
add dl, dl
jne 0xc2c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xc2c0f6
xor eax, eax
add dl, dl
jne 0xc2c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xc2c1ad
add dl, dl
jne 0xc2c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xc2c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xc2c07e
mov eax, 1
add dl, dl
jne 0xc2c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xc2c0fb
sub eax, ebx
mov ebx, 1
jne 0xc2c14c
mov ecx, 1
add dl, dl
jne 0xc2c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xc2c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xc2c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc2c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xc2c15d
cmp eax, 0x7d00
jae 0xc2c19b
cmp eax, 0x500
jb 0xc2c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xc2c07e
cmp eax, 0x7f
ja 0xc2c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xc2c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xc2c1d2
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 0xc2c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14065b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14065b1df
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 0x14065b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14065b06f
add dl, dl
jne 0x14065b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14065b0f6
xor eax, eax
add dl, dl
jne 0x14065b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14065b1ad
add dl, dl
jne 0x14065b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14065b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14065b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14065b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14065b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14065b07e
mov eax, 1
add dl, dl
jne 0x14065b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14065b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14065b0fb
sub eax, ebx
mov ebx, 1
jne 0x14065b14c
mov ecx, 1
add dl, dl
jne 0x14065b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14065b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14065b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14065b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14065b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14065b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14065b15d
cmp eax, 0x7d00
jae 0x14065b19b
cmp eax, 0x500
jb 0x14065b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14065b07e
cmp eax, 0x7f
ja 0x14065b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14065b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14065b1d2
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 0x14065b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001410
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
call sub.msvcrt.dll__wmkdir
cmp rax, 1
sbb eax, eax
add rsp, 0x28
ret
push rsi
push rbx
sub rsp, 0x28
mov rdx, qword [0x1400b5ff0]
mov rax, qword [rdx]
mov ecx, eax
cmp eax, 0xffffffff
je 0x140076930
test ecx, ecx
je 0x14007691b
mov eax, ecx
sub ecx, 1
lea rbx, [rdx + rax*8]
sub rax, rcx
lea rsi, [rdx + rax*8 - 8]
nop dword [rax]
call qword [rbx]
sub rbx, 8
cmp rbx, rsi
jne 0x140076910
lea rcx, [0x1400768a0]
add rsp, 0x28
pop rbx
pop rsi
jmp 0x140001410
xor eax, eax
nop word [rax + rax]
lea r8d, [rax + 1]
mov ecx, eax
cmp qword [rdx + r8*8], 0
mov rax, r8
jne 0x140076938
jmp 0x1400768f7

Function at 0x1400021cb
Capabilities:
Get file size

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, ecx
cmp ebx, 0x3f
jle 0x1400021f4
mov r8d, 0x8c
lea rdx, str.dev.c
lea rcx, str.index___MAX_DRIVES
call qword [sym.imp.msvcrt.dll_memmove]
mov rsi, qword [0x14011c5c0]
call rsi
lea rcx, str.You_must_wait_at_least_10_seconds_before_trying_to_reset_a_device
mov rdx, rax
mov rax, qword [0x1400cf1c8]
add rax, 0x2710
cmp rdx, rax
jb 0x140002232
imul rbx, rbx, 0x38
add rbx, qword [0x1400b69d0]
cmp qword [rbx + 0x20], 0
jne 0x14000223e
lea rcx, str.The_device_you_are_trying_to_reset_does_not_appear_to_be_a_USB_device...
call fcn.140038472
xor ebx, ebx
jmp 0x140002334
call rsi
xor ecx, ecx
mov dword [rsp + 0x28], 0x40000000
xor r9d, r9d
mov qword [rsp + 0x30], rcx
mov r8d, 2
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, qword [rbx + 0x20]
mov qword [0x1400cf1c8], rax
call qword [sym.imp.KERNEL32.DLL_DeleteCriticalDeleteFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002299
call fcn.14003893c
mov rdx, qword [rbx + 0x20]
lea rcx, [0x1400862fd]
mov r8, rax
call fcn.140038472
jmp 0x140002237
mov edx, dword [rbx + 0x2c]
mov r8, qword [rbx + 0x20]
xor eax, eax
lea rcx, str.Cycling_port__d__reset__on__s
mov dword [rsp + 0x4c], eax
lea rdi, [rsp + 0x48]
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x44], 8
call fcn.140038472
mov r9d, dword [rsp + 0x44]
xor edx, edx
mov r8, rdi
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rdx
mov rcx, rsi
mov edx, 0x220444
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov ebx, eax
test eax, eax
jne 0x140002310
call fcn.14003893c
lea rcx, str.__Failed_to_cycle_port:__s
mov rdx, rax
call fcn.140038472
jmp 0x140002321
lea rcx, str.Please_wait_for_the_device_to_re_appear...
mov ebx, 1
call fcn.140038472
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002334
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
mov eax, ebx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x140007635
Capabilities:
Get file size

Disassembly:
push rsi
push rbx
sub rsp, 0x48
xor r8d, r8d
xor r9d, r9d
xor edx, edx
xor esi, esi
mov dword [rsp + 0x60], ecx
lea rcx, str..MountPointManager
mov qword [rsp + 0x30], r8
mov r8d, 3
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_DeleteCriticalDeleteFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400076b7
xor eax, eax
xor edx, edx
xor ecx, ecx
mov r9d, 4
mov dword [rsp + 0x28], edx
lea r8, [rsp + 0x60]
mov edx, 0x6dc040
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
mov eax, esi
add rsp, 0x48
pop rbx
pop rsi
ret

Function at 0x1400076c0
Capabilities:
Get file size

Disassembly:
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
test rcx, rcx
jne 0x1400076d2
xor esi, esi
jmp 0x140007747
xor edx, edx
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
mov r8d, 3
mov qword [rsp + 0x30], rdx
lea rcx, str..MountPointManager
xor edx, edx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_DeleteCriticalDeleteFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400076ce
xor eax, eax
mov qword [rsp + 0x20], rsi
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
xor r8d, r8d
mov edx, 0x6d003c
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
mov eax, esi
add rsp, 0x58
pop rbx
pop rsi
ret
Function at 0x140008c26
Capabilities:
Get disk information via ioctl
Get file size

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x120
xor r8d, r8d
xor r9d, r9d
mov rdi, qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
lea rax, [rsp + 0x58]
mov rbx, rdx
xor edx, edx
mov qword [rsp + 0x38], r8
lea rbp, [rsp + 0x48]
mov dword [rsp + 0x48], edx
xor r8d, r8d
mov edx, 0x560000
mov qword [rsp + 0x140], rcx
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0xc8
mov qword [rsp + 0x20], rax
call rdi
mov rcx, qword [rsp + 0x140]
test eax, eax
je 0x140008c94
cmp dword [rsp + 0x48], 0
je 0x140008c94
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x140008cff
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
mov edx, 0x2d1080
mov dword [rsp + 0x28], 0xc
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
je 0x140008ccf
cmp dword [rsp + 0x48], 0
mov r8d, dword [rsp + 0x50]
jne 0x140008d1d
mov rdx, qword [0x1400b6b80]
cmp dword [rdx], 0
je 0x140008d17
lea r8, str._empty_data_
test eax, eax
jne 0x140008cee
call fcn.14003893c
mov r8, rax
mov rdx, rbx
lea rcx, str.Could_not_get_device_number_for_device__s__s
call fcn.140038472
jmp 0x140008d17
dec eax
mov r8d, dword [rsp + 0x60]
je 0x140008d1d
mov rdx, rbx
lea rcx, str.Ignoring_drive__s_as_it_spans_multiple_disks__RAID__
call fcn.140038472
or r8d, 0xffffffff
jmp 0x140008d40
cmp r8d, 0x3f
jle 0x140008d40
mov rdx, rbx
lea rcx, str.Device_Number_for_device__s_is_too_big___d____ignoring_device
call fcn.140038472
lea rcx, str.NOTE:_This_may_be_due_to_an_excess_of_Virtual_Drives__such_as_hidden_ones_created_by_the_XBox_PC_app
call fcn.140038472
jmp 0x140008d17
mov eax, r8d
add rsp, 0x120
pop rbx
pop rdi
pop rbp
ret
Function at 0x140009240
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor eax, eax
lea r12, [rsp + 0x25]
mov ebx, edx
mov qword [rsp + 0x2d], rax
mov esi, r8d
mov rdx, r12
mov qword [rsp + 0x25], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x21], 0x5c3a23
call fcn.140009181
test eax, eax
jne 0x14000929b
test esi, esi
je 0x14000928f
xor eax, eax
jmp 0x14000938f
lea rcx, [0x14008a1e7]
jmp 0x140009322
cmp byte [rsp + 0x25], 0
jne 0x1400092bc
test esi, esi
jne 0x1400092b2
lea rcx, str.No_drive_letter_was_assigned...
call fcn.140038472
call fcn.1400091a2
jmp 0x14000938f
mov rcx, r12
call fcn.1400797e8
mov rdi, rax
test rax, rax
je 0x140009288
mov r15d, eax
xor ebp, ebp
mov rax, qword [0x1400b6330]
mov r13b, byte [r12 + rbp]
cmp dword [rax], 3
jne 0x14000932c
mov rax, qword [0x1400b67c0]
movsx r14d, r13b
mov rcx, qword [rax]
call fcn.140006d82
add eax, 0x41
cmp r14d, eax
jne 0x14000932c
mov rax, qword [0x1400b67c0]
mov rcx, qword [rax]
call fcn.140006d82
add eax, 0x41
cmp r14d, eax
jne 0x14000932c
test esi, esi
jne 0x140009288
lea rcx, str.ABORTED:_Cannot_use_an_image_that_is_located_on_the_target_drive_
call fcn.140038472
jmp 0x140009288
mov byte [rsp + 0x21], r13b
lea r13, [rsp + 0x21]
xor r8d, r8d
mov ecx, 2
mov rdx, r13
mov byte [rsp + 0x23], 0
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov byte [rsp + 0x23], 0x5c
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
or eax, esi
jne 0x140009375
call fcn.14003893c
mov rdx, r13
lea rcx, str.Failed_to_delete_mountpoint__s:__s
mov r8, rax
call fcn.140038472
inc rbp
cmp r15d, ebp
jg 0x1400092d1
test ebx, ebx
je 0x140009388
lea ebx, [rdi - 1]
movsxd rbx, ebx
mov al, byte [rsp + rbx + 0x25]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000977c
Capabilities:
Get file size

Disassembly:
push rsi
push rbx
sub rsp, 0x158
mov r9d, 1
xor r8d, r8d
xor edx, edx
call fcn.1400077b5
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400097a2
xor eax, eax
jmp 0x1400097fe
xor eax, eax
mov dword [rsp + 0x28], 0x100
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
mov edx, 0x700a0
mov rcx, rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov esi, eax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400097ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
test esi, esi
je 0x14000979e
cmp dword [rsp + 0x4c], 0
je 0x14000979e
mov rax, qword [rsp + 0x68]
add rsp, 0x158
pop rbx
pop rsi
ret

Function at 0x140009808
Capabilities:
Get file size

Disassembly:
push rsi
push rbx
sub rsp, 0xd8
mov r9d, 1
xor r8d, r8d
xor edx, edx
call fcn.1400077b5
xor r9d, r9d
xor r8d, r8d
mov edx, 0x700a0
mov rsi, rax
xor eax, eax
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
mov rcx, rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
mov ebx, eax
test eax, eax
je 0x14000986b
xor ebx, ebx
cmp dword [rsp + 0x4c], 0
setne bl
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000987e
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
mov eax, ebx
add rsp, 0xd8
pop rbx
pop rsi
ret

Function at 0x140009a27
Capabilities:
Get file size

Disassembly:
push r12
mov eax, 0x1050
push rbp
push rdi
push rsi
push rbx
call fcn.140077930
sub rsp, rax
xor eax, eax
xor edx, edx
mov r9d, 1
mov r8d, 1
xor ebx, ebx
mov ebp, ecx
lea rdi, [rsp + 0x50]
mov ecx, 0x400
rep stosd dword [rdi], eax
mov ecx, ebp
lea rdi, [rsp + 0x50]
call fcn.1400077b5
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140009b3a
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
mov edx, 0x70050
mov rcx, rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x140009ab7
cmp dword [rsp + 0x4c], 0
lea r12, [0x1400bee90]
jne 0x140009aec
call fcn.14003893c
mov edx, ebp
lea rcx, str.Could_not_get_layout_for_drive_0x_02x:__s
mov r8, rax
call fcn.140038472
jmp 0x140009b25
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x140009af4
mov eax, ebx
imul rax, rax, 0x90
cmp byte [rsp + rax + 0xa0], 0xef
je 0x140009b12
inc ebx
cmp ebx, dword [rsp + 0x54]
jb 0x140009acf
jmp 0x140009b25
dec eax
jne 0x140009aea
mov eax, ebx
mov rdx, r12
imul rax, rax, 0x90
lea rcx, [rdi + rax + 0x50]
call fcn.1400378e4
test eax, eax
je 0x140009aea
mov ebx, ebx
imul rbx, rbx, 0x90
mov rbx, qword [rsp + rbx + 0x88]
jmp 0x140009b27
xor ebx, ebx
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140009b3a
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
mov rax, rbx
add rsp, 0x1050
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret