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

Disassembly:
push 0xffffffffffffffff
push 0x4e1ea4
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x52472c]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
mov eax, dword [esp + 0x324]
mov ebp, dword [esp + 0x320]
mov ebx, ecx
lea ecx, [esp + 0x94]
xor edi, edi
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
call fcn.0045aef0
add esp, 4
mov dword [esp + 0x318], 1
mov esi, 8
cmp dword [ebp + 0x18], esi
jb 0x45b247
mov ebp, dword [ebp + 4]
jmp 0x45b24a
add ebp, 4
mov eax, dword [esp + 0x98]
cmp dword [esp + 0xac], esi
jae 0x45b261
lea eax, [esp + 0x98]
lea edx, [esp + 0x104]
push edx
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x104]
xor ecx, ecx
mov ebp, 7
push edx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], edi
mov word [esp + 0x80], cx
call fcn.004b3950
add esp, 4
push eax
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x80]
call fcn.004042b1
mov byte [esp + 0x318], 2
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0045a890
mov byte [esp + 0x318], 4
cmp dword [esp + 0x90], esi
jb 0x45b2f6
mov edx, dword [esp + 0x7c]
push edx
call fcn.004b1fa3
add esp, 4
xor eax, eax
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edi
cmp dword [eax + 0x14], edi
jne 0x45b39c
push 0xffffffffffffffff
xor ecx, ecx
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
lea edx, [esp + 0x64]
mov word [ebx + 4], cx
push edx
mov ecx, ebx
call fcn.00403fe5
mov byte [esp + 0x318], 4
mov dword [esp + 0x1c], 1
mov byte [esp + 0x318], 1
cmp dword [esp + 0x74], esi
jb 0x45b35e
mov eax, dword [esp + 0x60]
push eax
call fcn.004b1fa3
add esp, 4
xor ecx, ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
mov word [esp + 0x60], cx
mov dword [esp + 0x318], edi
cmp dword [esp + 0xac], esi
jb 0x45b38d
mov edx, dword [esp + 0x98]
push edx
call fcn.004b1fa3
add esp, 4
xor eax, eax
mov word [esp + 0x98], ax
jmp 0x45b6d1
push eax
lea esi, [esp + 0x60]
call fcn.0045a9a0
mov eax, dword [esp + 0x60]
mov esi, 8
cmp dword [esp + 0x74], esi
jae 0x45b3b9
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b652
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x5c]
call fcn.0045a910
mov byte [esp + 0x318], 0xb
mov edx, dword [esp + 0x14]
push 3
push edi
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.0040d97f
mov byte [esp + 0x318], 0xc
mov eax, dword [esp + 0xc4]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.0040d97f
mov byte [esp + 0x318], 0xd
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xec]
push ecx
call fcn.00451ee0
mov ebx, dword [esp + 0x1c]
add esp, 8
lea ecx, [ecx]
xor edx, edx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], dx
mov byte [esp + 0x318], 0xe
inc ebx
push ebx
lea esi, [esp + 0x7c]
call fcn.00451bc0
add esp, 4
mov eax, esi
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00409330
add esp, 0xc
mov byte [esp + 0x318], 0xf
mov ecx, eax
lea esi, [esp + 0x94]
call fcn.0045bda0
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0045a820
mov byte [esp + 0x318], 0x10
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x68]
call fcn.00403fe5
mov byte [esp + 0x318], 0xf
mov esi, 8
cmp dword [esp + 0x3c], esi
jb 0x45b4de
mov eax, dword [esp + 0x28]
push eax
call fcn.004b1fa3
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
mov byte [esp + 0x318], 0xe
cmp dword [esp + 0x58], esi
jb 0x45b508
mov edx, dword [esp + 0x44]
push edx
call fcn.004b1fa3
add esp, 4
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], edi
mov word [esp + 0x44], ax
cmp dword [ecx + 0x14], edi
je 0x45b550
push 0x4f0328
call fcn.004b3950
add esp, 4
push eax
mov eax, 0x4f0328
lea esi, [esp + 0x60]
call fcn.00408ea1
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push edi
push edx
mov ecx, esi
call fcn.00409ec6
mov esi, 8
mov byte [esp + 0x318], 0xd
cmp dword [esp + 0x90], esi
jb 0x45b56e
mov eax, dword [esp + 0x7c]
push eax
call fcn.004b1fa3
add esp, 4
mov eax, dword [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], cx
cmp dword [esp + 0x74], esi
jae 0x45b591
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b440
mov byte [esp + 0x318], 0xc
cmp dword [esp + 0x100], esi
jb 0x45b5c1
mov edx, dword [esp + 0xec]
push edx
call fcn.004b1fa3
add esp, 4
xor eax, eax
mov dword [esp + 0x100], ebp
mov dword [esp + 0xfc], edi
mov word [esp + 0xec], ax
mov byte [esp + 0x318], 0xb
cmp dword [esp + 0xc8], esi
jb 0x45b5fa
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004b1fa3
add esp, 4
xor edx, edx
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], edi
mov word [esp + 0xb4], dx
mov byte [esp + 0x318], 4
cmp dword [esp + 0xe4], esi
jb 0x45b633
mov eax, dword [esp + 0xd0]
push eax
call fcn.004b1fa3
add esp, 4
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], edi
mov word [esp + 0xd0], cx
lea esi, [ecx + 8]
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
xor edx, edx
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push eax
mov ecx, ebx
mov word [ebx + 4], dx
call fcn.00403fe5
mov byte [esp + 0x318], 4
mov dword [esp + 0x1c], 1
mov byte [esp + 0x318], 1
cmp dword [esp + 0x74], esi
jb 0x45b698
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004b1fa3
add esp, 4
xor edx, edx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
mov word [esp + 0x60], dx
mov dword [esp + 0x318], edi
cmp dword [esp + 0xac], esi
jb 0x45b6c7
mov eax, dword [esp + 0x98]
push eax
call fcn.004b1fa3
add esp, 4
xor ecx, ecx
mov word [esp + 0x98], cx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], edi
mov eax, ebx
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.004b1fae
add esp, 0x308
ret