Function at 0x45d350
Capabilities:
Check if file exists
Delete file
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f6962
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x541770]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x334]
mov dword fs:[0], eax
mov eax, dword [esp + 0x344]
mov ebx, edx
lea edx, [esp + 0xd0]
xor edi, edi
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
call fcn.0045d030
add esp, 4
mov dword [esp + 0x33c], 1
lea esi, [esp + 0xb4]
lea ecx, [esp + 0xd0]
call fcn.0045ddf0
mov byte [esp + 0x33c], 2
mov ebp, 8
cmp dword [ebx + 0x18], ebp
jb 0x45d3eb
mov ebx, dword [ebx + 4]
jmp 0x45d3ee
add ebx, 4
cmp dword [eax + 0x18], ebp
jb 0x45d3f8
mov eax, dword [eax + 4]
jmp 0x45d3fb
add eax, 4
lea ecx, [esp + 0x124]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [esp + 0x33c], 1
cmp dword [esp + 0xcc], ebp
jb 0x45d42d
mov edx, dword [esp + 0xb8]
push edx
call fcn.004c6252
add esp, 4
lea ecx, [esp + 0x124]
xor eax, eax
mov ebx, 7
push ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], ax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x124]
xor edx, edx
push eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], edi
mov word [esp + 0x84], dx
call fcn.004c6f29
add esp, 4
push eax
lea ecx, [esp + 0x128]
push ecx
lea ecx, [esp + 0x84]
call fcn.0040518b
mov byte [esp + 0x33c], 3
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x80]
call fcn.0045df60
mov byte [esp + 0x33c], 6
cmp dword [esp + 0x94], ebp
jb 0x45d4d2
mov eax, dword [esp + 0x80]
push eax
call fcn.004c6252
add esp, 4
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], edi
mov word [esp + 0x80], cx
cmp dword [eax + 0x14], edi
jne 0x45d591
mov esi, dword [esp + 0x24]
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xa0]
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00401665
mov byte [esp + 0x33c], 6
mov dword [esp + 0x20], 1
mov byte [esp + 0x33c], 1
cmp dword [esp + 0xb0], ebp
jb 0x45d54a
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], dx
mov dword [esp + 0x33c], edi
cmp dword [esp + 0xe8], ebp
jb 0x45d582
mov eax, dword [esp + 0xd4]
push eax
call fcn.004c6252
add esp, 4
xor ecx, ecx
mov word [esp + 0xd4], cx
jmp 0x45d978
push eax
lea esi, [esp + 0x9c]
call fcn.0045cb30
lea esi, [esp + 0xb4]
lea ecx, [esp + 0x98]
call fcn.0045ddf0
mov byte [esp + 0x33c], 0xd
cmp dword [eax + 0x18], ebp
jb 0x45d5c3
mov eax, dword [eax + 4]
jmp 0x45d5c6
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [esp + 0x33c], 6
cmp dword [esp + 0xcc], ebp
jb 0x45d5f0
mov edx, dword [esp + 0xb8]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], edi
mov word [esp + 0xb8], ax
cmp esi, edi
je 0x45d8e3
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x98]
call fcn.0045caa0
mov byte [esp + 0x33c], 0xe
mov edx, dword [esp + 0x18]
push 3
push edi
lea ecx, [esp + 0xf4]
push ecx
push edx
call fcn.00412f5c
mov byte [esp + 0x33c], 0xf
mov eax, dword [esp + 0x100]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0xc0]
push edx
call fcn.00412f5c
mov byte [esp + 0x33c], 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10c]
push ecx
call fcn.00456a50
add esp, 8
jmp 0x45d690
xor edx, edx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], edi
mov word [esp + 0x80], dx
mov byte [esp + 0x33c], 0x11
mov eax, dword [esp + 0x18]
inc eax
push eax
lea esi, [esp + 0x80]
mov dword [esp + 0x1c], eax
call fcn.00456910
add esp, 4
mov eax, esi
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0040e9bb
add esp, 0xc
mov byte [esp + 0x33c], 0x12
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
lea edx, [esp + 0xd4]
call fcn.0045e170
mov byte [esp + 0x33c], 0x13
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xa4]
call fcn.00401665
mov byte [esp + 0x33c], 0x12
cmp dword [esp + 0x40], ebp
jb 0x45d72f
mov edx, dword [esp + 0x2c]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], ax
mov byte [esp + 0x33c], 0x11
cmp dword [esp + 0x78], ebp
jb 0x45d759
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004c6252
add esp, 4
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov word [esp + 0x64], dx
cmp dword [eax + 0x14], edi
je 0x45d79f
push 0x508a38
call fcn.004c6f29
add esp, 4
push eax
mov eax, 0x508a38
lea esi, [esp + 0x9c]
call fcn.0040e569
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push edi
push ecx
mov ecx, esi
call fcn.0040b252
mov byte [esp + 0x33c], 0x10
cmp dword [esp + 0x94], ebp
jb 0x45d7c0
mov edx, dword [esp + 0x80]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
lea esi, [esp + 0x44]
lea ecx, [esp + 0x98]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], edi
mov word [esp + 0x80], ax
call fcn.0045ddf0
mov byte [esp + 0x33c], 0x16
cmp dword [eax + 0x18], ebp
jb 0x45d7fa
mov eax, dword [eax + 4]
jmp 0x45d7fd
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [esp + 0x33c], 0x10
cmp dword [esp + 0x5c], ebp
jb 0x45d821
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], dx
cmp esi, edi
jne 0x45d690
mov byte [esp + 0x33c], 0xf
cmp dword [esp + 0x120], ebp
jb 0x45d859
mov eax, dword [esp + 0x10c]
push eax
call fcn.004c6252
add esp, 4
xor ecx, ecx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], edi
mov word [esp + 0x10c], cx
mov byte [esp + 0x33c], 0xe
cmp dword [esp + 0x104], ebp
jb 0x45d892
mov edx, dword [esp + 0xf0]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], edi
mov word [esp + 0xf0], ax
mov byte [esp + 0x33c], 6
cmp dword [esp + 0xcc], ebp
jb 0x45d8cb
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], edi
mov word [esp + 0xb8], dx
mov esi, dword [esp + 0x24]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xa0]
xor eax, eax
push ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov ecx, esi
mov word [esi + 4], ax
call fcn.00401665
mov byte [esp + 0x33c], 6
mov dword [esp + 0x20], 1
mov byte [esp + 0x33c], 1
cmp dword [esp + 0xb0], ebp
jb 0x45d936
mov edx, dword [esp + 0x9c]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], ax
mov dword [esp + 0x33c], edi
cmp dword [esp + 0xe8], ebp
jb 0x45d96e
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov word [esp + 0xd4], dx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], edi
mov eax, esi
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.004c625d
add esp, 0x32c
ret