Function at 0x44679c
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 0x44fa61
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 0x4467ee
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 0x446833
xor eax, eax
inc eax
jmp 0x446ddb
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 0x4468b7
push 0x45b7a4
push eax
call fcn.0042dde3
pop ecx
test eax, eax
pop ecx
lea eax, [esp + 0x74]
je 0x446876
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x44686a
jmp 0x4468d9
push 0x45b7b0
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
jne 0x44682b
push 4
lea eax, [esp + 0x78]
mov edx, str.ubundle.exe
pop esi
mov cx, word [edx]
cmp cx, word [eax]
jne 0x446903
cmp cx, di
je 0x4468b3
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x446903
add edx, esi
add eax, esi
cmp cx, di
jne 0x446893
xor eax, eax
jmp 0x446908
push str.x86_
push eax
call fcn.0042dde3
pop ecx
test eax, eax
pop ecx
lea eax, [esp + 0x74]
je 0x4468f9
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4468cf
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 0x446887
push str.x64_
jmp 0x44687b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x446958
lea eax, [esp + 0x74]
mov ecx, str.AiBoosterSetup.exe
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x446939
cmp dx, di
je 0x446935
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x446939
add ecx, esi
add eax, esi
cmp dx, di
jne 0x446915
xor eax, eax
jmp 0x44693e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x446958
lea eax, [esp + 0x27c]
push eax
call fcn.00447294
test al, al
jne 0x44696b
jmp 0x44682b
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 0x44682b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
test al, 0x10
lea eax, [esp + 0x74]
je 0x446a66
mov ecx, 0x45b814
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4469c6
cmp dx, di
je 0x4469c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4469c6
add eax, esi
add ecx, esi
cmp dx, di
jne 0x4469a2
xor eax, eax
jmp 0x4469cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x44682b
mov ecx, 0x45b81c
lea eax, [esp + 0x74]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446a00
cmp dx, di
je 0x4469fc
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446a00
add eax, esi
add ecx, esi
cmp dx, di
jne 0x4469dc
xor eax, eax
jmp 0x446a05
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x44682b
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 0x446dd9
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 0x446dd9
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 0x446b9d
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.0044d811
pop ecx
cmp eax, dword [esp + 0x34]
jne 0x446af4
mov eax, edi
jmp 0x446ddb
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x446b9d
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea eax, [esp + 0x280]
push eax
lea eax, [esp + 0x48c]
push 0x45b824
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 0x446b6e
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x446b9d
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 0x446b2b
jmp 0x446b9d
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 0x446b9d
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 0x446d86
cmp dword [esp + 0x18], esi
je 0x44682b
lea eax, [esp + 0x484]
push eax
call fcn.00447294
test al, al
je 0x44682b
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x45b84c
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.0044672b
pop ecx
test eax, eax
je 0x44682b
push 0x45b854
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 0x44682b
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 0x446cb7
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 0x446cb9
xor esi, esi
mov dword [esp + 0x14], esi
cmp esi, ebx
je 0x446cc7
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [esp + 0x8a8], 3
cmp esi, ebx
jne 0x446ce2
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x44682b
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 0x446d43
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.004465de
jmp 0x446dd3
push 0x20
call fcn.0042cb6e
pop ecx
cmp eax, esi
je 0x446dab
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 0x446dad
xor esi, esi
test esi, esi
je 0x446e01
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 0x446cd7