Function at 0x419fa0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628938
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
call fcn.0044ce39
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x419fed
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], edi
call fcn.0044ce39
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41a019
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x4c]
push 0x66bac4
push ecx
call fcn.00405900
lea esi, [ebp - 0x44]
call fcn.004046d0
lea edx, [ebp - 0x4c]
push edx
push eax
lea eax, [ebp - 0x48]
mov bl, 2
push eax
mov byte [ebp - 4], bl
call fcn.00402d70
push str.background.bmp
push eax
lea ecx, [ebp - 0x40]
push ecx
mov byte [ebp - 4], 3
call fcn.0040cfd0
add esp, 0x24
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004017f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a0a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a0c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a0e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x50]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esi, [ebp - 0x40]
call fcn.004046d0
push str.background.bmp
push eax
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 4], 5
call fcn.0040cfd0
mov eax, dword [eax]
add esp, 0xc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a138
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a15b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41a2b0
push 4
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x48]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.BackGround.png
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
call fcn.004016c0
push ecx
mov byte [ebp - 4], 6
lea esi, [ebx - 0x10]
mov dword [ebp - 0x54], esp
mov edi, esp
push esi
call fcn.00401780
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 7
call fcn.0041e590
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0057d7b0
test eax, eax
jne 0x41a20d
push 3
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.BackGround.png
call fcn.004016c0
push ecx
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], esp
mov edi, esp
push esi
call fcn.00401780
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 9
call fcn.0041e590
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0057d7b0
cmp eax, 1
jne 0x41a2b0
lea ecx, [ebp - 0x3c]
call fcn.0041dca0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x40]
xor ecx, ecx
push 0xe
xor eax, eax
mov dword [ebp - 0x30], ecx
push str.BackGround.png
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], esi
call fcn.00401a60
mov edi, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
push edx
lea ecx, [edi + 0x13c]
call fcn.0041c710
mov esi, dword [edi + 0x13c]
cmp esi, dword [edi + 0x140]
je 0x41a28d
mov eax, dword [esi + 4]
push 0x66bae8
push eax
call fcn.0054ebe9
add esp, 8
test eax, eax
je 0x41a287
add esi, 0x28
cmp esi, dword [edi + 0x140]
jne 0x41a265
jmp 0x41a28d
mov dword [esi], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret 4