Function at 0x43ec50
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561e4b
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x5b53ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xa80], ebx
mov dword [ebp - 0xa84], ebx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CCommonDriveJunkScanner.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x20a
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00526d00
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebx + 4]
call fcn.0043f160
push 0x20a
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.00526d00
lea eax, [ebp - 0x428]
push eax
push 0x595968
lea eax, [ebp - 0x840]
push 0x104
push eax
call fcn.0043ebf0
add esp, 0x1c
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x20a
lea eax, [ebp - 0xa4c]
push 0
push eax
call fcn.00526d00
mov eax, dword [0x5bfddc]
add esp, 0xc
test al, 1
jne 0x43ed5a
or eax, 1
mov dword [0x5bfdec], 0
mov dword [0x5bfddc], eax
xorps xmm0, xmm0
mov byte [ebp - 0xa79], 0
movlpd qword [ebp - 0xa54], xmm0
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 2
push eax
call fcn.00467725
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa79]
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0xa5c]
push eax
push 0x43fc50
push 0x5bfdec
call fcn.00467a0e
add esp, 0x10
test eax, eax
je 0x43f12b
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 4
push eax
call fcn.0046775f
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push 0x5becc0
push eax
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ee05
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebx + 4]
call fcn.0043f160
push 0x20a
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.00526d00
mov eax, dword [0x5bfdd8]
add esp, 0xc
test al, 1
jne 0x43ee36
or eax, 1
mov dword [0x5bfde8], 0
mov dword [0x5bfdd8], eax
xorps xmm0, xmm0
mov byte [ebp - 0xa79], 0
movlpd qword [ebp - 0xa54], xmm0
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 7
push eax
call fcn.00467725
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa79]
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0xa5c]
push eax
push 0x43fd00
push 0x5bfde8
call fcn.00467a0e
add esp, 0x10
test eax, eax
je 0x43f112
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 9
push eax
call fcn.0046775f
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x428]
push 0x5bec90
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ef89
xor eax, eax
mov dword [ebp - 0xa68], 0
lea ecx, [ebp - 0x634]
mov dword [ebp - 0xa64], 7
mov word [ebp - 0xa78], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ef00
sub ecx, edx
lea eax, [ebp - 0x634]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa78]
call fcn.0042a390
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xa78]
xorps xmm0, xmm0
mov dword [ebp - 0xa58], 0
lea ecx, [ebp - 0xa60]
movq qword [ebp - 0xa60], xmm0
call fcn.00454ea0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa60]
mov ecx, dword [ebp - 0xa5c]
cmp eax, ecx
je 0x43ef73
push dword [ebp - 0xa84]
push ecx
push eax
push dword [ebx + 8]
lea ecx, [ebx + 4]
call fcn.0043fdc0
lea ecx, [ebp - 0xa60]
call fcn.00429c40
lea ecx, [ebp - 0xa78]
call fcn.00414120
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00526d00
mov eax, dword [0x5bfde4]
add esp, 0xc
test al, 1
jne 0x43efba
or eax, 1
mov dword [0x5bfde0], 0
mov dword [0x5bfde4], eax
xorps xmm0, xmm0
mov byte [ebp - 0xa79], 0
movlpd qword [ebp - 0xa54], xmm0
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0xe
push eax
call fcn.00467725
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa5c], eax
lea eax, [ebp - 0xa79]
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0xa5c]
push eax
push 0x440190
push 0x5bfde0
call fcn.00467a0e
add esp, 0x10
test eax, eax
je 0x43f0f5
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0x10
push eax
call fcn.0046775f
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push 0x5becac
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 4]
call fcn.0043f160
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00526d00
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 4]
call fcn.0043f160
xorps xmm0, xmm0
mov dword [ebp - 0xa58], 0
lea ecx, [ebp - 0xa60]
movq qword [ebp - 0xa60], xmm0
call fcn.00455220
mov byte [ebp - 4], 0x13
lea ecx, [ebx + 4]
push dword [ebp - 0xa84]
push dword [ebp - 0xa5c]
push dword [ebp - 0xa60]
push dword [ebx + 8]
call fcn.0043fdc0
lea ecx, [ebp - 0xa60]
call fcn.00429c40
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e9cdc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0x11
push eax
call fcn.00467780
add esp, 4
mov byte [ebp - 4], 0xf
test al, al
je 0x43f15a
jmp 0x43f144
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0xa
push eax
call fcn.00467780
add esp, 4
mov byte [ebp - 4], 8
jmp 0x43f10c
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 5
push eax
call fcn.00467780
add esp, 4
mov byte [ebp - 4], 3
jmp 0x43f10c
sub esp, 8
lea eax, [ebp - 0xa54]
mov ecx, esp
push eax
call fcn.00412350
call fcn.00412410
call fcn.00467a26
int3