Function at 0x410e80
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5069c1
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x556754]
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, dword [ebp + 8]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 1
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x411264
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
movaps xmm0, xmmword [0x516b80]
movups xmmword [ebp - 0x48], xmm0
push 0x38
movaps xmm0, xmmword [0x516b90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x74], 1
movaps xmm0, xmmword [0x516ba0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x100
call fcn.004b58fc
mov ebx, eax
lea ecx, [ebp - 0x48]
mov edx, ecx
mov dword [ebp - 0x64], ebx
add esp, 4
mov edi, ebx
sub edx, ebx
lea eax, [ebx + 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx]
add ecx, 8
mov dword [edi], eax
mov eax, dword [edx + edi + 4]
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
add edi, 8
cmp ecx, eax
jne 0x410f32
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 2
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x41126e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 3
push dword [eax + 0xc]
push dword [eax + 0x38]
lea eax, [ebp - 0x54]
push str._s_s.ico
push eax
call fcn.00409580
mov esi, dword [ebp - 0x54]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410f9e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x64], edi
je 0x410fcc
movzx esi, word [ebp + 0x14]
mov eax, dword [ebx + 4]
push 0
push eax
push eax
push 1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebx], eax
add ebx, 8
cmp ebx, edi
jne 0x410fa7
mov esi, dword [ebp - 0x54]
xor ebx, ebx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x64]
mov byte [ebp - 4], 4
mov dword [ebp - 0x4c], edx
cmp edx, edi
je 0x41117a
nop dword [eax]
mov ebx, dword [edx]
mov dword [ebp - 0x58], ebx
test ebx, ebx
je 0x41101d
cmp eax, ecx
je 0x411007
mov dword [eax], ebx
add eax, 4
mov dword [ebp - 0x6c], eax
jmp 0x41101d
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040d080
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x4c]
add edx, 8
mov dword [ebp - 0x4c], edx
cmp edx, edi
jne 0x410ff0
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x4c], ecx
cmp ebx, eax
je 0x41117a
sub eax, ebx
sar eax, 2
push esi
push eax
push ebx
call fcn.00427610
add esp, 0xc
test eax, eax
jne 0x4110ae
mov byte [ebp - 4], 3
test ebx, ebx
je 0x411088
mov eax, dword [ebp - 0x4c]
sub eax, ebx
sar eax, 2
lea ecx, [eax*4]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41107e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41125f
push ecx
push ebx
call fcn.004b592c
add esp, 8
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4110a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x64]
mov esi, ebx
jmp 0x4111d4
mov eax, dword [ebp - 0x50]
lea edx, [esi - 0x10]
mov dword [ebp - 0x80], edx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x78], ecx
cmp edx, ecx
je 0x411114
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x58], eax
jl 0x411108
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x411108
push edx
call fcn.0040f630
mov edx, dword [ebp - 0x58]
add esp, 4
mov dword [ebp - 0x7c], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110fe
mov esi, dword [ebp - 0x78]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x50]
add eax, 0x10
mov dword [ecx], eax
jmp 0x411114
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x50]
push esi
call fcn.0040b860
mov byte [ebp - 4], 3
test ebx, ebx
je 0x411153
mov eax, dword [ebp - 0x4c]
sub eax, ebx
sar eax, 2
lea ecx, [eax*4]
mov eax, ebx
cmp ecx, 0x1000
jb 0x411149
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41125f
push ecx
push ebx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x80]
or eax, 0xffffffff
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4110a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x64]
mov esi, ebx
jmp 0x4111d4
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4111af
sub ecx, ebx
mov eax, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4111a5
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41125f
push ecx
push ebx
call fcn.004b592c
add esp, 8
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4111cb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x64]
mov esi, ebx
cmp ebx, edi
je 0x4111e8
mov eax, dword [esi]
test eax, eax
je 0x4111e1
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
add esi, 8
cmp esi, edi
jne 0x4111d4
test ebx, ebx
je 0x411218
mov ecx, dword [ebp - 0x5c]
sub ecx, ebx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x41120e
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x41125f
mov ebx, edx
push ecx
push ebx
call fcn.004b592c
add esp, 8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x411240
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x411240
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x411240
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
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.004b5d96
mov esp, ebp
pop ebp
ret
call fcn.004d899e
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
int3