Function at 0x1006745
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x22a0
call fcn.0101d770
mov eax, dword [0x1023da8]
push ebx
mov dword [ebp - 0x1ea0], ecx
push esi
mov ecx, 0x1024d70
mov dword [ebp - 4], eax
call fcn.0100e108
mov ecx, 0x1024d20
call fcn.0100d232
mov eax, dword [0x1024cac]
xor esi, esi
cmp dword [0x10231a0], esi
mov dword [ebp - 0x1e9c], eax
je 0x100679e
mov ecx, dword [ebp - 0x1ea0]
call fcn.01005ebd
mov dword [ebp - 0x1e9c], eax
mov eax, dword [0x1024c80]
xor ebx, ebx
inc ebx
cmp eax, esi
je 0x10067f2
mov ecx, dword [eax + 0x78]
cmp ecx, esi
je 0x10067d5
call fcn.0101c98a
mov eax, dword [0x1024c80]
mov ecx, dword [eax + 0x78]
cmp ecx, esi
je 0x10067d5
push ebx
call fcn.0100580e
mov eax, dword [0x1024c80]
mov dword [eax + 0x78], esi
mov eax, dword [0x1024c80]
mov ecx, eax
call fcn.0100f80b
mov ecx, dword [0x1024c80]
cmp ecx, esi
je 0x10067f2
push ebx
call fcn.01005834
mov dword [0x1024c80], esi
mov ecx, dword [0x1024c78]
cmp ecx, esi
je 0x1006817
call fcn.0100f80b
mov ecx, dword [0x1024c78]
cmp ecx, esi
je 0x1006817
push ebx
call fcn.01005834
mov dword [0x1024c78], esi
mov eax, dword [0x1024c7c]
cmp eax, esi
je 0x1006868
mov ecx, dword [eax + 0x78]
cmp ecx, esi
je 0x100684b
call fcn.0101c98a
mov eax, dword [0x1024c7c]
mov ecx, dword [eax + 0x78]
cmp ecx, esi
je 0x100684b
push ebx
call fcn.0100580e
mov eax, dword [0x1024c7c]
mov dword [eax + 0x78], esi
mov eax, dword [0x1024c7c]
mov ecx, eax
call fcn.0100f80b
mov ecx, dword [0x1024c7c]
cmp ecx, esi
je 0x1006868
push ebx
call fcn.01005834
mov dword [0x1024c7c], esi
mov ecx, dword [0x1024c74]
cmp ecx, esi
je 0x100688d
call fcn.0100f80b
mov ecx, dword [0x1024c74]
cmp ecx, esi
je 0x100688d
push ebx
call fcn.01005834
mov dword [0x1024c74], esi
push edi
mov edi, 0x1024440
cmp dword [edi], esi
je 0x100689f
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 4
cmp edi, 0x1024450
jl 0x1006893
cmp dword [0x1024c5c], esi
jne 0x1006966
cmp dword [0x1024c9c], esi
jne 0x1006966
mov edi, 0x1024e20
mov ecx, edi
call fcn.0100a0c1
mov ecx, edi
call fcn.0100a016
cmp dword [0x1024c5c], esi
jne 0x1006966
cmp dword [0x1024c9c], esi
jne 0x1006966
cmp dword [0x1024c68], esi
je 0x1006966
lea ecx, [ebp - 0x1e98]
call fcn.0100a20b
push dword [0x1024c58]
lea ecx, [ebp - 0x1e98]
call fcn.0100a258
lea eax, [ebp - 0x22a0]
push eax
lea ecx, [ebp - 0x1e98]
call fcn.0100a63f
push dword [ebp - 0x1e94]
lea eax, [ebp - 0x22a0]
push 0x1024458
push eax
lea ecx, [ebp - 0x1e98]
call fcn.0100a7a8
test eax, eax
je 0x1006950
push 0x1024858
lea ecx, [ebp - 0x1e98]
call fcn.0100a597
lea ecx, [ebp - 0x1e98]
call fcn.0100a6b1
lea ecx, [ebp - 0x1e98]
call fcn.0100a238
mov eax, dword [0x1024c84]
cmp eax, esi
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
je 0x1006990
push dword [eax + 4]
call edi
mov ecx, dword [0x1024c84]
cmp ecx, esi
je 0x1006990
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov dword [0x1024c84], esi
mov ecx, dword [0x1024228]
cmp ecx, esi
je 0x10069a6
push ebx
call fcn.0100585a
mov dword [0x1024228], esi
call fcn.010121a2
mov ecx, dword [0x1024c98]
cmp ecx, esi
mov eax, dword [0x1024c90]
mov dword [0x1068668], eax
je 0x10069ca
call fcn.0101e072
mov dword [0x1024c98], esi
mov eax, dword [0x1024ca4]
cmp eax, esi
je 0x1006a00
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1006a00
mov eax, dword [0x1024ca4]
push dword [eax + 4]
call edi
mov ecx, dword [0x1024ca4]
cmp ecx, esi
je 0x1006a00
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov dword [0x1024ca4], esi
mov eax, dword [0x1024ca0]
cmp eax, esi
je 0x1006a10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1024230
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.USER32.dll_PostThreadMessageW]
push esi
push esi
push 0x12
push dword [0x1024e88]
call edi
mov eax, dword [0x1024e90]
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x1006a45
push 0x3e8
push eax
call ebx
push esi
push esi
push 0x12
push dword [0x1024e8c]
call edi
mov eax, dword [0x1024e94]
cmp eax, 0xffffffff
pop edi
je 0x1006a64
push 0x3e8
push eax
call ebx
mov ecx, dword [ebp - 0x1ea0]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1e9c]
pop esi
pop ebx
call fcn.0101d23a
leave
ret