Function at 0x100236b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098e03
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x100de66c]
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.100085a0
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.100088f0
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.10009d20
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 4
call fcn.10006290
mov ecx, eax
test ecx, ecx
je 0x10023a3f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
push 0x100ba198
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.100059a0
test al, al
jne 0x100237ed
push 0
push 0x100ba198
lea ecx, [ebp - 0x250]
call fcn.10007f20
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
lea ecx, [ebx + 0x80]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1001c050
or edi, 0xffffffff
test eax, eax
je 0x100239a4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100e324c]
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 + 0x84]
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.10006290
mov ecx, eax
test ecx, ecx
je 0x10023a49
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.100059a0
test al, al
jne 0x10023912
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100238f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.10007f20
push dword [ebx + 0xd8]
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 8
push 0x7d0
push eax
lea eax, [ebx + 0x84]
push eax
call fcn.10044980
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 0x1002395a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x100239a6
lea edx, [ebp - 0x218]
lea eax, [edx + 2]
lea ecx, [ebx + 0x7c]
mov dword [ebp - 0x24c], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10023970
sub edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.10007f20
push 0
push 1
push 0x402
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100239a6
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 0x100239c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x100239fb
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100239f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023a53
push edx
push ecx
call fcn.100307d8
add esp, 8
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10004a30
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.10030b57
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005980
push 0x80004005
call fcn.10005980
call fcn.10073f6e
int3