Function at 0x409fa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438031
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x454288]
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
push 0x43e9ac
mov edx, 0x456f04
lea ecx, [ebp - 0x28]
call fcn.00403190
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2ac], ecx
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [ebp - 0x2a8], cx
mov dword [ebp - 0x2a4], ecx
lea ecx, [ebp - 0x2ac]
push eax
mov dword [0x455dc0], 0
mov dword [ebp - method.dirEnum.virtual_0], vtable.dirEnum.0
call fcn.00403810
mov byte [ebp - 4], 1
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x2a0]
xor eax, eax
push str.router_
mov word [ebp - 0x29c], ax
mov dword [ebp - 0x298], eax
call fcn.00403810
push 0x250
lea eax, [ebp - 0x294]
mov dword [ebp - 0x44], 0xffffffff
push 0
push eax
call fcn.00430ad0
add esp, 0xc
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.00403340
test al, al
je 0x40a2d0
push ecx
lea edx, [ebp - 0x2b8]
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x25a]
mov dword [ebp - 0x2b8], 0
call fcn.0040a550
add esp, 4
test al, al
je 0x40a2bd
mov ecx, dword [0x4688d4]
xor eax, eax
mov esi, dword [ebp - 0x2b8]
mov edx, dword [ecx]
test edx, edx
je 0x40a0f3
mov ecx, 0x4570d0
lea ecx, [ecx]
cmp dword [ecx], esi
je 0x40a206
inc eax
add ecx, 0x118
cmp eax, edx
jb 0x40a0e0
xor edi, edi
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00403190
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x40a16d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00402000
mov byte [ebp - 4], 3
mov bl, al
cmp dword [ebp - 0x2c], 8
jb 0x40a190
push dword [ebp - 0x40]
call fcn.00426e53
add esp, 4
test bl, bl
je 0x40a276
sub esp, 8
lea ecx, [ebp - 0x2d8]
call fcn.004021a0
test al, al
je 0x40a276
mov ecx, dword [ebp - 0x2c4]
lea edx, [ebp - 0x2b4]
push 0
call fcn.004014d0
mov ecx, dword [ebp - 0x2b4]
add esp, 4
test ecx, ecx
je 0x40a276
test edi, edi
je 0x40a1e2
cmp dword [edi + 0x110], ecx
je 0x40a276
mov eax, dword [0x455dc4]
mov eax, dword [eax]
cmp eax, 0x100
jae 0x40a251
mov dword [eax*8 + 0x4555c0], esi
mov dword [eax*8 + 0x4555c4], ecx
inc dword [0x455dc0]
jmp 0x40a283
cmp eax, 0xffffffff
je 0x40a0f3
cmp eax, edx
jae 0x40a224
imul eax, eax, 0x118
lea edi, [eax + 0x4570d0]
jmp 0x40a0f5
call fcn.00426c8a
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x1b9
push str.e:workcommonwtvector.h
push str.ERROR
call fcn.0040ae90
add esp, 0x14
mov edi, 0x4570d0
jmp 0x40a0f5
call fcn.00426c8a
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x181
push str.e:workcommonwtvector.h
push str.ERROR
call fcn.0040ae90
add esp, 0x14
jmp 0x40a283
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2d8]
test eax, eax
je 0x40a2a4
push eax
call fcn.00426cde
add esp, 4
mov dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c0]
cmp eax, ecx
je 0x40a2bd
push eax
call fcn.004275a9
add esp, 4
lea ecx, [ebp - 0x2b0]
call fcn.00403340
test al, al
jne 0x40a093
lea ecx, [ebp - 0x2b0]
mov byte [0x456da0], 1
call fcn.00403290
cmp dword [ebp - 0x14], 8
jb 0x40a2f3
push dword [ebp - 0x28]
call fcn.00426e53
add esp, 4
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.00426c47
mov esp, ebp
pop ebp
ret