Function at 0x412d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b175
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x31c3c]
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412d82
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a4a0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.00411fb0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412f09
test al, 0x10
je 0x412f09
lea ecx, [ebp - 0x48]
call fcn.00412410
cmp dword [esi + 0x400], 0
je 0x412f11
cmp dword [esi + 0x33c70], 0
je 0x412f11
push str.DeleteFileRecursive
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push eax
call fcn.00411fb0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x4733c8
push 0x17
push 0
push 0x48187c
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x2c]
push 0x614
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x30]
push ecx
push 0x470a34
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x48]
push 0
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov eax, dword [ebp - 0x2c]
push 0
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x412e93
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 7
test eax, eax
je 0x412ec0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
test eax, eax
je 0x412ed1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x412f11
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412efd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f62
push edx
push ecx
call fcn.0044661e
add esp, 8
jmp 0x412f11
lea ecx, [ebp - 0x48]
call fcn.00412410
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x412f47
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f67
push edx
push ecx
call fcn.0044661e
add esp, 8
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.004465ed
mov esp, ebp
pop ebp
ret
call fcn.00451250
call fcn.00451250
int3