Function at 0x413f7b
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x40c]
sub esp, 0x484
mov eax, dword [0xaff3f4]
xor eax, ebp
mov dword [ebp + 0x408], eax
push esi
push edi
mov dword [ebp - 0x74], ecx
mov byte [ebp + 0x1f8], 0
push 0x103
push 0
lea eax, [ebp + 0x1f9]
push eax
call fcn.006512c0
add esp, 0xc
mov byte [ebp + 0xf4], 0
push 0x103
push 0
lea eax, [ebp + 0xf5]
push eax
call fcn.006512c0
add esp, 0xc
lea eax, [ebp + 0xf4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea eax, [ebp + 0xf4]
push eax
push 0x104
lea eax, [ebp + 0x1f8]
push eax
call fcn.00657d28
add esp, 0x10
push 0xffffffffffffffff
push dword [ebp + 0x418]
push 0x104
lea eax, [ebp + 0x1f8]
push eax
call fcn.00657f0a
add esp, 0x10
mov byte [ebp + 0x2fc], 0
push 0x103
push 0
lea eax, [ebp + 0x2fd]
push eax
call fcn.006512c0
add esp, 0xc
lea eax, [ebp + 0x1f8]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x2fc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x54]
mov al, byte [eax]
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x39]
mov byte [eax], cl
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp byte [ebp - 0x39], 0
jne 0x414055
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax + 0x400], 0x7a
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax + 0x400], 0x2e
xor eax, eax
inc eax
shl eax, 2
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 5
jae 0x4140a6
jmp 0x4140ab
call fcn.0064e577
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax + 0x400], 0
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax + 0x400], 0x70
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax + 0x400], 0x69
lea eax, [ebp + 0x400]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov byte [ebp - 0x3a], al
inc dword [ebp - 0x44]
cmp byte [ebp - 0x3a], 0
jne 0x4140e0
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x2fc]
dec eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov al, byte [eax + 1]
mov byte [ebp - 0x3b], al
inc dword [ebp - 0x50]
cmp byte [ebp - 0x3b], 0
jne 0x41410a
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp + 0x2fc]
push eax
call fcn.0041f649
add esp, 0x1c
mov dword [ebp - 0x60], eax
and dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x420]
push dword [ebp + 0x41c]
push dword [ebp - 0x60]
call fcn.0042132f
add esp, 0x14
push dword [ebp - 0x60]
call fcn.0040a2a2
pop ecx
push 0
lea eax, [ebp + 0x2fc]
push eax
call fcn.0042208e
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x414207
push dword [ebp + 0x414]
push dword [ebp - 0x40]
call fcn.0040c338
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x40]
call fcn.00422010
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x70], eax
and dword [ebp - 0x48], 0
jmp 0x4141ce
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x70]
jge 0x4141fe
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x40]
call fcn.00422010
add esp, 0xc
push dword [ebp + 0x418]
push dword [ebp - 0x48]
push dword [ebp - 0x40]
call fcn.00422247
add esp, 0xc
jmp 0x4141c7
push dword [ebp - 0x40]
call fcn.0042140f
pop ecx
lea eax, [ebp + 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov ecx, dword [ebp + 0x408]
xor ecx, ebp
call fcn.0064e653
add ebp, 0x40c
mov esp, ebp
pop ebp
ret 0x10