Function at 0x45f930
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a83b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5c9ea4]
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
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ba20
push 4
push 0x5bf8e8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004517b0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45fa01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
push ecx
push str.____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.00459870
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45fb7c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fb72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fbde
jmp 0x45fb72
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
push 0x5bd148
lea eax, [ebp - 0x264]
push eax
call edi
test eax, eax
je 0x45fb50
push 0x5bf728
lea eax, [ebp - 0x264]
push eax
call edi
test eax, eax
je 0x45fb50
test dword [ebp - 0x290], 0x410
jne 0x45fb50
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x264]
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fa70
sub eax, esi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0044a140
call fcn.0045f760
add esp, 0x18
test eax, eax
je 0x45fb50
sub esp, 0x18
lea ecx, [ebp - 0x264]
mov edx, esp
mov dword [ebp - 0x294], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fac5
sub ecx, esi
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a140
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0044ba20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0045da10
add esp, 0x30
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45fb50
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fb46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fbde
push edx
push ecx
call fcn.00518414
add esp, 8
lea eax, [ebp - 0x290]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45fa10
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x45f9c4
push edx
push ecx
call fcn.00518414
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp edx, 8
jb 0x45fbc2
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fbb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fbde
push edx
push ecx
call fcn.00518414
add esp, 8
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.005181d3
mov esp, ebp
pop ebp
ret
call fcn.00533a91
int3