Function at 0x40b760
Capabilities:
Delete directory
Delete file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x46a5e2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x49334c
mov dword [esp + 0x18], ebx
call fcn.00420fc0
mov eax, dword [0x4932d4]
mov byte [0x4932e7], 1
cmp eax, 0xffffffff
je 0x40b7af
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [0x4948b0], ebx
jle 0x40b7f0
xor esi, esi
jmp 0x40b7c0
cmp esi, ebx
jl 0x40ba48
cmp edi, dword [0x4948a4]
jge 0x40ba48
mov eax, dword [0x4948a0]
mov eax, dword [esi + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc edi
add esi, 0xc
cmp edi, dword [0x4948b0]
jl 0x40b7c0
cmp byte [0x4932e8], bl
jne 0x40ba34
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 2
push ecx
call fcn.004284e0
lea edx, [esp + 0x40]
add esp, 8
push edx
call fcn.00405780
add esp, 0x10
push str.C:Program_FilesCommon_FilesBorland_SharedBDE
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], ebx
call fcn.00428f60
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.004292a0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 2
call fcn.00429140
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.00429130
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x24]
call fcn.004292a0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 3
call fcn.00429140
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.00429130
xor edi, edi
cmp dword [0x49490c], ebx
jle 0x40b9c4
xor esi, esi
lea ebp, [edi + 6]
lea ecx, [ecx]
push 0
sub esp, 0xc
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00428fd0
mov byte [esp + 0x68], 4
test esi, esi
jl 0x40ba48
cmp edi, dword [0x494900]
jge 0x40ba48
mov eax, dword [0x4948fc]
lea edx, [esp + 0x54]
lea ecx, [esi + eax]
push edx
call fcn.004292a0
or ebx, 1
mov byte [esp + 0x68], 5
mov dword [esp + 0x28], ebx
mov ecx, eax
mov dword [esp + 0x68], ebp
call fcn.00429320
test eax, eax
jg 0x40b95a
push 0
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00428fd0
cmp edi, dword [0x494900]
mov dword [esp + 0x68], 7
jge 0x40ba48
mov ecx, dword [0x4948fc]
lea edx, [esp + 0x48]
add ecx, esi
push edx
call fcn.004292a0
or ebx, 2
mov byte [esp + 0x68], 8
mov dword [esp + 0x28], ebx
mov ecx, eax
mov dword [esp + 0x68], 9
call fcn.00429320
mov byte [esp + 0x17], 0
test eax, eax
jle 0x40b95f
mov byte [esp + 0x17], 1
mov dword [esp + 0x58], ebp
test bl, 2
je 0x40b978
and ebx, 0xfffffffd
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
call fcn.00429130
mov dword [esp + 0x58], 1
test bl, 1
je 0x40b991
lea ecx, [esp + 0x44]
and ebx, 0xfffffffe
call fcn.00429130
cmp byte [esp + 0x17], 0
jne 0x40b9b4
cmp edi, dword [0x494900]
jge 0x40ba48
mov eax, dword [0x4948fc]
mov eax, dword [esi + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc edi
add esi, 0xc
cmp edi, dword [0x49490c]
jl 0x40b8a0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x473368
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor edi, edi
cmp dword [0x49492c], edi
jle 0x40ba15
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor esi, esi
lea esp, [esp]
test esi, esi
jl 0x40ba48
cmp edi, dword [0x494920]
jge 0x40ba48
mov ecx, dword [0x49491c]
mov eax, dword [esi + ecx + 4]
push eax
call ebx
inc edi
add esi, 0xc
cmp edi, dword [0x49492c]
jl 0x40b9f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0
call fcn.00429130
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.00429130
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
call fcn.0043a1fe
int3