Function at 0x402e30
Capabilities:
Delete file
Get file attributes
Get number of processors
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42c9e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x439f34]
push ebx
push ebp
mov ebx, 1
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebp
mov eax, dword [esi + 0x34]
xor ecx, ecx
cmp eax, ebp
mov byte [esp + 0x30], bl
mov dword [esi + 0x4c], eax
mov dword [esp + 0x14], ecx
jle 0x40309c
test ebx, ebx
je 0x40309c
mov eax, dword [esi + 0x30]
test byte [eax + ebp + 8], 0x10
jne 0x403085
lea edi, [esi + 0x2c]
push ecx
mov ecx, edi
call fcn.00403a50
mov ecx, eax
call fcn.004031a0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0042353d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x402f2d
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402f2d
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.00403a50
mov ecx, eax
call fcn.004031a0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0042353d
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00403550
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.004238b5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.004237c8
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00423eb9
mov edx, dword [esi + 0x50]
mov ecx, esi
inc edx
mov dword [esi + 0x50], edx
call fcn.004031b0
mov ecx, esi
call fcn.00403220
mov ecx, esi
call fcn.004032a0
test eax, eax
je 0x402f53
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edx, dword [esi + 0x30]
mov eax, dword [edx + ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test ebx, ebx
je 0x403085
cmp eax, 0xffffffff
jne 0x402f91
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Delete_failed
mov dword [esp + 0x18], ebx
call fcn.00423836
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x403085
test al, 6
je 0x402faa
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x402faa
mov eax, dword [esi + 0x4c]
dec eax
xor ebx, ebx
mov dword [esi + 0x4c], eax
jmp 0x403085
mov ecx, dword [esi + 0x30]
push 0x80
mov eax, dword [ecx + ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x402feb
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x402feb
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Delete_failed
call fcn.00423836
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
jmp 0x403085
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
test eax, eax
mov dword [esp + 0x28], esp
mov ecx, esp
jne 0x403046
push str.Delete_failed
call fcn.00423836
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], 0
test eax, eax
jne 0x403026
xor ebx, ebx
lea edi, [esi + 0x28]
push 0x4381fc
mov ecx, edi
call fcn.00423b58
mov eax, dword [esi + 0x30]
lea ecx, [eax + ebp + 4]
push ecx
mov ecx, edi
call fcn.00423b94
jmp 0x403085
push str.Delete_successful
call fcn.00423836
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x403085
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00403a50
mov ecx, eax
call fcn.004031a0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0042353d
mov ecx, esi
call fcn.004032d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x34]
inc ecx
add ebp, 0x38
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x402e82
mov eax, dword [esi + 0x34]
xor edi, edi
test eax, eax
jle 0x4030e4
xor ebp, ebp
test ebx, ebx
je 0x4030e4
mov ecx, dword [esi + 0x30]
test byte [ecx + ebp + 8], 0x10
je 0x4030d9
push edi
lea ecx, [esi + 0x2c]
call fcn.00403a50
mov ecx, eax
call fcn.004031a0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0042353d
mov ecx, esi
call fcn.00403400
mov eax, dword [esi + 0x34]
inc edi
add ebp, 0x38
cmp edi, eax
jl 0x4030a7
push 0x4381fc
lea ecx, [esi + 0x28]
call fcn.00422d06
mov edi, dword [esp + 0x10]
test edi, edi
je 0x403140
mov eax, dword [esi + 0x18]
test eax, eax
je 0x403124
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403124
mov eax, dword [esi + 0x18]
push 0
push 0x64
push 0x402
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x403162
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403162
push str.Done
jmp 0x40315a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x403162
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403162
push str.Error
mov ecx, dword [esi + 0x1c]
call fcn.00423eb9
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.004237c8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.004237c8
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret