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

Disassembly:
push 0x10c
mov eax, 0x4a107a
call fcn.00459b85
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x108], esi
mov edi, 0x104
mov dword [ebp - 4], 1
cmp dword [ebp + 0x54], ebx
jne 0x45de7a
push ebx
lea eax, [ebp + 0x40]
mov dword [ebp - 0x10c], ebx
push edi
lea ecx, [ebp + 0x44]
mov dword [ebp - 0x114], eax
call fcn.0041496d
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 2
mov byte [ebp - 0x110], 1
call fcn.004140be
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
call fcn.0041132b
sub esp, 0x30
lea ecx, [ebp + 0x40]
push esp
call fcn.00414217
call fcn.0045eae4
add esp, 0x30
mov dword [ebp - 0x40], 0x4b6748
lea eax, [ebp - 0x101]
mov dword [ebp - 0x18], 0x4b6750
lea ecx, [ebp - 0x40]
push ebx
push eax
call fcn.004060a0
mov edi, ebx
mov byte [ebp - 4], 3
mov bl, byte [ebp + 0xc]
test bl, bl
jne 0x45df48
lea eax, [ebp - 0x70]
push eax
call fcn.0045d7cf
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 4
push 0x4b0098
push eax
call fcn.00415510
push 0x4a8ba8
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 5
push eax
call fcn.0041b88d
add esp, 0x1c
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0x40]
call fcn.0041ba06
add eax, 4
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x3c]
call fcn.00407b80
lea ecx, [ebp - 0xd0]
call fcn.00404cc0
lea ecx, [ebp - 0xa0]
call fcn.00404cc0
lea ecx, [ebp - 0x100]
call fcn.00404cc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00404cc0
jmp 0x45dfbf
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x114], eax
mov eax, 0x104
cmp dword [ebp - 0x2c], eax
jae 0x45df6d
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041496d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
mov byte [ebp - 0x110], 1
call fcn.004140be
cmp dword [ebp + 0x58], 8
lea ecx, [ebp + 0x44]
cmovae ecx, dword [ebp + 0x44]
push dword [eax]
push edi
push 0x4b009c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 3
call fcn.0041132b
test edi, edi
jne 0x45dfbf
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x24], 0
jne 0x45e02c
push 1
lea eax, [ebp - 0x101]
push eax
push 0x4b65d4
lea ecx, [ebp - 0xd0]
call fcn.0041070a
push 1
lea eax, [ebp - 0x101]
mov byte [ebp - 4], 9
push eax
push 0x4b00a4
lea ecx, [ebp - 0xa0]
call fcn.0041070a
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x40]
call fcn.004147bc
lea ecx, [ebp - 0xa0]
call fcn.00404cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
jmp 0x45e05e
sub esp, 0x30
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x108], ecx
push 0
push eax
mov dword [ecx], 0x4b6748
mov dword [ecx + 0x28], 0x4b6750
call fcn.00410617
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045ef03
lea ecx, [ebp - 0x70]
call fcn.00404cc0
test bl, bl
jne 0x45e08f
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414217
add eax, 4
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x3c]
call fcn.00407b80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00404cc0
push 0xc
sub esp, 0x30
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x108], ecx
push 0
push eax
mov dword [ecx], 0x4b6748
mov dword [ecx + 0x28], 0x4b6750
call fcn.00410617
call fcn.0045c4a5
add esp, 0x34
test al, al
je 0x45e0ed
add edi, 1
jns 0x45deb5
push 0
lea eax, [ebp - 0x101]
mov dword [esi], 0x4b6748
push eax
push 0x4b65d4
mov ecx, esi
mov dword [esi + 0x28], 0x4b6750
call fcn.0041070a
jmp 0x45e136
test bl, bl
jne 0x45e11c
sub esp, 0x30
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x108], ecx
push 0
push eax
mov dword [ecx], 0x4b6748
mov dword [ecx + 0x28], 0x4b6750
call fcn.00410617
call fcn.0045eae4
add esp, 0x30
push 0
lea eax, [ebp - 0x40]
mov dword [esi], 0x4b6748
push eax
mov ecx, esi
mov dword [esi + 0x28], 0x4b6750
call fcn.00410617
lea ecx, [ebp - 0x40]
call fcn.00404cc0
lea ecx, [ebp + 0x10]
call fcn.00404cc0
lea ecx, [ebp + 0x40]
call fcn.00404cc0
mov eax, esi
call fcn.00459b34
ret