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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cdcb
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x5b03ec]
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.00521d00
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.0043cca0
push 0x20a
lea eax, [ebp - 0x840]
push 0
push eax
call fcn.00521d00
lea eax, [ebp - 0x428]
push eax
push 0x590a24
lea eax, [ebp - 0x840]
push 0x104
push eax
call fcn.0043c730
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.00521d00
mov eax, dword [0x5bab68]
add esp, 0xc
test al, 1
jne 0x43c89a
or eax, 1
mov dword [0x5bab78], 0
mov dword [0x5bab68], 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.004627c5
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 0x43db70
push 0x5bab78
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x43cc6b
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 4
push eax
call fcn.004627ff
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push 0x5b9c38
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 0x43c945
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebx + 4]
call fcn.0043cca0
push 0x20a
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.00521d00
mov eax, dword [0x5bab6c]
add esp, 0xc
test al, 1
jne 0x43c976
or eax, 1
mov dword [0x5bab64], 0
mov dword [0x5bab6c], 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.004627c5
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 0x43dc20
push 0x5bab64
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x43cc52
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 9
push eax
call fcn.004627ff
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x428]
push 0x5b9c60
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 0x43cac9
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 0x43ca40
sub ecx, edx
lea eax, [ebp - 0x634]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa78]
call fcn.00429120
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.00451470
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa60]
mov ecx, dword [ebp - 0xa5c]
cmp eax, ecx
je 0x43cab3
push dword [ebp - 0xa84]
push ecx
push eax
push dword [ebx + 8]
lea ecx, [ebx + 4]
call fcn.0043dce0
lea ecx, [ebp - 0xa60]
call fcn.00428970
lea ecx, [ebp - 0xa78]
call fcn.00428da0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00521d00
mov eax, dword [0x5bab74]
add esp, 0xc
test al, 1
jne 0x43cafa
or eax, 1
mov dword [0x5bab70], 0
mov dword [0x5bab74], 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.004627c5
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 0x43e0f0
push 0x5bab70
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x43cc35
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0x10
push eax
call fcn.004627ff
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push 0x5b9c4c
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.0043cca0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00521d00
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.0043cca0
xorps xmm0, xmm0
mov dword [ebp - 0xa58], 0
lea ecx, [ebp - 0xa60]
movq qword [ebp - 0xa60], xmm0
call fcn.004517f0
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.0043dce0
lea ecx, [ebp - 0xa60]
call fcn.00428970
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.004e4cdc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0x11
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 0xf
test al, al
je 0x43cc9a
jmp 0x43cc84
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 0xa
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 8
jmp 0x43cc4c
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 5
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 3
jmp 0x43cc4c
sub esp, 8
lea eax, [ebp - 0xa54]
mov ecx, esp
push eax
call fcn.00411b40
call fcn.00411c00
call fcn.00462ac6
int3