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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4f25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x10
call fcn.00471030
test eax, eax
jg 0x479cc5
xor eax, eax
jmp 0x47a111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x479ce9
mov ecx, dword [ebp - 0x1c]
and ecx, 1
test ecx, ecx
je 0x479ce9
xor eax, eax
jmp 0x47a111
lea ecx, [ebp - 0x64]
call fcn.00402dc0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0xa4]
call fcn.0047a537
test eax, eax
jne 0x479d2f
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004a6f4b
mov eax, dword [ebp - 0x88]
jmp 0x47a111
lea ecx, [ebp - 0x60]
call fcn.004a8111
mov byte [ebp - 4], 1
push 0
push 0x1002
lea ecx, [ebp - 0x64]
call fcn.00430bb0
push eax
lea ecx, [ebp - 0x60]
call fcn.004a82c3
test eax, eax
jne 0x479d87
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004a8206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004a6f4b
mov eax, dword [ebp - 0x8c]
jmp 0x47a111
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0x24], 0
je 0x479dad
push 0x16
mov ecx, dword [ebp - 0xa4]
add ecx, 0x28
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.0048f2e0
add esp, 0xc
jmp 0x479dc0
push 0x10
push str.Temp_File
lea eax, [ebp - 0x50]
push eax
call fcn.0048f2e0
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
add ecx, 0x10
call fcn.00471030
mov word [ebp - 0x3c], ax
mov ecx, dword [ebp - 0x3c]
and ecx, 0xffff
imul ecx, ecx, 0x11
mov dword [ebp - 0x40], ecx
push 0x16
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x60]
call fcn.004a841a
lea ecx, [ebp - 0x34]
call fcn.0047a970
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa4]
add eax, 0x10
push eax
lea ecx, [ebp - 0x34]
call fcn.0047aa10
push 1
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004a8465
mov dword [ebp - 0x38], 0x5000
mov edx, dword [ebp - 0x38]
push edx
call fcn.004a7fba
add esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x479e7f
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0047ab10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004a8206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004a6f4b
mov eax, dword [ebp - 0x94]
jmp 0x47a111
mov dword [ebp - 0x20], 0
jmp 0x479e91
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x34]
call fcn.00471030
cmp dword [ebp - 0x20], eax
jge 0x479fa4
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x34]
call fcn.0047aa70
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x7c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x78], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x74], edx
mov al, byte [eax + 0x10]
mov byte [ebp - 0x70], al
mov dword [ebp - 0x68], 1
push 0
mov ecx, dword [ebp - 0x77]
push ecx
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x60]
call fcn.004a8494
mov dword [ebp - 0x77], eax
mov ecx, dword [ebp - 0x73]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
jle 0x479f59
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x18]
jge 0x479f14
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.00404ac0
cmp eax, dword [ebp - 0x18]
jne 0x479f45
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x60]
call fcn.00404ae0
mov dword [ebp - 0x68], 0
jmp 0x479f4e
mov dword [ebp - 0x68], 1
jmp 0x479f59
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
jmp 0x479efa
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0047aa70
mov edx, dword [ebp - 0x80]
mov dword [eax], edx
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x78]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0xc], ecx
mov dl, byte [ebp - 0x70]
mov byte [eax + 0x10], dl
cmp dword [ebp - 0x68], 0
je 0x479f9f
push 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.0047aa90
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x479e88
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
call fcn.004a7fe3
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.0040acc0
lea ecx, [ebp - 0x34]
call fcn.00471030
mov word [ebp - 0x3c], ax
mov ecx, dword [ebp - 0x3c]
and ecx, 0xffff
imul ecx, ecx, 0x11
mov dword [ebp - 0x40], ecx
push 0x16
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x60]
call fcn.004a841a
mov dword [ebp - 0x20], 0
jmp 0x479fff
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x34]
call fcn.00471030
cmp dword [ebp - 0x20], eax
jge 0x47a025
push 0x11
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0047aa70
push eax
lea ecx, [ebp - 0x60]
call fcn.004a841a
jmp 0x479ff6
lea ecx, [ebp - 0x60]
call fcn.004a84de
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x47a08e
mov dword [ebp - 4], 2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00430bb0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.004a85ef
jmp 0x47a0d3
mov dword [ebp - 4], 2
mov dword [ebp - 0xa0], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0047ab10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004a8206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004a6f4b
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4