Function at 0x4466f1
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Move file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f9c1
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x4650e0]
xor eax, esp
mov dword [esp + 0x888], eax
push ebx
push esi
push edi
mov eax, dword [0x4650e0]
xor eax, esp
push eax
lea eax, [esp + 0x8a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x20], eax
cmp eax, edi
je 0x446743
mov dword [eax], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0xc
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
push 3
push dword [ebp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp word [esp + 0x2c], di
jne 0x446788
xor eax, eax
inc eax
jmp 0x446d30
push dword [esp + 0x34]
lea eax, [esp + 0x78]
push 0x104
push eax
call fcn.0042d016
add esp, 0xc
lea eax, [esp + 0x74]
cmp dword [ebx + 0x14], edi
je 0x44680c
push 0x45b784
push eax
call fcn.0042dde3
pop ecx
test eax, eax
pop ecx
lea eax, [esp + 0x74]
je 0x4467cb
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4467bf
jmp 0x44682e
push 0x45b790
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
jne 0x446780
push 4
lea eax, [esp + 0x78]
mov edx, str.ubundle.exe
pop esi
mov cx, word [edx]
cmp cx, word [eax]
jne 0x446858
cmp cx, di
je 0x446808
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x446858
add edx, esi
add eax, esi
cmp cx, di
jne 0x4467e8
xor eax, eax
jmp 0x44685d
push str.x86_
push eax
call fcn.0042dde3
pop ecx
test eax, eax
pop ecx
lea eax, [esp + 0x74]
je 0x44684e
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x446824
sub eax, edx
sar eax, 1
lea eax, [eax + eax - 6]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0042d210
add esp, 0xc
jmp 0x4467dc
push str.x64_
jmp 0x4467d0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x4468ad
lea eax, [esp + 0x74]
mov ecx, str.AiBoosterSetup.exe
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x44688e
cmp dx, di
je 0x44688a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x44688e
add ecx, esi
add eax, esi
cmp dx, di
jne 0x44686a
xor eax, eax
jmp 0x446893
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x4468ad
lea eax, [esp + 0x27c]
push eax
call fcn.004471e8
test al, al
jne 0x4468c0
jmp 0x446780
lea eax, [esp + 0x27c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 9
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x1c]
cmp word [esp + 0x2c], di
je 0x446780
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
test al, 0x10
lea eax, [esp + 0x74]
je 0x4469bb
mov ecx, 0x45b7f4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44691b
cmp dx, di
je 0x446917
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44691b
add eax, esi
add ecx, esi
cmp dx, di
jne 0x4468f7
xor eax, eax
jmp 0x446920
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x446780
mov ecx, 0x45b7fc
lea eax, [esp + 0x74]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446955
cmp dx, di
je 0x446951
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446955
add eax, esi
add ecx, esi
cmp dx, di
jne 0x446931
xor eax, eax
jmp 0x44695a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x446780
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x446d2e
lea eax, [esp + 0x74]
push eax
lea esi, [esp + 0x40]
call fcn.0040217f
mov eax, esi
push eax
mov eax, 0x46a7e4
mov dword [esp + 0x8ac], edi
call fcn.004058fb
push edi
push 1
call fcn.0040273f
jmp 0x446d2e
push eax
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x74]
push eax
lea esi, [esp + 0x40]
call fcn.0040217f
mov eax, esi
xor edi, edi
push eax
inc edi
mov eax, 0x46a7e4
mov dword [esp + 0x8ac], edi
call fcn.004058fb
or dword [esp + 0x8a8], 0xffffffff
push 0
push edi
call fcn.0040273f
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x27c]
push eax
call esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x446af2
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x13
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x1c]
lea eax, [esp + 0x27c]
push eax
call fcn.0044d768
pop ecx
cmp eax, dword [esp + 0x34]
jne 0x446a49
mov eax, edi
jmp 0x446d30
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x446af2
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea eax, [esp + 0x280]
push eax
lea eax, [esp + 0x48c]
push 0x45b804
push eax
call ebx
add esp, 0x10
lea eax, [esp + 0x484]
push eax
call esi
test eax, eax
lea eax, [esp + 0x484]
push eax
je 0x446ac3
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x446af2
push edi
lea eax, [esp + 0x280]
push eax
lea eax, [esp + 0x48c]
push str._ws.del_d
push eax
call ebx
add esp, 0x10
inc edi
cmp edi, 0x64
jl 0x446a80
jmp 0x446af2
lea eax, [esp + 0x280]
push eax
call fcn.0042e01b
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setle cl
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x446af2
push 4
push ecx
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
push esi
mov ebx, 0x80
push ebx
push 2
push esi
push 1
push 0xc0000000
lea eax, [esp + 0x294]
push eax
call edi
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x446cdb
cmp dword [esp + 0x18], esi
je 0x446780
lea eax, [esp + 0x484]
push eax
call fcn.004471e8
test al, al
je 0x446780
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x45b82c
lea eax, [esp + 0x488]
push eax
call esi
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x488]
push eax
call esi
lea eax, [esp + 0x484]
push eax
call fcn.00446680
pop ecx
test eax, eax
je 0x446780
push 0x45b834
lea esi, [esp + 0x5c]
call fcn.0040217f
mov eax, esi
push eax
mov eax, 0x46a7e4
mov dword [esp + 0x8ac], 2
call fcn.004058fb
or dword [esp + 0x8a8], 0xffffffff
push 0
push 1
call fcn.0040273f
push 0
push ebx
push 2
push 0
push 1
push 0x40000000
lea eax, [esp + 0x49c]
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x446780
push dword [esp + 0x1c]
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x20
call fcn.0042cb6e
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x446c0c
mov dword [eax + 4], ebx
or dword [eax + 8], 0xffffffff
mov dword [eax], vtable.CExtractOutFile.0
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov esi, eax
jmp 0x446c0e
xor esi, esi
mov dword [esp + 0x14], esi
cmp esi, ebx
je 0x446c1c
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [esp + 0x8a8], 3
cmp esi, ebx
jne 0x446c37
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x446780
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x18], eax
lea eax, [esp + 0x27c]
push eax
lea eax, [esp + 0x690]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x68c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x68c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446c98
push 1
push ebx
lea eax, [esp + 0x694]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
lea eax, [esp + 0x690]
push eax
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push ebx
lea eax, [esp + 0x694]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 0x27c]
push eax
lea eax, [esp + 0x488]
push eax
mov dword [esi + 8], edi
call fcn.00446533
jmp 0x446d28
push 0x20
call fcn.0042cb6e
pop ecx
cmp eax, esi
je 0x446d00
xor ecx, ecx
mov dword [eax + 4], ecx
or dword [eax + 8], 0xffffffff
mov dword [eax], vtable.CExtractOutFile.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov esi, eax
jmp 0x446d02
xor esi, esi
test esi, esi
je 0x446d56
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [esp + 0x8a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x888]
xor ecx, esp
call fcn.0042cac7
mov esp, ebp
pop ebp
ret 0x10
push dword [esp + 0x14]
jmp 0x446c2c