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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562fcf
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5cc5b0]
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 - 0x318], ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x310], ebx
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x348]
mov dword [ebp - 4], eax
call fcn.0044cf40
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 1
call fcn.0044cf40
push 0x5688bc
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.00442cb0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45289d
mov eax, dword [eax]
lea ecx, [ebp - 0x308]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0xa4], 8
mov esi, eax
mov dword [ebp - 0x314], esi
jb 0x4528ca
push dword [ebp - 0xb8]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
cmp esi, 0xffffffff
jne 0x4528f3
xor bl, bl
jmp 0x452da9
test byte [ebp - 0x308], 0x10
jne 0x452d8a
mov ecx, 0x5688cc
lea eax, [ebp - 0x2dc]
jmp 0x452910
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x452936
test dx, dx
je 0x452932
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x452936
add eax, 4
add ecx, 4
test dx, dx
jne 0x452910
xor eax, eax
jmp 0x45293b
sbb eax, eax
or eax, 1
test eax, eax
je 0x452d8a
mov ecx, 0x5688d0
lea eax, [ebp - 0x2dc]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x452976
test dx, dx
je 0x452972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x452976
add eax, 4
add ecx, 4
test dx, dx
jne 0x452950
xor eax, eax
jmp 0x45297b
sbb eax, eax
or eax, 1
test eax, eax
je 0x452d8a
cmp word [ebp - 0x2dc], 0
jne 0x452991
xor ecx, ecx
jmp 0x4529af
lea ecx, [ebp - 0x2dc]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4529a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00441d80
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
mov dword [ebp - 0x310], 0x2e
push eax
lea ecx, [ebp - 0x40]
call fcn.00453a70
cmp eax, 0xffffffff
je 0x452a3e
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004546e0
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x452a27
cmp dword [ebp - 0x2c], 8
jb 0x452a0a
push dword [ebp - 0x40]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00440af0
cmp dword [ebp - 0x14], 8
jb 0x452a38
push dword [ebp - 0x28]
call fcn.00503a69
add esp, 4
mov esi, dword [ebp - 0x314]
push 0x5b75b4
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00442cb0
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x28]
or ebx, 1
push eax
mov dword [ebp - 0x310], ebx
call fcn.0044d330
add esp, 0x18
lea ecx, [ebp - 0x348]
mov dword [ebp - 4], 4
push ecx
mov ecx, dword [ebp - 0x318]
or ebx, 2
push eax
mov dword [ebp - 0x310], ebx
call fcn.00453980
test al, al
je 0x452b1c
push 0x5b75b4
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00442cb0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0xa0]
or ebx, 4
push eax
mov dword [ebp - 0x310], ebx
call fcn.0044d300
push str..pvk
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 6
or ebx, 8
push eax
mov dword [ebp - 0x310], ebx
call fcn.0044d330
add esp, 0x24
lea ecx, [ebp - 0x330]
mov dword [ebp - 4], 7
push ecx
mov ecx, dword [ebp - 0x318]
or ebx, 0x10
push eax
mov dword [ebp - 0x310], ebx
call fcn.00453980
mov byte [ebp - 0x309], 1
test al, al
jne 0x452b23
mov byte [ebp - 0x309], 0
test bl, 0x10
je 0x452b56
and ebx, 0xffffffef
cmp dword [ebp - 0x74], 8
jb 0x452b3f
push dword [ebp - 0x88]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
test bl, 8
je 0x452b92
and ebx, 0xfffffff7
cmp dword [ebp - 0x8c], 8
jb 0x452b75
push dword [ebp - 0xa0]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
test bl, 4
je 0x452bbf
and ebx, 0xfffffffb
cmp dword [ebp - 0x44], 8
jb 0x452bab
push dword [ebp - 0x58]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test bl, 2
je 0x452bec
and ebx, 0xfffffffd
cmp dword [ebp - 0x14], 8
jb 0x452bd8
push dword [ebp - 0x28]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
test bl, 1
je 0x452c0c
and ebx, 0xfffffffe
cmp dword [ebp - 0x5c], 8
jb 0x452c0c
push dword [ebp - 0x70]
call fcn.00503a69
add esp, 4
cmp byte [ebp - 0x309], 0
je 0x452d8a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00528380
mov esi, eax
lea ecx, [ebp - 0x28]
push esi
call fcn.0043dbd0
mov ecx, dword [ebp - 0x318]
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00450200
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x452c6b
push dword [ebp - 0x28]
call fcn.00503a69
add esp, 4
push esi
call fcn.00503a21
push 0x5b75b4
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00442cb0
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d330
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x452ca0
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
cmp dword [ebp - 0x14], 8
jb 0x452cba
push dword [ebp - 0x28]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
jb 0x452ce3
push dword [ebp - 0x70]
call fcn.00503a69
add esp, 4
push 0x5b75b4
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00442cb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044d300
push str..pvk
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
call fcn.0044d330
add esp, 0x24
cmp dword [eax + 0x14], 8
jb 0x452d22
mov eax, dword [eax]
push eax
call esi
cmp dword [ebp - 0x14], 8
jb 0x452d36
push dword [ebp - 0x28]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x452d5b
push dword [ebp - 0x58]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
jb 0x452d84
push dword [ebp - 0x70]
call fcn.00503a69
add esp, 4
mov esi, dword [ebp - 0x314]
lea eax, [ebp - 0x308]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4528f3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 1
call fcn.0044cf70
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0
call fcn.0044cf70
cmp dword [ebp - 0x2c], 8
jb 0x452dd8
push dword [ebp - 0x40]
call fcn.00503a69
add esp, 4
mov al, bl
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.00501f35
mov esp, ebp
pop ebp
ret 4