joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [ebx], eax
push edi
setne al
mov dword [ebp - 0x18], esi
push 1
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
call fcn.1007c4b5
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x1001405a
push eax
push edi
mov ecx, esi
call fcn.10013de0
mov ecx, dword [ebx]
add eax, 4
mov dword [ebp - 0x28], eax
push edi
push 1
mov eax, dword [ecx + 8]
adc edx, 0
movzx esi, byte [ecx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push 8
push eax
mov dword [ebp - 0x2c], edx
call fcn.1007c4b5
mov ecx, dword [ebx]
push edi
push 1
push 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1007c4b5
push edi
push 1
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push 4
push eax
call fcn.1007c4b5
mov eax, dword [ebx]
add esp, 0x30
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x10013f5b
mov eax, dword [eax]
jmp 0x10013f5d
xor eax, eax
push edi
push 1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call fcn.1007c4b5
mov eax, dword [ebp - 0x14]
add esp, 0x10
xor ecx, ecx
mov ebx, 4
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov dword [ebp - 0xc], esi
test esi, esi
je 0x10014037
mov edx, dword [esi]
mov eax, edx
shr eax, 2
test al, 1
je 0x10014012
mov eax, dword [esi + 8]
push edi
push 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1007c4b5
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push edi
sar eax, 2
push 1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.1007c4b5
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov esi, dword [esi + 0xc]
add esp, 0x20
xor edi, edi
mov dword [ebp - 8], ecx
mov ebx, 0xc
mov eax, dword [eax + 0x10]
mov edx, eax
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, eax
cmova edx, ecx
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10014037
push dword [esi]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x24]
call fcn.10013de0
mov ecx, dword [ebp - 8]
lea esi, [esi + 4]
add ebx, eax
adc ecx, edx
inc edi
mov dword [ebp - 8], ecx
cmp edi, dword [ebp - 0xc]
jne 0x10013ff0
jmp 0x10014037
shr edx, 1
test dl, 1
je 0x10014037
mov eax, dword [esi + 4]
push edi
push 1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.1007c4b5
add esp, 0x10
mov ebx, 8
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
add eax, ebx
pop edi
adc edx, ecx
add eax, 0x14
pop esi
adc edx, 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039fbc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 4
pop edi
pop esi
xor ecx, ebp
xor edx, edx
pop ebx
call fcn.10039fbc
mov esp, ebp
pop ebp
ret 8
Function at 0x100147d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d99b
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push 1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push 4
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0
call fcn.1007c16b
mov ebx, dword [ebp - 0x14]
add esp, 0x10
xor edi, edi
mov esi, 4
test ebx, ebx
je 0x10014943
cmp ebx, 0x3e8
jbe 0x10014900
call fcn.10031890
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100148fa
push 0x4e
push str.d:jenkins.jenkinsworkspacedefragger_defragdefragdefrag_file_system_fs.cc
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], al
call fcn.10007190
push 3
push 0x100a57c0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10007190
push 0x29f
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xe8]
call fcn.10003b10
mov esi, eax
push str._warning__name_length_too_long_
push esi
mov byte [ebp - 4], 2
call fcn.10004a70
add esp, 8
mov ecx, esi
push dword [ebp - 0x14]
call fcn.10009b90
call fcn.10031890
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.10004b90
lea ecx, [ebp - 0x38]
call fcn.10004360
lea ecx, [ebp - 0x50]
call fcn.10004360
xor eax, eax
xor edx, edx
jmp 0x10014970
push ebx
call fcn.1003a03d
mov esi, eax
add esp, 4
test esi, esi
je 0x1001491d
push ebx
push 0
push esi
call fcn.10071620
add esp, 0xc
jmp 0x1001491f
xor esi, esi
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ebx
push 1
push dword [ebp - 0x14]
mov dword [eax + 4], esi
push esi
call fcn.1007c16b
mov esi, dword [ebp - 0x14]
add esp, 0x10
xor edi, edi
add esi, 4
adc edi, edi
jmp 0x10014946
mov ebx, dword [ebp - 0x1c]
push ebx
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push 4
push eax
call fcn.1007c16b
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add esi, 4
adc edi, 0
mov dword [eax], ecx
mov edx, edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10039fbc
mov esp, ebp
pop ebp
ret 8
Function at 0x10014990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
push 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x24]
push 4
push eax
mov dword [ebp - 0x24], 0
call fcn.1007c16b
push dword [ebp - 0x24]
mov edi, 4
xor ebx, ebx
call fcn.10012490
mov ecx, eax
add esp, 0x14
mov eax, dword [esi]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi]
mov esi, dword [eax + 0x1c]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10014b5f
mov ecx, dword [esi]
mov eax, ecx
shr eax, 2
test al, 1
je 0x10014b35
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x30]
push ebx
push 1
push edi
push eax
call fcn.1007c16b
push ebx
push 1
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.1007c16b
xor ebx, ebx
mov dword [ebp - 0x2c], 0
add esp, 0x20
mov esi, 0xc
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x18], ebx
jbe 0x10014af8
push 8
call fcn.10039c0d
mov edi, eax
add esp, 4
test edi, edi
je 0x10014a73
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0
jmp 0x10014a75
xor edi, edi
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x34]
push edi
push dword [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.100147d0
mov ecx, eax
or ecx, edx
je 0x10014b09
mov ecx, dword [ebp - 0x14]
add esi, eax
mov dword [ebp - 0x28], esi
adc dword [ebp - 0x2c], edx
add ecx, 0xc
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x10014ab1
xor esi, esi
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x10014abe
lea edx, [ebp - 0x1c]
push edx
push eax
call fcn.10010ed0
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10014aeb
mov eax, dword [esi + 4]
test eax, eax
je 0x10014ae0
push eax
call fcn.1003a046
add esp, 4
mov dword [esi + 4], 0
push 8
push esi
call fcn.10039c3d
add esp, 8
mov esi, dword [ebp - 0x28]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x10014a54
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
jmp 0x10014b5f
test edi, edi
je 0x10014b2f
mov eax, dword [edi + 4]
test eax, eax
je 0x10014b24
push eax
call fcn.1003a046
add esp, 4
mov dword [edi + 4], 0
push 8
push edi
call fcn.10039c3d
add esp, 8
xor eax, eax
xor edx, edx
jmp 0x10014b63
shr ecx, 1
test cl, 1
je 0x10014b5f
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push 1
push 4
push eax
call fcn.1007c16b
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov edi, 8
mov dword [esi + 4], ecx
xor ebx, ebx
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10039fbc
mov esp, ebp
pop ebp
ret 8
Function at 0x10016cf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e093
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov edx, 2
mul edx
push 0x101206e9
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.1003a3c7
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10016e09
push dword [ebp - 0x2c]
push ebx
push eax
call fcn.10071620
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
mov eax, dword [ebp - 0x20]
je 0x10016df0
mov edi, eax
cmp word [eax], bx
je 0x10016ded
cmp ebx, esi
je 0x10016dba
mov ax, word [edi]
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x18], esi
jmp 0x10016dca
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.100159c0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10016dd0
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x10016da8
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push eax
call fcn.1003a046
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [edi], ecx
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
jmp 0x10016ed2
call fcn.10031890
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10016ebe
push 0x54
push str.d:jenkins.jenkinsworkspacedefragger_defragdefragdefrag_file_system_fs_utils.cc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
call fcn.10007190
push 3
push 0x100a57c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10007190
push 0xae
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf4]
call fcn.10003b10
mov esi, eax
push str.new_fail
push esi
mov byte [ebp - 4], 3
call fcn.10004a70
add esp, 8
call fcn.10031890
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10004b90
lea ecx, [ebp - 0x44]
call fcn.10004360
lea ecx, [ebp - 0x5c]
call fcn.10004360
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10016780
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10039fbc
mov esp, ebp
pop ebp
ret
Function at 0x100171d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x21c]
or esi, 0xffffffff
push 0
push eax
call fcn.10071620
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push str..PhysicalDrive_d
push 0x104
push eax
call fcn.100165e0
add esp, 0x1c
lea eax, [ebp - 0x21c]
push 0
push 0
push 3
push 0
push 1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x100173bd
push ebx
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 0
push eax
push 0x28
lea eax, [ebp - 0x260]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push 0x2d1400
push edi
movups xmmword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x250], xmm0
movq qword [ebp - 0x240], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x25c]
push eax
mov dword [ebp - 0x264], eax
call fcn.1003a03d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100173b5
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.10071620
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push eax
push esi
push ebx
push 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebx + 0x1c]
add eax, 0xfffffff9
cmp eax, 0xb
ja case.0x10017306.8
movzx eax, byte [eax + 0x100173e4]
jmp dword [eax*4 + 0x100173d0]
mov esi, 1
jmp 0x100173ac
mov esi, 3
jmp 0x100173ac
mov esi, 4
jmp 0x100173ac
mov esi, 5
jmp 0x100173ac
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x238]
mov dword [ebp - 0x22c], 7
push eax
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 7
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push edi
mov esi, 2
mov dword [ebp - 8], 0
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x230], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100173ac
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.1003a046
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10039fbc
mov esp, ebp
pop ebp
ret
Function at 0x10018820
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100a61a0]
movq xmm0, qword [str._:]
push esi
mov dword [ebp - 0x204], eax
xor esi, esi
mov ax, word [0x100a61a4]
push 0x1fa
mov word [ebp - 0x200], ax
lea eax, [ebp - 0x1fe]
push esi
push eax
movq qword [ebp - 0x20c], xmm0
call fcn.10071620
mov cl, byte [ebp + 8]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
movq qword [ebp - 0x224], xmm0
movups xmmword [ebp - 0x244], xmm0
movups xmmword [ebp - 0x234], xmm0
cmp cl, 0x41
jl 0x100188a5
cmp cl, 0x5a
jle 0x100188ac
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x10018924
push edi
push 0
push 0x80
push 3
movsx ax, cl
push 0
push 3
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x20c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10018921
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], esi
push eax
push 0x28
lea eax, [ebp - 0x244]
mov dword [ebp - 0x21c], esi
push eax
push 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push edi
cmovne esi, dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
jmp 0x10018926
xor esi, esi
mov ecx, dword [ebp - 4]
cmp esi, 7
pop esi
sete al
xor ecx, ebp
call fcn.10039fbc
mov esp, ebp
pop ebp
ret
Function at 0x10019a80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e41b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10019bf0
cmp eax, 0xffffffff
je 0x10019bf0
push 0x200
call fcn.10039c0d
mov esi, eax
add esp, 4
test esi, esi
je 0x10019ae8
push 0x200
push 0
push esi
call fcn.10071620
add esp, 0xc
jmp 0x10019aea
xor esi, esi
push 0x200
push 0
push esi
mov dword [edi + 0x48], esi
call fcn.10071620
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push 0x200
push dword [edi + 0x48]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10019c0d
call fcn.10031890
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10019bf0
push 0x4f
push str.d:jenkins.jenkinsworkspacedefragger_defragdefragdefrag_file_systemmft.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.10007190
push 3
push 0x100a57c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007190
push 0x4f
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.10003b10
mov esi, eax
push str._error_
push esi
mov byte [ebp - 4], 2
call fcn.10004a70
add esp, 8
mov ecx, esi
push edi
call fcn.10018f90
mov esi, eax
push str.__read_boot_block_failed
push esi
call fcn.10004a70
add esp, 8
call fcn.10031890
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10004b90
lea ecx, [ebp - 0x2c]
call fcn.10004360
lea ecx, [ebp - 0x44]
call fcn.10004360
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10039fbc
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x10019bf2
Function at 0x1001a850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ecx + 0x48]
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
movzx eax, byte [edi + 0xd]
cdq
mov esi, eax
mov dword [ebp - 0xc], 0
movzx eax, word [edi + 0xb]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.1003a3d0
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push eax
call fcn.1003a3d0
movzx ecx, byte [edi + 0xd]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edx
push eax
movzx eax, word [edi + 0xb]
imul ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, dword [ebp + 0x10]
push ecx
push dword [ebp - 0x20]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039fbc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001b140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xc], 0
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x48]
push dword [ebp + 8]
movups xmmword [ebp - 0x1c], xmm0
movzx eax, word [esi + 0xb]
cdq
push edx
push eax
call fcn.1003a3d0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edx
push eax
movzx eax, word [esi + 0xb]
imul eax, dword [ebp + 0x10]
push eax
push edi
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039fbc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10020e50
Capabilities:
Check if file exists
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009eea8
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x100cc144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1002103f
mov ebx, dword [esi + 0x28]
mov ecx, ebx
mov eax, ebx
shr ecx, 0xc
shr eax, 0xd
and ecx, 0xffffff01
shr ebx, 0x10
and eax, 0xffffff01
and bl, 1
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], eax
test cl, cl
jne 0x10020ebf
test al, al
jne 0x10020ebf
test bl, bl
je 0x1002103f
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x64], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x60], ecx
push ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 4], 0
call fcn.10012300
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.1001e4f0
add esp, 8
cmp byte [ebp - 0x78], 0
je 0x10020f8a
push 0
lea ebx, [edi + 0xc0]
mov dword [edi + 0xb4], 0
push 0x100a5454
mov ecx, ebx
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
call fcn.10007190
mov eax, dword [ebp - 0x68]
mov dword [edi + 0xb4], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0xb8], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0xbc], eax
lea eax, [ebp - 0x5c]
cmp ebx, eax
je 0x10020f7c
cmp dword [ebp - 0x48], 0x10
mov ecx, ebx
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.10007190
mov eax, dword [esi + 0x28]
mov dword [edi + 0xb4], eax
jmp 0x10021037
cmp byte [ebp - 0x7c], 0
je 0x10020fa3
push dword [ebp + 0xc]
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.10021560
jmp 0x10021037
test bl, bl
je 0x10021037
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x2c]
push eax
call fcn.10013170
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0xfde9
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 7
push eax
call fcn.1002fdf0
add esp, 0xc
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10021015
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x11], 0
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.10012160
jmp 0x10021027
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10021310
lea ecx, [ebp - 0x44]
call fcn.100043b0
lea ecx, [ebp - 0x2c]
call fcn.10004360
lea ecx, [ebp - 0x68]
call fcn.1001cb70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10039fbc
mov esp, ebp
pop ebp
ret 8