Function at 0x416720
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477732
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x49ae1c]
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], ebx
call fcn.00467693
mov dword [ebp - 0xa0], vtable.CFileException.0
call fcn.004676ff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], 0xffffffff
call fcn.004025d0
mov dword [ebp - 4], 1
call fcn.004676ff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 8]
lea edi, [esi + 8]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 2
call fcn.00405470
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x70]
push 0x9b
push edx
mov byte [ebp - 4], 3
call fcn.00401e40
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.004676ff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc]
push eax
lea ecx, [ebp - 0x68]
push 0x47dd7c
push ecx
mov byte [ebp - 4], 4
call fcn.0046ebc0
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.004051f0
add esp, 0x18
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00402fe0
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0xa0]
push edx
mov edx, dword [ebp - 0x70]
push ebx
push edx
mov edx, dword [ebp - 0x68]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00403390
test al, al
jne 0x4168ec
push 0x18
call fcn.00466aca
mov edi, eax
add esp, 4
mov dword [ebp - 0x78], edi
test edi, edi
mov byte [ebp - 4], 6
je 0x4168cc
mov esi, dword [esi + 0x14]
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.00405470
add esp, 8
mov eax, dword [eax]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x6c], 1
call fcn.00415750
jmp 0x4168ce
xor eax, eax
push 0x490570
lea ecx, [ebp - 0x8c]
push ecx
mov dword [ebp - 4], 8
mov dword [ebp - 0x8c], eax
call fcn.0044867a
lea ecx, [ebp - 0x64]
call fcn.00432c60
mov eax, dword [edi]
push 1
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.00433bd0
test al, al
jne 0x416973
push 0x10
call fcn.00466aca
mov esi, eax
add esp, 4
mov dword [ebp - 0x78], esi
test esi, esi
mov byte [ebp - 4], 0xa
je 0x416953
mov edi, dword [edi]
lea edx, [ebp + 0xc]
push edi
push edx
call fcn.00405470
add esp, 8
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x6c], 2
jae 0x416946
lea ecx, [ebp - 0x48]
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00415830
jmp 0x416955
xor eax, eax
mov dword [ebp - 0x88], eax
push 0x490560
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 4], 0xc
call fcn.0044867a
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [esi + 0xc]
mov byte [ebp - 4], 0xd
je 0x416a1f
mov eax, dword [edi]
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.00405470
add esp, 8
mov eax, dword [eax]
push eax
push 0xa3
push ebx
mov byte [ebp - 4], 0xe
call fcn.00415590
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4169c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0xc
call fcn.00466aca
mov esi, eax
add esp, 4
mov dword [ebp - 0x74], esi
test esi, esi
mov byte [ebp - 4], 0xf
je 0x416a05
mov edi, dword [edi]
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.00405470
add esp, 8
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x6c], 4
call fcn.004158f0
jmp 0x416a07
xor eax, eax
push 0x490550
lea ecx, [ebp - 0x7c]
push ecx
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x7c], eax
call fcn.0044867a
mov al, byte [ebp + 0xc]
test al, al
je 0x416b3c
mov eax, dword [edi]
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.00405470
add esp, 8
mov edx, dword [eax]
mov ecx, dword [ebx]
push edx
push 0x9f
push ebx
mov byte [ebp - 4], 0x12
call dword [ecx + 0x18]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416a6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 4
push esi
lea ecx, [ebp - 0x64]
call fcn.0042fb00
test al, al
jne 0x416b3c
mov eax, dword [edi]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00405470
add esp, 8
mov ecx, dword [eax]
push ecx
push 0xa2
push ebx
mov byte [ebp - 4], 0x13
call fcn.00415590
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.00401850
push 0xc
call fcn.00466aca
mov esi, eax
add esp, 4
mov dword [ebp - 0x74], esi
test esi, esi
mov byte [ebp - 4], 0x14
je 0x416af0
mov edi, dword [edi]
lea edx, [ebp + 0xc]
push edi
push edx
call fcn.00405470
add esp, 8
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x6c], 8
call fcn.004158f0
jmp 0x416af2
xor eax, eax
mov dword [ebp - 0x84], eax
push 0x490550
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 4], 0x16
call fcn.0044867a
lea ecx, [ebp - 0x64]
call fcn.00432cf0
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xa4]
push 0x490540
lea ecx, [ebp - 0x80]
push ecx
mov dword [ebp - 0x80], eax
call fcn.0044867a
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 4
call fcn.00432fd0
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416b6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416b8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa0], vtable.CFileException.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00447453
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8