Function at 0x415a20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477572
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 0x415b01
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 0x415b68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
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 0x415bec
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 0x415bcc
mov esi, dword [esi + 0x10]
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 0x415bce
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 0x415c73
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 0x415c53
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 0x415c46
lea ecx, [ebp - 0x48]
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00415830
jmp 0x415c55
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 0x415d1f
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 0x415cc8
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 0x415d05
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 0x415d07
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 0x415e3c
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 0x415d6f
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 0x415e3c
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 0x415df0
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 0x415df2
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 0x415e6c
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 0x415e8d
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 0x415ebe
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