Function at 0x100224f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097ac3
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x100d8574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
call fcn.100083b0
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
push 8
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], 0x3f800000
call fcn.10008700
push 0xb
push str._data_:
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10009b30
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 4
call fcn.10005f90
mov ecx, eax
test ecx, ecx
je 0x1002287f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
push 0x100b497c
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.10005660
test al, al
jne 0x1002262d
push 0
push 0x100b497c
lea ecx, [ebp - 0x250]
call fcn.10007cf0
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
lea ecx, [ebx + 0x7c]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1001aaf0
or edi, 0xffffffff
test eax, eax
je 0x100227e4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100702c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100dd008]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.update
push eax
call esi
push dword [ebx + 0x80]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push str..png
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.10005f90
mov ecx, eax
test ecx, ecx
je 0x10022889
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x24c]
call fcn.10005660
test al, al
jne 0x10022752
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022730
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.10007cf0
push dword [ebx + 0xd4]
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 8
push 0x7d0
push eax
lea eax, [ebx + 0x80]
push eax
call fcn.100434c0
mov edx, dword [ebp - 0x24c]
mov esi, eax
add esp, 0x10
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002279a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x100227e6
lea edx, [ebp - 0x218]
lea eax, [edx + 2]
lea ecx, [ebx + 0x78]
mov dword [ebp - 0x24c], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100227b0
sub edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.10007cf0
push 0
push 1
push 0x402
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100227e6
xor esi, esi
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10022805
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x1002283b
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022893
push edx
push ecx
call fcn.10033972
add esp, 8
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100045d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033cf1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005640
push 0x80004005
call fcn.10005640
call fcn.10073759
int3