Function at 0x10076d2
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x100e03c]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push 6
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x14]
pop ecx
mov dword [ebp - 0x41c], eax
xor eax, eax
push edx
lea edi, [ebp - 0x43c]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
push ebx
push esi
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x420], ebx
mov dword [edx], ebx
mov dword [ebp - 0x43c], 0x1002084
mov dword [ebp - 0x438], 0x1002078
mov dword [ebp - 0x434], 0x1002068
mov dword [ebp - 0x430], 0x100205c
mov dword [ebp - 0x42c], 0x1002050
mov dword [ebp - 0x428], 1
call fcn.010037b2
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x43c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x424]
push edi
lea eax, [ebp - 0x43c]
push eax
push ebx
push ebx
push dword [ebp - 0x418]
mov dword [ebp - 0x43c], 0x1002048
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
call fcn.010037b2
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
mov eax, dword [edi]
cmp eax, ebx
je 0x1007a0d
lea ecx, [ebp - 0x440]
push ecx
mov ecx, dword [ebp - 0x41c]
add ecx, 8
push ecx
push eax
push dword [ebp - 0x410]
push dword [ebp - 0x418]
call fcn.01006020
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
push 0x200
lea eax, [ebp - 0x40c]
push eax
push 0x3f6
push dword [0x100e2c8]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [0x100e2dc], ebx
jne 0x1007834
push 0x10040
lea eax, [ebp - 0x40c]
push eax
call fcn.0100433c
push dword [ebp - 0x410]
call fcn.010061d1
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x420]
push eax
push 0x1002aa8
push 1
push ebx
push 0x1002ab8
call edi
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
lea eax, [ebp - 0x414]
push eax
push 0x1002a98
push 1
push ebx
push 0x1002a88
call edi
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
push dword [ebp - 0x410]
lea eax, [ebp - 0x20c]
push 0x1002038
push 0x208
push eax
call sub.SHLWAPI.dll_wnsprintfA
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x414]
push dword [ebp - 0x410]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb0]
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xb4]
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
lea eax, [ebp - 0x448]
push eax
push dword [ebp - 0x410]
call fcn.010042c6
mov esi, eax
cmp esi, ebx
jl 0x1007a0d
cmp ebx, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x440]
jb 0x1007935
mov eax, dword [ebp - 0x448]
ja 0x1007920
cmp ecx, eax
jbe 0x1007935
mov dword [0x100e2cc], ecx
mov dword [0x100e2d0], eax
mov esi, 0x800c0079
jmp 0x1007a0d
mov eax, dword [ebp - 0x424]
mov esi, dword [eax]
jmp 0x10079c2
cmp dword [esi + 0x610], ebx
je 0x10079bc
push esi
push dword [ebp - 0x41c]
call fcn.01003e95
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x41c]
mov dword [ebp - 0x418], ebx
push esi
push dword [ebp + 8]
push dword [ebp - 0x420]
call fcn.01005ee0
cmp eax, ebx
mov dword [esi + 0x614], eax
jge 0x10079bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x418], ebx
mov dword [esi + 0x618], eax
je 0x10079ca
cmp dword [0x100e2dc], ebx
jne 0x10079bc
lea edi, [esi + 0x62c]
jmp 0x10079b2
push esi
push dword [ebp - 0x41c]
call fcn.01003d7c
mov eax, dword [esi + 0x628]
cmp eax, dword [edi]
jb 0x10079a6
mov esi, dword [esi + 0x648]
cmp esi, ebx
jne 0x1007942
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x424]
push dword [eax]
push dword [ebp - 0x414]
push dword [ebp - 0x420]
call fcn.010072a1
mov esi, eax
cmp esi, ebx
jge 0x10079fc
push dword [ebp - 0x410]
call fcn.010061d1
jmp 0x1007a0d
push dword [ebp - 0x414]
push dword [ebp - 0x410]
call fcn.010075a5
mov eax, dword [ebp - 0x414]
cmp eax, ebx
je 0x1007a1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.010086b7
leave
ret 0x14