Function at 0x61023d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, eax
lea eax, [edx + 0x30]
push edi
push esi
push ebx
sub esp, 0x7c
mov ebx, edx
mov dword [esp + 4], eax
lea eax, [esp + 0x98]
mov esi, dword [esp + 0xb4]
mov dword [esp], eax
mov edi, dword [esp + 0xb8]
call sym.__Z14to_timestruc_tP9_FILETIMEP8timespec_8
sub esp, 8
lea eax, [ebx + 0x38]
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call sym.__Z14to_timestruc_tP9_FILETIMEP8timespec_8
sub esp, 8
lea eax, [ebx + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x90]
mov dword [esp], eax
call sym.__Z14to_timestruc_tP9_FILETIMEP8timespec_8
sub esp, 8
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x61024070
mov eax, dword [ebp + 0x54]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov dword [ebx], eax
lea eax, [ebp + 0x40]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0xc4]
mov dword [ebx + 0x28], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.__ZN9path_conv11ndisk_linksEm_8
mov word [ebx + 0x14], ax
sub esp, 8
lea edx, [ebp + 0x48]
mov dword [esp + 0x38], edx
xor eax, eax
movzx edx, byte [edx + 0x10]
test dl, 0x10
je 0x61023e60
cmp dword [esp + 0xc0], 0
ja 0x61024271
cmp dword [esp + 0xbc], 0xffffffff
ja 0x61024271
test dl, 1
je 0x61024271
mov edx, dword [esp + 0x38]
test byte [edx + 0x11], 8
jne 0x61024271
lea esi, [esi]
lea edi, [edi]
test al, al
je 0x610241e2
mov dword [ebx + 0x48], 0x400
mov edx, dword [esp + 0xc0]
test edi, edi
mov eax, dword [esp + 0xbc]
mov dword [ebx + 0xc], edx
lea edx, [ebp + 0x90]
mov dword [ebx + 8], eax
mov dword [esp + 0x40], edx
js 0x61024211
mov eax, esi
mov edx, edi
add eax, 0x3ff
adc edx, 0
test edx, edx
js 0x61024260
shrd eax, edx, 0xa
sar edx, 0xa
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x40]
mov dword [ebx + 0x54], edx
xor edx, edx
cmp eax, 0xffffffff
jne 0x610241d0
test edx, edx
je 0x610240a7
mov dword [ebx + 0x10], 0x4000
lea esi, [ebp + 0x6c]
xor eax, eax
cmp byte [esi + 0x10], 0
jne 0x610240e0
test eax, eax
je 0x610240fa
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
movzx edx, byte [ecx + 0x10]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
shr dl, 3
mov ecx, edx
lea edx, [ebx + 0x1c]
and ecx, 1
mov dword [esp + 0x14], edx
lea edx, [ebx + 0x18]
mov dword [esp + 0x10], edx
lea edx, [ebx + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp], ecx
call sym.__Z18get_file_attributeiPvPKcPjPmS3__24
sub esp, 0x18
test eax, eax
je 0x61024150
or dword [ebx + 0x10], 0x124
xor eax, eax
cmp dword [esp + 0xc8], 0xffffffff
je 0x61023f51
test byte [esp + 0xc8], 1
jne 0x61024280
test al, al
jne 0x61023f70
mov edx, dword [esp + 0x3c]
test byte [edx + 0x20], 1
jne 0x61023f70
or dword [ebx + 0x10], 0x80
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [ebx + 0x10]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x4000
je 0x61024348
test ch, 0xf0
jne 0x61023fc3
xor eax, eax
cmp byte [esi + 0x10], 0
je 0x61023fa0
cmp dword [esi + 4], 0xf7
je 0x61023fa0
mov eax, 1
test eax, eax
je 0x61024375
mov eax, dword [esi + 4]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x10], eax
mov ecx, eax
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x20]
test al, 0x50
je 0x61024330
mov eax, ecx
mov edx, dword [0x61104ec4]
or eax, 0x49
mov dword [ebx + 0x10], eax
mov edx, dword [edx + 0x178]
not edx
and eax, edx
mov dword [ebx + 0x10], eax
test byte [0x6110a820], 1
je 0x610241bd
lea esi, [esi]
mov eax, 0x60
mov ebp, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x10], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x14], eax
mov eax, str.0__fstat_____p__st_atime_x_st_size_D__st_mode_p__st_ino_D__sizeof_d
mov dword [esp + 0xc], eax
mov eax, str.int_fhandler_base::fstat_helper___stat64__FILETIME__FILETIME__FILETIME__DWORD__ULONGLONG__LONGLONG__ULONGLONG__DWORD__DWORD_
mov dword [esp + 8], eax
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
add esp, 0x7c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x3c
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov dword [ebx], ecx
lea ecx, [ebp + 0x40]
mov dword [ebx + 0x2c], edx
mov edx, dword [esp + 0xc4]
mov dword [ebx + 0x28], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 4], edx
mov dword [esp], ecx
jmp 0x61023e01
mov dword [ebx + 0x10], 0
mov edx, dword [esp + 0x3c]
test byte [edx + 0x20], 1
jne 0x610242c4
cmp dword [edx + 0x30], 0x1e0078
jne 0x61023ed3
mov dword [ebx + 0x10], 0xc000
lea esi, [ebp + 0x6c]
xor eax, eax
cmp byte [esi + 0x10], 0
je 0x61023ee2
nop
cmp dword [esi + 4], 0xf7
je 0x61023ee2
mov eax, 1
test eax, eax
jne 0x61023eea
mov eax, dword [ebp]
mov dword [esp], ebp
call dword [eax + 0xe8]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
movzx edx, byte [ecx + 0x10]
mov dword [esp + 4], eax
shr dl, 3
mov ecx, edx
lea edx, [ebx + 0x1c]
and ecx, 1
mov dword [esp + 0x14], edx
lea edx, [ebx + 0x18]
mov dword [esp + 0x10], edx
lea edx, [ebx + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 8], edx
call sym.__Z18get_file_attributeiPvPKcPjPmS3__24
sub esp, 0x18
test eax, eax
jne 0x61023f30
lea esi, [esi]
xor eax, eax
cmp dword [esp + 0xc8], 0xffffffff
je 0x6102416a
test byte [esp + 0xc8], 1
jne 0x61024290
test al, al
je 0x61024180
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x20], 1
jne 0x61024180
and dword [ebx + 0x10], 0xffffff6d
nop
mov ecx, dword [ebx + 0x10]
test ch, 0xf0
jne 0x610241b0
xor eax, eax
cmp byte [esi + 0x10], 0
je 0x6102419e
cmp dword [esi + 4], 0xf7
je 0x6102419e
mov eax, 1
test eax, eax
jne 0x61024357
or ecx, 0x8000
mov dword [ebx + 0x10], ecx
nop
test byte [0x6110a820], 1
jne 0x61024000
add esp, 0x7c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x3c
test al, 0x10
je 0x61023ec4
mov edx, 1
jmp 0x61023ec4
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, edx
or ecx, eax
je 0x610242a0
lea ecx, [ebp + 0x90]
mov dword [esp + 0x40], ecx
mov dword [ebx + 8], eax
test edi, edi
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x48], 0x400
jns 0x61023e95
xor eax, eax
cmp dword [esp + 0xc8], 0xffffffff
je 0x6102422f
test dword [esp + 0xc8], 0xa00
je 0x6102422f
mov eax, 1
test al, al
jne 0x610244c8
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x2c]
mov eax, esi
add eax, 0x3ff
mov edx, edi
adc edx, 0
test edx, edx
jns 0x61023ea9
jmp 0x61024260
mov eax, esi
mov edx, edi
add eax, 0x7fe
adc edx, 0
jmp 0x61023ea9
mov eax, 1
jmp 0x61023e60
mov eax, 1
jmp 0x61023f51
mov eax, 1
jmp 0x6102416a
lea eax, [ebp + 0x90]
xor edx, edx
mov dword [esp + 0x40], eax
mov dword [esp], eax
xor eax, eax
call sym.__Z14hash_path_nameyPKc_12
mov dword [ebp + 0x18], eax
sub esp, 4
mov dword [ebp + 0x1c], edx
jmp 0x610241fc
mov dword [ebx + 0x2c], 0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp]
mov dword [ebx + 0x10], 0xa1ff
mov ecx, dword [ecx + 0x4c]
mov dword [ebx + 0x28], ecx
mov dword [esp], ebp
call dword [eax + 0xe8]
mov ecx, dword [esp + 0x38]
movzx edx, byte [ecx + 0x10]
shr dl, 3
mov ecx, edx
lea edx, [ebx + 0x1c]
and ecx, 1
mov dword [esp + 0x14], edx
lea edx, [ebx + 0x18]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.__Z18get_file_attributeiPvPKcPjPmS3__24
sub esp, 0x18
jmp 0x610241b0
mov edx, dword [0x61104ec4]
mov edx, dword [edx + 0x178]
not edx
and edx, ecx
mov dword [ebx + 0x10], edx
jmp 0x610241b0
mov eax, ecx
or eax, 0x4049
mov dword [ebx + 0x10], eax
jmp 0x61023fc1
mov eax, dword [esi + 4]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x10], eax
jmp 0x610241b0
mov edx, dword [esp + 0x3c]
or ecx, 0x8000
mov dword [ebx + 0x10], ecx
mov eax, dword [edx + 0x20]
test al, 0x50
jne 0x610244c0
test ah, 1
jne 0x610244c0
mov edi, dword [sym.cygwin1.dll__check_for_executable]
test edi, edi
je 0x610244c0
mov eax, dword [ebp]
mov dword [esp], ebp
mov esi, 1
call dword [eax + 0xe4]
mov dword [esp + 0xc], esi
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFilePointer
sub esp, 0x10
cmp eax, 0xffffffff
mov esi, eax
je 0x610244c0
test eax, eax
je 0x61024413
mov eax, dword [ebp]
mov dword [esp], ebp
xor edi, edi
call dword [eax + 0xe4]
mov dword [esp + 0xc], edi
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFilePointer
sub esp, 0x10
inc eax
je 0x610244c0
mov byte [esp + 0x52], 0
xor edi, edi
mov byte [esp + 0x51], 0
mov byte [esp + 0x50], 0
mov eax, dword [ebp]
mov dword [esp], ebp
call dword [eax + 0xe4]
mov dword [esp + 0x10], edi
lea edx, [esp + 0x44]
mov ecx, 3
mov dword [esp + 0xc], edx
lea edx, [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
je 0x61024497
xor eax, eax
cmp dword [esp + 0x44], 1
jle 0x61024487
movzx edx, byte [esp + 0x50]
cmp dl, 0x23
je 0x6102454f
cmp dl, 0x3a
je 0x61024579
cmp dl, 0x4d
je 0x61024564
test al, al
je 0x61024497
mov ecx, dword [esp + 0x3c]
or dword [ecx + 0x20], 0x10
or dword [ebx + 0x10], 0x49
mov eax, dword [ebp]
mov dword [esp], ebp
xor ebp, ebp
call dword [eax + 0xe4]
mov dword [esp + 8], ebp
xor edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov eax, dword [eax]
mov dword [esp], eax
call sub.KERNEL32.dll_SetFilePointer
sub esp, 0x10
mov ecx, dword [ebx + 0x10]
jmp 0x61023fc3
mov eax, dword [ebp]
mov dword [esp], ebp
call dword [eax + 0xe8]
mov edi, dword [eax]
test edi, edi
je 0x61024237
lea eax, [ebp + 0x6c]
xor edx, edx
cmp byte [eax + 0x10], 0
je 0x610244f7
cmp dword [eax + 4], 0xf7
je 0x610244f7
mov edx, 1
test edx, edx
jne 0x61024237
mov eax, dword [ebp]
mov dword [esp], ebp
mov esi, 0x1c
call dword [eax + 0xe8]
mov dword [esp + 0x10], esi
lea edx, [esp + 0x60]
mov ecx, 0x10
mov dword [esp + 8], edx
lea edx, [esp + 0x48]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.610fde80
sub esp, 0x14
test eax, eax
jne 0x61024237
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
jmp 0x61023e95
cmp byte [esp + 0x51], 0x21
jne 0x6102447e
mov eax, 1
jmp 0x61024487
cmp byte [esp + 0x51], 0x5a
jne 0x61024487
mov eax, 1
jmp 0x61024487
cmp byte [esp + 0x51], 0xa
jmp 0x61024569