Function at 0x410f33
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebx + 0xc]
call fcn.004064fa
mov eax, dword [ebx]
mov edi, dword [eax + 8]
xor esi, esi
test edi, edi
jle 0x410f83
push esi
mov eax, ebx
call fcn.00410ccf
cmp eax, 2
jne 0x410f7e
mov eax, dword [ebx]
lea ecx, [eax + 4]
mov eax, esi
call fcn.00419e71
lea ecx, [eax + 0x24]
push ecx
push 4
push esi
push dword [eax + 0x20]
add eax, 0xc
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.0040646b
inc esi
cmp esi, edi
jl 0x410f4e
mov eax, dword [0x42a5a0]
mov ecx, 0x42a5a0
call dword [eax + 0xc]
add eax, 0x10
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x410fbd
push 0xc7
lea ecx, [ebp - 0xc]
call fcn.00401000
pop ecx
lea edi, [ebp - 0x10]
call fcn.0040158b
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040175b
and dword [ebp - 4], 0
lea esi, [ebx + 0x10]
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebp - 0x18], eax
jle 0x411115
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.00418e78
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edi, eax
je 0x411054
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, al
jne 0x411115
mov eax, dword [0x42a5a0]
mov ecx, 0x42a5a0
call dword [eax + 0xc]
mov ecx, dword [ebx]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
add ecx, 4
call fcn.00419e71
mov esi, eax
call fcn.00403d1d
push eax
lea esi, [ebp - 0x10]
call fcn.00403d1d
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403d0a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea esi, [ebp - 0xc]
mov dword [ebp - 0x14], eax
call fcn.00403d1d
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040175b
push dword [ebp - 4]
lea eax, [ebx + 0xc]
call fcn.00406507
mov eax, dword [ebp - 4]
lea esi, [ebx + 0x10]
mov ecx, esi
call fcn.00418e78
cmp dword [eax + 0xc], 0
jne 0x4110f0
lea eax, [edi + 0x14]
push eax
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebx + 0xc]
call fcn.00406655
add esp, 0xc
cmp dword [edi + 4], 0
je 0x41109d
lea eax, [ebp - 8]
call fcn.004050a5
cmp dword [edi + 4], eax
jne 0x41112a
mov edi, dword [edi + 0x10]
mov ecx, dword [ebx]
add ecx, 4
mov eax, edi
call fcn.00419e71
add eax, 0x1c
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x4110c8
push 0
push eax
lea edx, [ebp - 8]
call fcn.004053fa
test al, al
pop ecx
pop ecx
je 0x41112a
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.00418e78
mov ecx, dword [ebx]
mov eax, dword [eax + 0x10]
add ecx, 4
call fcn.00419e71
mov byte [eax + 0x5c], 1
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040175b
jmp 0x411106
mov eax, dword [ebp - 4]
push 0
mov ecx, esi
call fcn.00418e78
push dword [eax + 0x10]
mov ecx, dword [ebx]
call fcn.0041967b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jl 0x410fd2
xor esi, esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040175b
pop edi
mov eax, esi
pop esi
leave
ret 4
lea esi, [ebp - 8]
call fcn.00403d1d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 8]
push 0x5c
mov eax, edi
call fcn.004015e9
test eax, eax
pop ecx
jne 0x41114f
or edx, 0xffffffff
jmp 0x411153
sub eax, edi
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.0040ba25
push eax
lea eax, [ebp + 8]
push eax
mov eax, edx
lea esi, [ebp - 8]
call fcn.004014a5
push eax
call fcn.0040d8d4
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040175b
lea eax, [edi - 0x10]
call fcn.0040175b
push 5
pop esi
jmp 0x411117