Function at 0x4011e3
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa78
mov esi, esp
mov dword [esi + 0xa60], ebp
lea eax, [esi + 0xa68]
mov dword [esi + 0x64], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x437b90
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [esi + 0x7c], 0
and dword [esi + 0x84], 0
mov ebx, dword [ecx + 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, ebx
mov dword [esi + 4], edx
call fcn.00429c60
test eax, eax
je 0x401bce
mov edi, edx
lea ecx, [esi + 0x54]
mov edx, eax
push edi
call fcn.00433c50
pop eax
mov edx, dword [esi + 4]
mov ecx, ebx
call fcn.00421c10
test al, al
je 0x40126f
lea ecx, [esi + 0x68]
mov edx, ebx
push dword [esi + 4]
call fcn.00429f90
pop eax
jmp 0x4012b3
lea ecx, [esi + 0x5b0]
call fcn.00421200
lea edi, [esi + 0x358]
lea edx, [esi + 0x5b0]
mov ecx, edi
push 0x4496bc
call fcn.00404d89
pop eax
mov ecx, edi
mov edx, ebx
push dword [esi + 4]
call fcn.004273a0
pop eax
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esi + 0x70], xmm1
movsd qword [esi + 0x68], xmm0
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x70]
call fcn.00428900
mov ecx, eax
push 0x4496cc
call fcn.00404d3f
pop ecx
test edx, edx
je 0x401be3
js 0x401bf2
mov edi, eax
mov al, byte [0x45eaa8]
mov ebx, edx
xor edx, edx
inc edx
mov ecx, ebx
call fcn.00437a70
test eax, eax
je 0x401bf9
push ebx
push edi
mov dword [esi], eax
push eax
call fcn.004394e0
add esp, 0xc
mov al, byte [0x45eaa8]
xor edx, edx
mov ecx, ebx
inc edx
mov dword [esi + 4], edx
call fcn.00437a70
test eax, eax
je 0x401c05
mov ecx, edi
mov edi, eax
push ebx
push ecx
push eax
call fcn.004394e0
add esp, 0xc
lea ecx, [esi + 0x5b0]
mov dword [esi + 0x48], ebx
mov dword [esi + 0xa70], 3
mov edx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov byte [ecx + 0xc], 0
push 1
call fcn.004273a0
pop eax
lea ecx, [esi + 0x5b0]
mov byte [esi + 0xf], 1
mov dword [esi + 0xa70], 1
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov dword [esi + 0x20], eax
mov dword [esi + 0x30], edx
push edi
call fcn.0041fb40
pop eax
mov eax, dword [esi + 0x5b0]
mov edi, dword [esi + 0x5b4]
mov ecx, dword [esi + 0x5b8]
test eax, eax
je 0x401c1f
lea edx, [esi + 0x5b0]
mov byte [esi + 0xf], 1
mov dword [edx], eax
mov dword [edx + 8], ecx
mov dword [edx + 4], edi
lea ecx, [esi + 0x104]
push 1
call fcn.00426b40
pop eax
mov edi, dword [esi + 0x104]
mov ecx, dword [esi + 0x108]
test edi, edi
je 0x401c32
mov dword [esi + 8], ecx
push 0x250
push 0
lea ebx, [esi + 0x5b0]
push ebx
call fcn.00439a60
add esp, 0xc
push ebx
mov dword [esi + 0x44], edi
push edi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov edi, eax
cmp eax, 0xffffffff
je 0x401462
mov dword [esi + 0x2c], edi
mov al, byte [0x45eaa8]
push 0x18
pop ecx
push 4
pop edx
call fcn.00437a70
test eax, eax
je 0x401c99
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [esi]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
and dword [ebx + 0x14], 0
lea eax, [esi + 0x5b8]
mov edi, dword [eax - 8]
mov ecx, dword [eax - 4]
mov dword [esi + 0x10], edi
shrd edi, ecx, 8
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x358]
mov dword [esi + 0x28], edi
push 0x248
push eax
push ecx
call fcn.004394e0
add esp, 0xc
mov edi, dword [esi + 0x2c]
jmp 0x401478
push 2
pop eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], 0
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x14], eax
cmp dword [esi + 8], 0
je 0x401489
push 2
pop edx
mov ecx, dword [esi + 0x44]
call fcn.00437ad0
cmp dword [esi + 0x20], 0
je 0x40149a
mov ecx, dword [esi + 0x30]
xor edx, edx
inc edx
call fcn.00437ad0
cmp edi, 0xffffffff
jne 0x4014ac
mov ecx, dword [esi]
xor edx, edx
inc edx
call fcn.00437ad0
xor edi, edi
dec edi
cmp dword [esi + 4], 2
mov dword [esi + 0x2c], edi
je 0x401c62
mov eax, dword [esi + 0x28]
movzx ecx, byte [esi + 0x10]
lea edi, [esi + 0x5bc]
shl eax, 8
or ecx, eax
lea eax, [esi + 0x358]
mov dword [esi], ecx
push 0x248
push eax
push edi
call fcn.004394e0
add esp, 0xc
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x248], ebx
lea ecx, [esi + 0x5e6]
mov dword [edi + 0x24c], eax
mov eax, dword [esi + 4]
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi - 4], eax
mov eax, dword [esi]
mov dword [edi - 8], eax
movzx eax, word [ecx - 4]
movzx edx, word [ecx - 2]
mov dword [esi + 0x50], eax
xor eax, 0x2e
mov word [esi + 0x4e], dx
or ax, dx
movzx eax, word [ecx - 6]
mov edx, dword [esi + 4]
sete byte [esi + 0x1b]
mov word [esi + 0x3a], ax
cmp word [esi + 0x50], 0
sete al
cmp word [esi + 0x3a], 0x2e
sete cl
cmp edx, 1
jne 0x4015b1
or al, byte [esi + 0x1b]
and cl, al
jne 0x4015b1
lock inc dword [ebx]
jle 0x401b9d
push 0x24
lea eax, [esi + 0x5bc]
push eax
lea eax, [esi + 0xe0]
push eax
call fcn.004394e0
add esp, 0xc
push 0x21e
lea eax, [esi + 0x5e6]
push eax
lea eax, [esi + 0x810]
push eax
call fcn.004394e0
add esp, 0xc
movzx eax, word [esi + 0x3a]
mov edi, dword [esi + 0x28]
mov edx, dword [esi + 0x14]
mov dword [esi + 4], ebx
mov word [esi + 0x38], ax
mov eax, dword [esi + 0x50]
mov word [esi + 0x36], ax
movzx eax, word [esi + 0x4e]
mov dword [esi + 0x20], edi
mov word [esi + 0x34], ax
mov eax, dword [esi + 0x10]
mov ecx, eax
jmp 0x40169c
push 0x250
push 0
lea edi, [esi + 0x104]
push edi
call fcn.00439a60
add esp, 0xc
push edi
mov edi, dword [esi + 0x2c]
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x401605
cmp word [esi + 0x130], 0x2e
jne 0x401623
movzx eax, word [esi + 0x132]
test ax, ax
je 0x4015fc
cmp ax, 0x2e
jne 0x401623
cmp word [esi + 0x134], 0
jne 0x401623
lea eax, [esi + 0x104]
push eax
jmp 0x4015cb
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
cmp eax, 0x12
je 0x401b1b
mov dword [esi + 4], ebx
xor ebx, ebx
call edi
mov edx, eax
xor ecx, ecx
jmp 0x40169c
lock inc dword [ebx]
jle 0x401b9d
mov eax, dword [esi + 0x104]
mov edi, dword [esi + 0x108]
mov dword [esi], eax
shrd eax, edi, 8
mov dword [esi + 0x20], eax
push 0x24
lea eax, [esi + 0x10c]
push eax
lea eax, [esi + 0xe0]
push eax
call fcn.004394e0
add esp, 0xc
movzx eax, word [esi + 0x130]
mov word [esi + 0x38], ax
movzx eax, word [esi + 0x132]
mov word [esi + 0x36], ax
movzx eax, word [esi + 0x134]
mov word [esi + 0x34], ax
push 0x21e
lea eax, [esi + 0x136]
push eax
lea eax, [esi + 0x810]
push eax
call fcn.004394e0
mov ecx, dword [esi]
mov edx, edi
add esp, 0xc
mov dword [esi + 4], ebx
test ebx, ebx
lea edi, [esi + 0x98]
je 0x4016f5
push 0x24
lea eax, [esi + 0xe0]
push eax
push edi
mov dword [esi + 8], edx
mov dword [esi], ecx
call fcn.004394e0
add esp, 0xc
push 0x21e
lea eax, [esi + 0x810]
push eax
lea eax, [esi + 0x104]
push eax
call fcn.004394e0
mov ecx, dword [esi]
mov edx, dword [esi + 8]
add esp, 0xc
movzx eax, word [esi + 0x38]
mov word [esi + 0x30], ax
movzx eax, word [esi + 0x36]
mov word [esi + 0x48], ax
movzx eax, word [esi + 0x34]
mov word [esi + 0x44], ax
mov eax, dword [esi + 0x20]
movzx ecx, cl
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x364], edx
shl eax, 8
or ecx, eax
mov dword [esi + 0x360], ecx
push 0x24
push edi
lea eax, [esi + 0x368]
push eax
call fcn.004394e0
add esp, 0xc
movzx eax, word [esi + 0x30]
mov word [esi + 0x38c], ax
movzx eax, word [esi + 0x48]
mov word [esi + 0x38e], ax
movzx eax, word [esi + 0x44]
mov word [esi + 0x390], ax
push 0x21e
lea eax, [esi + 0x104]
push eax
lea eax, [esi + 0x392]
push eax
call fcn.004394e0
add esp, 0xc
test ebx, ebx
mov dword [esi + 0x358], 1
je 0x401883
push 0x250
lea eax, [esi + 0x360]
push eax
lea eax, [esi + 0x108]
push eax
call fcn.004394e0
add esp, 0xc
mov dword [esi + 0x104], ebx
lea ecx, [esi + 0xe0]
lea edx, [esi + 0x104]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [esi + 0x1c], eax
call fcn.004272a0
mov eax, dword [esi + 0xe0]
mov ecx, dword [esi + 0xe8]
test edi, edi
mov ebx, 1
mov dword [esi + 8], eax
mov dword [esi], ecx
je 0x4017e6
js 0x401bba
mov al, byte [0x45eaa8]
xor edx, edx
mov ecx, edi
inc edx
call fcn.00437a70
mov ebx, eax
test eax, eax
je 0x401ba1
push edi
push dword [esi + 0x1c]
push ebx
call fcn.004394e0
add esp, 0xc
mov edx, dword [esi + 8]
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov byte [esi + 0xa4], 0
mov dword [esi + 0xa70], 5
lea ecx, [esi + 0x98]
push dword [esi]
call fcn.004273a0
pop eax
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x9c]
mov edi, dword [esi + 0xa0]
cmp dword [esi + 0xe4], 0
mov ebx, dword [esi + 4]
mov dword [esi], eax
mov dword [esi + 0x1c], ecx
je 0x401855
mov ecx, dword [esi + 8]
xor edx, edx
inc edx
call fcn.00437ad0
mov edx, dword [esi]
lea ecx, [esi + 0x98]
push edi
call fcn.00428b70
pop eax
mov eax, dword [esi + 0x98]
mov edi, dword [esi + 0xa4]
xor eax, 2
or eax, dword [esi + 0x9c]
jne 0x401898
mov eax, dword [esi + 0xa0]
jmp 0x4018c2
lea eax, [esi + 0x360]
push eax
call fcn.004049fb
pop eax
mov ebx, dword [esi + 4]
jmp 0x401b14
mov eax, dword [esi + 0xd8]
bt eax, 0xa
setae cl
bt dword [esi + 0xdc], 0x1d
setae dl
or dl, cl
test al, 0x10
sete al
and al, dl
movzx eax, al
shl eax, 8
or eax, 4
cmp al, 4
je 0x401910
cmp al, 3
jne 0x401910
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0xa70], 6
mov dword [esi + 0x3c], edx
push edx
mov dword [esi + 8], ecx
call dword [ecx]
add esp, 4
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x4018ff
mov edx, dword [eax + 8]
mov ecx, dword [esi + 0x3c]
call fcn.00437ad0
mov ecx, dword [esi + 0x24]
push 4
pop edx
call fcn.00437ad0
mov ebx, dword [esi + 4]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi]
mov edx, dword [esi + 0x1c]
mov edi, eax
call fcn.00404a36
mov eax, edi
cmp al, 4
jne 0x401b09
and eax, 0xff00
je 0x401b09
mov edi, dword [esi + 0x104]
push 0x250
lea eax, [esi + 0x108]
push eax
lea eax, [esi + 0x810]
push eax
call fcn.004394e0
add esp, 0xc
test edi, edi
je 0x401b14
and dword [esi + 0x5b0], 0
push 0x250
lea ebx, [esi + 0x810]
push ebx
lea eax, [esi + 0x108]
push eax
call fcn.004394e0
add esp, 0xc
mov dword [esi + 0x104], edi
lea edi, [esi + 0x104]
lea ecx, [esi + 0x88]
mov edx, edi
call fcn.004272a0
mov ecx, edi
call fcn.00404a88
cmp byte [esi + 0x94], 2
je 0x401b22
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x88]
mov ecx, ebx
mov dword [esi], eax
mov dword [esi + 8], edx
push dword [esi + 0x90]
call fcn.00433c50
pop eax
mov ebx, dword [esi + 0x810]
mov eax, dword [esi + 0x814]
test ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], eax
cmove ebx, eax
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x4019e9
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x818]
mov ecx, ebx
mov edx, edi
push dword [esi + 0x5c]
push eax
call fcn.00436c46
pop ecx
pop edx
test al, al
je 0x401aea
mov ecx, ebx
mov edx, edi
push 3
push 0x4501cc
call fcn.0041245e
pop ecx
pop edx
lea ecx, [edi - 3]
test al, al
mov dword [esi + 0x358], 0x4496ec
mov dword [esi + 0x35c], 2
mov byte [esi + 0x19], al
lea eax, [esi + 0x54]
lea edx, [esi + 0x358]
cmove ecx, edi
and dword [esi + 0x368], 0
mov dword [esi + 0x98], eax
lea eax, [esi + 0x98]
mov dword [esi + 0x9c], 0x4082e2
mov dword [esi + 0x40], ecx
lea ecx, [esi + 0x104]
mov dword [esi + 0x360], eax
mov dword [esi + 0x364], 1
call fcn.00407b95
mov eax, dword [esi + 0x108]
mov edi, dword [esi + 0x104]
mov edx, dword [esi + 0x40]
mov ecx, ebx
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x60], eax
push eax
push edi
call fcn.00436c46
pop ecx
pop edx
mov edx, dword [esi + 0x3c]
mov ecx, edi
mov byte [esi + 0x1a], al
call fcn.00404a36
cmp byte [esi + 0x1a], 0
je 0x401aea
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x40]
add ebx, ecx
sub eax, ecx
lea ecx, [esi + 0x358]
mov edx, ebx
push eax
call fcn.00411920
pop eax
cmp byte [esi + 0x358], 0
jne 0x401aea
movzx eax, byte [esi + 0x19]
mov edx, dword [esi + 0x35c]
lea ecx, [esi + 0x7c]
push eax
call fcn.004074cf
pop eax
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
call fcn.00404a69
mov ecx, dword [esi + 8]
mov edx, dword [esi]
call fcn.00404a36
mov ebx, dword [esi + 4]
xor edx, edx
jmp 0x40152c
lea ecx, [esi + 0x104]
call fcn.00404a88
xor edx, edx
jmp 0x40152c
and dword [esi + 0x5b0], 0
lea edi, [esi + 0x804]
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, edi
call fcn.00404a88
movsd xmm0, qword [esi + 0x7c]
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
movsd qword [edi - 0x254], xmm0
mov dword [edi - 0x24c], eax
call fcn.00404a36
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
call fcn.00404a69
mov ebx, dword [esi + 0x64]
lea ecx, [ebx + 0x40]
call fcn.00404888
mov eax, dword [edi - 0x24c]
movsd xmm0, qword [edi - 0x254]
mov ecx, dword [esi + 0xa68]
mov dword [ebx + 0x48], eax
movsd qword [ebx + 0x40], xmm0
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
xor ecx, ecx
mov edx, edi
mov dword [esi + 0xa70], 4
inc ecx
call fcn.00446e10
jmp 0x401cae
mov dword [esi + 0xa70], 4
call fcn.0040c730
jmp 0x401cae
push 0x14
pop edx
mov ecx, str.basepath.file_name__C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_file_rotate_0.7.6_src_suffix.rs
push 0x4496ac
call fcn.00447390
pop eax
ud2
push 3
pop eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
jmp 0x401c62
call fcn.0040c730
ud2
xor ecx, ecx
mov edx, ebx
inc ecx
call fcn.00446e10
ud2
and dword [esi + 0xa70], 0
xor ecx, ecx
mov edx, ebx
mov byte [esi + 0xe], 1
inc ecx
call fcn.00446e10
jmp 0x401cae
mov edx, edi
mov eax, edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
shrd edx, ecx, 8
mov dword [esi + 0x28], edx
jmp 0x401c47
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x14], eax
shld eax, ecx, 0x18
mov dword [esi + 0x28], eax
mov eax, ecx
mov dword [esi + 0x10], eax
cmp dword [esi + 0x20], 0
je 0x401c58
mov ecx, dword [esi + 0x30]
xor edx, edx
inc edx
call fcn.00437ad0
mov ecx, dword [esi]
xor edx, edx
inc edx
call fcn.00437ad0
mov ecx, dword [esi + 0x28]
movzx eax, byte [esi + 0x10]
lea edi, [esi + 0x5b0]
shl ecx, 8
or eax, ecx
mov ecx, dword [esi + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x4496dc
push 0x44979c
push edi
call fcn.00447310
add esp, 0xc
ud2
mov dword [esi + 0xa70], 2
push 4
pop ecx
push 0x18
pop edx
call fcn.00446e10
ud2