Function at 0x10068bc
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x100c058]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [esi + 8], ebx
lea edi, [ebp - 0x33c]
mov dword [ebp - 0x340], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x32c]
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x328], 1
stosd dword es:[edi], eax
jne 0x1006965
cmp dword [esi + 0x18], ebx
je 0x1006915
push dword [ebp + 0xc]
push esi
call fcn.010065e0
jmp 0x1006bac
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x1006947
push ebx
push 0x1005b4e
push eax
mov dword [0x100c788], ebx
call dword [sym.imp.USER32.dll_EnumThreadWindows]
mov eax, dword [0x100c788]
cmp eax, ebx
je 0x100693f
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
xor eax, eax
inc eax
jmp 0x1006bac
push 0x104
lea eax, [ebp - 0x108]
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
jmp 0x1006ae9
push 0x104
lea eax, [ebp - 0x324]
push eax
xor eax, eax
mov ax, word [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
test eax, eax
je 0x1006b73
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x344], eax
je 0x1006b73
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x324]
push eax
call fcn.01005a98
cmp byte [eax], 0x2e
mov dword [ebp - 0x334], eax
jne 0x10069c3
inc eax
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x354]
push eax
call edi
lea eax, [ebp - 0x324]
push eax
push dword [ebp - 0x330]
lea eax, [ebp - 0x220]
push 0x1001520
push 0x118
push eax
call fcn.01001b8c
add esp, 0x14
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x334]
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.WININET.dll_CreateUrlCacheEntryA]
test eax, eax
je 0x1006b73
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
cmp eax, ebx
mov dword [ebp - 0x338], eax
jl 0x1006b73
push dword [esi + 4]
push dword [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, dword [esi + 4]
push dword [ebp - 0x338]
jae 0x1006a76
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x1006b66
call dword [sym.imp.KERNEL32.dll__lclose]
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x354]
push eax
call edi
push 1
push ebx
push ebx
push dword [ebp - 0x32c]
call fcn.0100ab40
mov ecx, dword [ebp - 0x330]
xor edi, edi
add eax, ecx
lea ecx, [ebp - 0x220]
push ecx
push dword [ebp - 0x334]
adc edx, edi
push ebx
push ebx
push ebx
push dword [ebp - 0x33c]
add eax, 0x9534e000
push dword [ebp - 0x340]
adc edx, 0x64
push edx
push eax
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x108]
push eax
mov eax, ecx
push eax
mov dword [ebp - 0x32c], edx
call dword [sym.imp.WININET.dll_CommitUrlCacheEntryA]
test eax, eax
je 0x1006b73
cmp dword [esi + 0x18], ebx
je 0x1006b42
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0100682b
mov edi, eax
neg edi
sbb edi, edi
inc edi
jne 0x1006b79
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov word [esi + 2], ax
lea eax, [ebp - 0x220]
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov word [esi + 0x24], ax
jmp 0x1006ba0
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x108]
push eax
mov dword [esi + 0x10], ebx
call fcn.01005d7f
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x328], eax
je 0x1006b9a
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 0x328]
cmp dword [0x100c4ec], ebx
je 0x1006ba5
push ebx
push 0xf060
push 0x112
push dword [0x100d1a4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x1006ba5
mov edi, dword [ebp - 0x328]
call fcn.01001a39
xor eax, eax
cmp edi, ebx
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01002f99
leave
ret 8