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

Disassembly:
push 0x124
mov eax, 0x4ac248
call fcn.00467509
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov esi, 0x104
cmp dword [ebp + 0x5c], edi
jne 0x450ed4
push esi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 0x44]
call fcn.0040ac18
mov ecx, dword [eax]
mov byte [ebp - 4], 2
mov byte [eax + 4], bl
call fcn.00407812
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0040a4ef
sub esp, 0x34
mov eax, esp
mov dword [ebp - 0x4c], esp
push eax
lea ecx, [ebp + 0x44]
call fcn.00409670
call fcn.0044e27f
add esp, 0x34
push ebx
lea eax, [ebp - 0x45]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401f10
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 3
mov edi, 0x4c1ca0
cmp byte [ebp + 0xc], 0
jne 0x450f9e
lea eax, [ebp - 0x94]
push eax
call fcn.00450cf8
push eax
lea eax, [ebp - 0x130]
push 0x4b7f68
push eax
mov byte [ebp - 4], 4
call fcn.0040f82a
push 0x4b1bdc
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 5
call fcn.00415c88
add esp, 0x1c
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp + 0x44]
mov byte [ebp - 4], 6
call fcn.00415e9c
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00408f7f
lea ecx, [ebp - 0xc8]
call fcn.00401680
lea ecx, [ebp - 0xfc]
call fcn.00401680
lea ecx, [ebp - 0x130]
call fcn.00401680
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00401680
jmp 0x450ffc
push esi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ac18
mov ecx, dword [eax]
mov byte [ebp - 4], 8
mov byte [eax + 4], bl
call fcn.00407812
cmp dword [ebp + 0x60], 8
mov eax, dword [eax]
mov ecx, dword [ebp + 0x4c]
jae 0x450fc7
lea ecx, [ebp + 0x4c]
push eax
push dword [ebp - 0x4c]
push 0x4b7f60
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0040a4ef
cmp dword [ebp - 0x4c], 0
jne 0x450ffc
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x450ff5
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x28], 0
jne 0x45105d
push ebx
lea eax, [ebp - 0x45]
push eax
push edi
lea ecx, [ebp - 0xc8]
call fcn.00408f08
push ebx
lea eax, [ebp - 0x45]
push eax
push str..tmp
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 9
call fcn.00408f08
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.0040890a
lea ecx, [ebp - 0xfc]
call fcn.00401680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
jmp 0x451084
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x54], esp
push ebx
lea eax, [ebp + 0x10]
push eax
call fcn.00408fa4
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x44]
call fcn.0044d3ee
lea ecx, [ebp - 0x94]
call fcn.00401680
cmp byte [ebp + 0xc], 0
jne 0x4510ba
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x44]
call fcn.00409670
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00408f7f
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00401680
push 0xc
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x54], esp
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.00408fa4
call fcn.0044f09b
add esp, 0x38
test al, al
je 0x451112
inc dword [ebp - 0x4c]
jns 0x450f06
mov ecx, dword [ebp - 0x50]
push ebx
lea eax, [ebp - 0x45]
push eax
push edi
call fcn.00409071
lea ecx, [ebp - 0x44]
call fcn.00401680
lea ecx, [ebp + 0x10]
call fcn.00401680
lea ecx, [ebp + 0x44]
call fcn.00401680
mov eax, dword [ebp - 0x50]
call fcn.0046758c
ret
cmp byte [ebp + 0xc], 0
jne 0x451132
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x54], esp
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.00408fa4
call fcn.0044e27f
add esp, 0x34
mov ecx, dword [ebp - 0x50]
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.00408fa4
jmp 0x4510f1